Raw schema
{
"type": "object",
"properties": {
"first_name": {
"type": "string",
"minLength": 1,
"description": "First name."
},
"last_name": {
"type": "string",
"minLength": 1,
"description": "Last name."
},
"external_constituent_id": {
"description": "External constituent ID (your own system's id).",
"type": "string"
},
"is_org": {
"description": "True if this constituent is an organization or company.",
"type": "boolean"
},
"constituent_contact_type_name": {
"description": "Constituent contact type name, e.g. 'Primary'.",
"type": "string"
},
"prefix": {
"description": "Prefix, e.g. 'Dr.'.",
"type": "string"
},
"middle_name": {
"type": "string"
},
"suffix": {
"type": "string"
},
"spouse_name": {
"description": "Spouse/partner name.",
"type": "string"
},
"org_name": {
"description": "Organization name.",
"type": "string"
},
"job_title": {
"type": "string"
},
"addressee": {
"description": "Addressee/label name.",
"type": "string"
},
"salutation": {
"type": "string"
},
"annual_report_name": {
"type": "string"
},
"birthday": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Birthday (YYYY-MM-DD)."
},
"gender": {
"type": "string"
},
"maiden_name": {
"type": "string"
},
"nick_name": {
"type": "string"
},
"is_deceased": {
"type": "boolean"
},
"deceased_date": {
"description": "Deceased date.",
"type": "string"
},
"is_anon": {
"description": "Gives anonymously?",
"type": "boolean"
},
"email_addresses": {
"description": "Email addresses to add.",
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Email address."
},
"email_type_name": {
"description": "Email type name, e.g. Home, Work, Other.",
"type": "string"
},
"is_preferred": {
"type": "boolean"
}
},
"required": [
"address"
]
}
},
"phone_numbers": {
"description": "Phone numbers to add.",
"type": "array",
"items": {
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "Phone number."
},
"phone_type_name": {
"description": "Phone type name, e.g. Home, Mobile, Work.",
"type": "string"
},
"is_preferred": {
"type": "boolean"
}
},
"required": [
"number"
]
}
},
"street_addresses": {
"description": "Street addresses to add.",
"type": "array",
"items": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"street_type_name": {
"description": "Address type name, e.g. Home, Work.",
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"description": "State/province.",
"type": "string"
},
"postal_code": {
"type": "string"
},
"county": {
"type": "string"
},
"country": {
"type": "string"
},
"is_preferred": {
"type": "boolean"
}
}
}
},
"groups": {
"description": "Group memberships to add.",
"type": "array",
"items": {
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Group id (see lgl_list_groups)."
},
"date_start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date (YYYY-MM-DD)."
},
"date_end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date (YYYY-MM-DD)."
},
"is_current": {
"type": "boolean"
}
},
"required": [
"group_id"
]
}
}
},
"required": [
"first_name",
"last_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}