Raw schema
{
"type": "object",
"properties": {
"contact_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Contact id."
},
"first_name": {
"description": "First name.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"last_name": {
"description": "Last name.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"email": {
"description": "Primary email address.",
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"mobile_number": {
"description": "Mobile number.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"work_number": {
"description": "Work phone number.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"job_title": {
"description": "Job title.",
"type": "string",
"minLength": 1,
"maxLength": 150
},
"owner_id": {
"description": "Owner user id (freshsales_list_owners).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"lead_source_id": {
"description": "Lead source id (freshsales_list_options lead_sources).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"contact_status_id": {
"description": "Contact status id (freshsales_list_options contact_statuses).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"lifecycle_stage_id": {
"description": "Lifecycle stage id (freshsales_list_options lifecycle_stages).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"address": {
"description": "Street address.",
"type": "string",
"minLength": 1,
"maxLength": 300
},
"city": {
"description": "City.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"state": {
"description": "State or region.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"zipcode": {
"description": "Postal code.",
"type": "string",
"minLength": 1,
"maxLength": 30
},
"country": {
"description": "Country.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"sales_accounts": {
"description": "Companies the contact belongs to: [{id, is_primary}], at most 10, exactly one primary.",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"is_primary": {
"type": "boolean"
}
},
"required": [
"id",
"is_primary"
]
}
},
"custom_field": {
"description": "Custom field values keyed by field name, e.g. {\"cf_is_active\": true}. Field names start with cf_.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}