Raw schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Registration",
"Inquiry",
"Seller Inquiry",
"Property Inquiry",
"General Inquiry",
"Viewed Property",
"Saved Property",
"Visited Website",
"Incoming Call",
"Unsubscribed",
"Property Search",
"Saved Property Search",
"Visited Open House",
"Viewed Page"
],
"description": "Event type. \"Inquiry\" becomes Property or General Inquiry automatically."
},
"source": {
"description": "Lead source name, e.g. \"MyWebsite.com\". Used for Lead Flow routing.",
"type": "string"
},
"system": {
"description": "Name of the system sending the lead.",
"type": "string"
},
"message": {
"description": "A message from the lead.",
"type": "string"
},
"description": {
"description": "Any additional information.",
"type": "string"
},
"occurredAt": {
"description": "ISO-8601 time it happened. Events older than a day are historical and do not trigger workflows.",
"type": "string"
},
"person": {
"type": "object",
"properties": {
"id": {
"description": "Existing person id to attach this event to.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"stage": {
"type": "string"
},
"source": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"contacted": {
"type": "boolean"
},
"price": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"assignedTo": {
"description": "Full name of the agent.",
"type": "string"
},
"assignedUserId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"assignedLenderName": {
"type": "string"
},
"assignedLenderId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"emails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The email address."
},
"type": {
"description": "e.g. \"home\", \"work\".",
"type": "string"
}
},
"required": [
"value"
]
}
},
"phones": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The phone number, e.g. 888-555-1234."
},
"type": {
"description": "e.g. \"mobile\", \"home\", \"work\".",
"type": "string"
}
},
"required": [
"value"
]
}
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"description": "e.g. \"home\", \"work\", \"mailing\".",
"type": "string"
},
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"description": "Abbreviated state code, e.g. \"CA\".",
"type": "string"
},
"code": {
"description": "Postal/ZIP code, as a string.",
"type": "string"
},
"country": {
"type": "string"
}
}
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"customFields": {
"description": "Account custom fields, keyed by their API name (e.g. {\"customBirthday\": \"1990-02-16\"}). See the `name` column of fub_list_custom_fields. null clears a value.",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^custom[A-Za-z0-9_]+$"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
}
},
"description": "The lead."
},
"property": {
"description": "The property the event is about.",
"type": "object",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"code": {
"type": "string"
},
"mlsNumber": {
"type": "string"
},
"price": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"forRent": {
"type": "boolean"
},
"url": {
"type": "string"
},
"type": {
"type": "string"
},
"bedrooms": {
"type": "string"
},
"bathrooms": {
"type": "string"
},
"area": {
"description": "Square feet.",
"type": "string"
},
"lot": {
"description": "Acres.",
"type": "string"
}
}
},
"pageTitle": {
"description": "For Viewed Page events.",
"type": "string"
},
"pageUrl": {
"description": "For Viewed Page events.",
"type": "string"
}
},
"required": [
"type",
"person"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}