{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/esimker-com/json-schema/esimker-com-ticket-in-schema.json",
  "title": "TicketIn",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/esimker-com-openapi.json#/components/schemas/TicketIn",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "message": {
      "type": "string",
      "maxLength": 5000,
      "title": "Message"
    },
    "topic": {
      "type": "string",
      "pattern": "^(order|esim|refund|other)$",
      "title": "Topic",
      "default": "other"
    },
    "order_ref": {
      "type": "string",
      "maxLength": 255,
      "title": "Order Ref",
      "default": ""
    },
    "lang": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{2}(-[A-Za-z]{4})?$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lang"
    },
    "website": {
      "type": "string",
      "maxLength": 255,
      "title": "Website",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "email",
    "message"
  ]
}