{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/management-terminal-order-request-structure.json",
  "description": "TerminalOrderRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "billingEntityId": {
      "description": "The identification of the billing entity to use for the order.",
      "type": "string"
    },
    "customerOrderReference": {
      "description": "The merchant-defined purchase order reference.",
      "type": "string"
    },
    "items": {
      "description": "The products included in the order.",
      "items": {
        "$ref": "#/components/schemas/OrderItem"
      },
      "type": "array"
    },
    "orderType": {
      "description": "Type of order",
      "type": "string"
    },
    "shippingLocationId": {
      "description": "The identification of the shipping location to use for the order.",
      "type": "string"
    },
    "taxId": {
      "description": "The tax number of the billing entity.",
      "type": "string"
    }
  },
  "name": "TerminalOrderRequest"
}