{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foxnfe-com-br/json-schema/foxnfe-com-br-post-api-v1-support-cases-request-schema.json",
  "title": "post_api_v1_support_casesRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": [
    "app/app/Modules/Support/Http/Controllers/SupportCaseController.php:43"
  ],
  "type": "object",
  "properties": {
    "subject": {
      "x-laravel-rules": [
        "required",
        "string",
        "min:3",
        "max:200"
      ],
      "type": "string",
      "minLength": 3,
      "maxLength": 200
    },
    "channel": {
      "x-laravel-rules": [
        "sometimes",
        "string",
        "in:api,web,email,whatsapp"
      ],
      "type": "string",
      "enum": [
        "api",
        "web",
        "email",
        "whatsapp"
      ]
    },
    "priority": {
      "x-laravel-rules": [
        "sometimes",
        "string",
        "in:low,normal,high,urgent"
      ],
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high",
        "urgent"
      ]
    }
  },
  "required": [
    "subject"
  ]
}