{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://recruitly.dev/backup-schema/v1/system_users.schema.json",
  "title": "System users",
  "description": "The people in your Recruitly account. Passwords, sign-in codes and calendar connections are never included.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "firstName": {
      "type": [
        "string",
        "null"
      ]
    },
    "surname": {
      "type": [
        "string",
        "null"
      ]
    },
    "nickname": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "mobile": {
      "type": [
        "string",
        "null"
      ]
    },
    "workPhone": {
      "type": [
        "string",
        "null"
      ]
    },
    "headline": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "type": [
        "string",
        "null"
      ]
    },
    "office": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "team": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "disabled": {
      "type": "boolean"
    },
    "disabledOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "bot": {
      "type": "boolean"
    },
    "aiAgent": {
      "type": "boolean"
    },
    "createdOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "modifiedOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "tenantId",
    "firstName",
    "surname",
    "nickname",
    "email",
    "mobile",
    "workPhone",
    "headline",
    "role",
    "office",
    "team",
    "disabled",
    "disabledOn",
    "bot",
    "aiAgent",
    "createdOn",
    "modifiedOn"
  ],
  "additionalProperties": false
}
