{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "BargSabzTriage",
  "description": "Ticket triage output for lesson AUT-203-L02 (version 1.1). Same fields as FND-102-L05 ticket-schema.json.",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": ["order_shipping", "returns_exchange", "availability", "payment", "sales_inquiry", "other"]
    },
    "order_id": {
      "type": ["string", "null"],
      "description": "Order number exactly as written in the message, or null if the message has none."
    },
    "urgent": { "type": "boolean" },
    "summary": { "type": "string", "maxLength": 120 },
    "needs_human": { "type": "boolean" }
  },
  "required": ["category", "order_id", "urgent", "summary", "needs_human"],
  "additionalProperties": false
}
