{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "imports-v2/users.json",
  "title": "Users",
  "description": "A person that other records refer to: authors, owners, members, assignees and people with access. Inside the package a user is identified by `external_id`; in the target company the person is matched by email. A person who is not in the company yet is added to it without an invitation email, and a new account stays not activated until the person signs in. Write each person once and use a real, unique email.",
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": "Your own identifier of the record, for example `k-mrr`, unique within the resource across all of its files and case sensitive. Other records refer to this one by it."
    },
    "email": {
      "type": "string",
      "minLength": 3,
      "maxLength": 128,
      "format": "email",
      "description": "The person's email address, for example `ava.reyes@example.com`. It is converted to lower case and is how the person is matched in the target company."
    },
    "full_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The person's full name, for example `Ava Reyes`."
    }
  },
  "required": [
    "external_id",
    "email"
  ],
  "additionalProperties": false
}
