Structured output schema
{
"outcome": "Restaurants Appointment Booking AI phone script outcome",
"fields": [
{
"description": "ai disclosure acknowledged captured during the call.",
"name": "ai_disclosure_acknowledged",
"required": true,
"type": "text"
},
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": true,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"required": true,
"type": "text"
},
{
"description": "request type captured during the call.",
"name": "request_type",
"required": true,
"type": "text"
},
{
"description": "party size captured during the call.",
"name": "party_size",
"required": true,
"type": "number"
},
{
"description": "date time captured during the call.",
"name": "date_time",
"required": false,
"type": "date"
},
{
"description": "allergy or dietary note captured during the call.",
"name": "allergy_or_dietary_note",
"required": false,
"type": "text"
},
{
"description": "next action captured during the call.",
"name": "next_action",
"required": false,
"type": "text"
},
{
"description": "appointment type captured during the call.",
"name": "appointment_type",
"required": false,
"type": "text"
},
{
"description": "preferred times captured during the call.",
"name": "preferred_times",
"required": false,
"type": "date"
},
{
"description": "timezone captured during the call.",
"name": "timezone",
"required": false,
"type": "date"
},
{
"description": "notes captured during the call.",
"name": "notes",
"required": false,
"type": "text"
}
]
}