client-finder/output_schema.json

99 lines
2.6 KiB
JSON
Raw Normal View History

2026-03-11 23:36:43 +00:00
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Overall skill status",
"enum": ["success", "failed"]
},
"error": {
"type": ["string", "null"],
"description": "Short error message; null when status=success"
},
"inputQuery": {
"type": "string",
"description": "Normalized user query before expansion"
},
"expandedQueries": {
"type": "array",
"description": "Expanded query candidates",
"items": {
"type": "string"
}
},
"primaryQuery": {
"type": "string",
"description": "Selected query used for cold-outreach execution"
},
"expansionStatus": {
"type": "string",
"description": "Expansion stage status",
"enum": ["success", "failed"]
},
"expansionSource": {
"type": "string",
"description": "Expansion source used by the skill",
"enum": ["llm", "rule", "raw_query", ""]
},
"expansionError": {
"type": ["string", "null"],
"description": "Expansion-stage error detail; null when expansion succeeds"
},
"usedFallbackQuery": {
"type": "boolean",
"description": "Whether raw input query A was used as fallback"
},
"runId": {
"type": "string",
"description": "Billing run id; empty when unavailable"
},
"workflowId": {
"type": "string",
"description": "Workflow id; empty when unavailable"
},
"workflowStatus": {
"type": "string",
"description": "Immediate workflow status returned by this runner; typically accepted or dry_run"
},
"billingReserveStatus": {
"type": "string",
"description": "Billing reserve status in immediate response; typically SKIPPED"
},
"billingFinalizeStatus": {
"type": "string",
"description": "Billing finalize status in immediate response; typically SKIPPED"
},
"businessesCount": {
"type": "number",
"description": "Found businesses count"
},
"contactsCount": {
"type": "number",
"description": "Found contacts count"
},
"uniqueContactDomains": {
"type": "number",
"description": "Unique contact domains count"
}
},
"required": [
"status",
"error",
"inputQuery",
"expandedQueries",
"primaryQuery",
"expansionStatus",
"expansionSource",
"expansionError",
"usedFallbackQuery",
"runId",
"workflowId",
"workflowStatus",
"billingReserveStatus",
"billingFinalizeStatus",
"businessesCount",
"contactsCount",
"uniqueContactDomains"
]
}