Affinity · Schema

PersonData

CRMRelationship IntelligencePrivate EquityVenture CapitalContactsOrganizationsOpportunitiesDeal Management

Properties

Name Type Description
id integer The persons's unique identifier
firstName string The person's first name
lastName string The person's last name
primaryEmailAddress string The person's primary email address
type string The person's type
View JSON Schema on GitHub

JSON Schema

affinity-persondata-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PersonData",
  "type": "object",
  "properties": {
    "id": {
      "description": "The persons's unique identifier",
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "maximum": 9007199254740991,
      "examples": [
        1
      ]
    },
    "firstName": {
      "description": "The person's first name",
      "type": "string",
      "examples": [
        "Jane"
      ],
      "nullable": true
    },
    "lastName": {
      "description": "The person's last name",
      "type": "string",
      "examples": [
        "Doe"
      ],
      "nullable": true
    },
    "primaryEmailAddress": {
      "description": "The person's primary email address",
      "type": "string",
      "format": "email",
      "examples": [
        "[email protected]"
      ],
      "nullable": true
    },
    "type": {
      "description": "The person's type",
      "type": "string",
      "enum": [
        "internal",
        "external",
        "collaborator"
      ],
      "examples": [
        "internal"
      ]
    }
  },
  "required": [
    "firstName",
    "id",
    "lastName",
    "primaryEmailAddress",
    "type"
  ],
  "additionalProperties": false
}