{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/depixapp-com/json-schema/depixapp-com-ticket-create-request-schema.json",
  "title": "TicketCreateRequest",
  "description": "Open a new support ticket. The body becomes the first user message.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/depixapp-com-support-api-openapi.yml#/components/schemas/TicketCreateRequest",
  "type": "object",
  "required": [
    "subject",
    "body"
  ],
  "additionalProperties": false,
  "properties": {
    "subject": {
      "type": "string",
      "description": "Short subject (4–120 chars).",
      "minLength": 4,
      "maxLength": 120
    },
    "body": {
      "type": "string",
      "description": "Message body (1–4000 chars).",
      "minLength": 1,
      "maxLength": 4000
    },
    "category": {
      "type": "string",
      "description": "Optional category (defaults to 'other'). Does not route anything today; used for triage.",
      "enum": [
        "bug",
        "question",
        "account",
        "payment",
        "other"
      ]
    }
  }
}