{
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "dateAdded": {
            "type": "string"
        },
        "type": {
            "type": "string"
        },
        "locationId": {
            "type": "string"
        },
        "firstName": {
            "type": "string"
        },
        "firstNameLowerCase": {
            "type": "string"
        },
        "fullNameLowerCase": {
            "type": "string"
        },
        "lastName": {
            "type": "string"
        },
        "lastNameLowerCase": {
            "type": "string"
        },
        "country": {
            "type": "string"
        },
        "attributionSource": {
            "type": "object",
            "properties": {
                "sessionSource": {
                    "type": "string"
                },
                "medium": {
                    "type": "string"
                }
            },
            "required": [
                "sessionSource",
                "medium"
            ]
        },
        "createdBy": {
            "type": "object",
            "properties": {
                "source": {
                    "type": "string"
                },
                "channel": {
                    "type": "string"
                },
                "sourceId": {
                    "type": "string"
                },
                "timestamp": {
                    "type": "string"
                }
            },
            "required": [
                "source",
                "channel",
                "sourceId",
                "timestamp"
            ]
        },
        "emailLowerCase": {
            "type": "string"
        },
        "email": {
            "type": "string"
        },
        "phone": {
            "type": "string"
        },
        "additionalPhones": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "phone": {
                        "type": "string"
                    },
                    "phoneLabel": {
                        "type": "string"
                    }
                },
                "required": [
                    "phone",
                    "phoneLabel"
                ]
            }
        },
        "tags": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "dateUpdated": {
            "type": "string"
        },
        "customFields": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    }
                },
                "required": [
                    "id",
                    "value"
                ]
            }
        }
    },
    "version": 1
}
