{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "BargSabzTicketTriage",
  "description": "خروجی ساختاریافته طبقه‌بندی پیام پشتیبانی برگ سبز (درس FND-102-L05)",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": ["order_shipping", "returns_exchange", "availability", "payment", "sales_inquiry", "other"]
    },
    "order_id": {
      "type": ["string", "null"],
      "description": "شماره سفارش فقط اگر در پیام آمده باشد؛ در غیر این صورت null"
    },
    "urgent": { "type": "boolean" },
    "summary": { "type": "string", "maxLength": 120 },
    "needs_human": { "type": "boolean" }
  },
  "required": ["category", "order_id", "urgent", "summary", "needs_human"],
  "additionalProperties": false
}
