Raw schema
{
"type": "object",
"properties": {
"trade": {
"type": "string",
"enum": [
"plumber",
"hvac",
"electrician",
"roofer",
"appliance-repair",
"locksmith",
"garage-door",
"pest-control",
"handyman",
"house-cleaning",
"other"
],
"description": "Home-service trade. Use 'other' with trade_detail for anything not listed."
},
"trade_detail": {
"type": "string",
"description": "Required when trade is 'other': the kind of contractor needed."
},
"country": {
"type": "string",
"enum": [
"CA",
"US"
]
},
"region": {
"type": "string",
"description": "Province or state code or name, for example 'ON' or 'Texas'."
},
"city": {
"type": "string",
"description": "City or municipality where service is needed."
},
"service_address": {
"type": "string",
"description": "Full street address where service is needed."
},
"postal_code": {
"type": "string",
"description": "Postal or ZIP code."
},
"problem": {
"type": "string",
"description": "What is needed or wrong, with relevant details."
},
"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 us and prospective providers to contact the customer about this request."
},
"source_platform": {
"type": "string",
"description": "Calling agent or platform, if known."
}
},
"required": [
"trade",
"country",
"region",
"city",
"service_address",
"problem",
"urgency",
"contact_name",
"consent_to_contact"
],
"additionalProperties": false,
"anyOf": [
{
"required": [
"phone"
]
},
{
"required": [
"email"
]
}
]
}