{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eventship-com/json-schema/eventship-com-external-ticket-type-update-request-schema.json",
  "title": "ExternalTicketTypeUpdateRequest",
  "description": "Request to update a ticket type via the external API.\n\nAll fields are optional — only provided fields are updated.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eventship-com-ticket-types-api-openapi.yml#/components/schemas/ExternalTicketTypeUpdateRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "price": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Price"
    },
    "quantity": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity"
    },
    "maxPerOrder": {
      "type": "integer",
      "maximum": 99.0,
      "minimum": 1.0,
      "title": "Maxperorder",
      "default": 20
    },
    "absorbFees": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Absorbfees"
    },
    "salesStartAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Salesstartat"
    },
    "salesEndAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Salesendat"
    }
  },
  "additionalProperties": false,
  "type": "object"
}