{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://benchlm.ai/schemas/support-extraction-v1.json",
  "title": "Support-request extraction output",
  "description": "Output contract for the BenchLM support-request extraction kit (support-extraction-v1). Synthetic editorial fixture; not a customer dataset.",
  "type": "object",
  "additionalProperties": false,
  "required": ["ticket_id", "category", "urgency", "requested_action"],
  "properties": {
    "ticket_id": { "type": "string", "pattern": "^EX-[0-9]{3}$" },
    "category": { "type": "string", "enum": ["billing", "account", "bug", "feature", "unknown"] },
    "urgency": { "type": "string", "enum": ["urgent", "normal", "unknown"] },
    "requested_action": { "type": ["string", "null"], "minLength": 1 }
  }
}
