{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TerminalOrderRequest",
  "title": "TerminalOrderRequest",
  "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"
    }
  },
  "type": "object"
}