email-content-compose/output_schema.json

36 lines
1.1 KiB
JSON
Raw Normal View History

2026-03-11 23:36:44 +00:00
{
"type": "object",
"properties": {
"status": { "type": "string", "enum": ["success", "failed"] },
"error": { "type": ["string", "null"] },
"workflowId": { "type": "string" },
"workflowStatus": { "type": "string" },
"query": { "type": "string" },
"country": { "type": "string" },
"productKeywords": { "type": ["string", "null"] },
"completedAt": { "type": ["string", "null"] },
"summary": {
"type": ["object", "null"],
"properties": {
"businesses_count": { "type": "number" },
"contacts_count": { "type": "number" },
"businesses_with_reviews": { "type": "number" },
"businesses_with_email": { "type": "number" }
}
},
"businesses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"domain": { "type": ["string", "null"] },
"emails": { "type": "array", "items": { "type": "string" } },
"reviews_data": { "type": ["string", "null"] }
}
}
}
},
"required": ["status", "error", "workflowId", "workflowStatus", "businesses"]
}