Raw schema
{
"type": "object",
"properties": {
"municipality": {
"type": "string",
"enum": [
"Toronto",
"Ajax",
"Brock",
"Clarington",
"Oshawa",
"Pickering",
"Scugog",
"Uxbridge",
"Whitby",
"Burlington",
"Halton Hills",
"Milton",
"Oakville",
"Brampton",
"Caledon",
"Mississauga",
"Aurora",
"East Gwillimbury",
"Georgina",
"King",
"Markham",
"Newmarket",
"Richmond Hill",
"Vaughan",
"Whitchurch-Stouffville"
],
"description": "The GTA municipality where service is needed."
},
"district": {
"type": "string",
"enum": [
"Old Toronto",
"North York",
"Scarborough",
"Etobicoke",
"East York",
"York"
],
"description": "Optional Toronto district. Use only when municipality is Toronto."
},
"region": {
"type": "string",
"enum": [
"Toronto",
"Durham",
"Halton",
"Peel",
"York"
],
"description": "GTA region. The server verifies this from municipality."
},
"postal_code": {
"type": "string",
"description": "Ontario postal code."
},
"service_address": {
"type": "string",
"description": "Full address where service is needed."
},
"problem": {
"type": "string",
"description": "What is happening, including visible symptoms and affected fixtures."
},
"urgency": {
"type": "string",
"enum": [
"emergency",
"today",
"next_day",
"flexible"
]
},
"preferred_time": {
"type": "string",
"description": "Preferred appointment window in local time."
},
"contact_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"email": {
"type": "string"
},
"consent_to_contact": {
"type": "boolean",
"description": "Must be true. Allows AI Plumber and prospective plumbing providers to contact the customer about this request."
},
"source_platform": {
"type": "string",
"description": "Calling agent or platform, if known."
}
},
"required": [
"municipality",
"service_address",
"problem",
"urgency",
"contact_name",
"consent_to_contact"
],
"additionalProperties": false,
"anyOf": [
{
"required": [
"phone"
]
},
{
"required": [
"email"
]
}
]
}