Macke
01/31/2026, 4:10 PMChiranjeet Mishra
01/31/2026, 4:10 PMVapi Support Bot
01/31/2026, 4:11 PMmissing_fields array includes an items property that defines the type and allowed values. Here’s the correct JSON Schema snippet:
json
"missing_fields": {
"type": "array",
"description": "If complete is true, return an empty array []. If complete is false, list which fields are missing.",
"items": {
"type": "string",
"enum": ["caller name", "phone number", "issue description", "address or area", "job type", "urgency"],
"description": "One of: caller name, phone number, issue description, address or area, job type, urgency"
}
}
Update your schema with this structure and try saving again.
Source:
- [Structured outputs quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)