{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fresh-kds/main/json-schema/fresh-kds-put-integradores-kds-orders-request-schema.json",
  "title": "PutIntegradoresKdsOrdersRequest",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fresh-kds-openapi-generated.yml#/components/schemas/PutIntegradoresKdsOrdersRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Mismo identificador usado al crear el pedido."
    },
    "items": {
      "type": "array",
      "description": "Arreglo completo de artículos del pedido actualizado."
    },
    "items[].lineId": {
      "type": "string",
      "description": "Identificador de línea original o nuevo para artículos añadidos."
    },
    "items[].name": {
      "type": "string",
      "description": "Nombre del artículo."
    },
    "items[].quantity": {
      "type": "string",
      "description": "Cantidad del artículo."
    },
    "items[].modifiers": {
      "type": "array",
      "description": "Modificadores del artículo."
    },
    "items[].specialInstructions": {
      "type": "string",
      "description": "Instrucciones especiales."
    },
    "orderType": {
      "type": "string",
      "description": "Tipo de pedido (p.ej., \"ForHere\" o \"ToGo\")."
    },
    "pickupTime": {
      "type": "string",
      "description": "Hora de recogida, si corresponde."
    }
  },
  "required": [
    "id",
    "items",
    "items[].lineId",
    "items[].name",
    "items[].quantity"
  ]
}