{
    "type": "object",
    "properties": {
        "tag_ids": {
            "type": "array",
            "items": {
                "type": "integer"
            }
        },
        "id": {
            "type": "integer"
        },
        "email_opted_in": {
            "type": "boolean"
        },
        "email_status": {
            "type": "string"
        },
        "date_created": {
            "type": "string"
        },
        "last_updated": {
            "type": "string"
        },
        "ScoreValue": {
            "type": "string"
        },
        "last_updated_utc_millis": {
            "type": "integer"
        },
        "email_addresses": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "email": {
                        "type": "string"
                    },
                    "field": {
                        "type": "string"
                    }
                },
                "required": [
                    "email",
                    "field"
                ]
            }
        },
        "addresses": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "line1": {
                        "type": "string"
                    },
                    "locality": {
                        "type": "string"
                    },
                    "field": {
                        "type": "string"
                    },
                    "postal_code": {
                        "type": "string"
                    }
                },
                "required": [
                    "line1",
                    "line2",
                    "locality",
                    "region",
                    "field",
                    "postal_code",
                    "zip_code",
                    "zip_four",
                    "country_code"
                ]
            }
        },
        "phone_numbers": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "number": {
                        "type": "string"
                    },
                    "field": {
                        "type": "string"
                    }
                },
                "required": [
                    "number",
                    "extension",
                    "field",
                    "type"
                ]
            }
        },
        "given_name": {
            "type": "string"
        },
        "family_name": {
            "type": "string"
        },
        "custom_fields": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    }
                },
                "required": [
                    "id",
                    "content"
                ]
            }
        },
        "contact_type": {
            "type": "string"
        }
    },
    "required": [
        "tag_ids",
        "id",
        "company",
        "email_opted_in",
        "email_status",
        "date_created",
        "last_updated",
        "ScoreValue",
        "last_updated_utc_millis",
        "email_addresses",
        "addresses",
        "phone_numbers",
        "given_name",
        "family_name",
        "middle_name",
        "owner_id"
    ],
    "version": 1
}
