{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PriceOrder",
  "description": "PriceOrder schema from Burger King's Partners API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/channel-price-order-schema.json",
  "type": "object",
  "properties": {
    "externalReferenceId": {
      "$ref": "#/components/schemas/ExternalReferenceId"
    },
    "storeId": {
      "$ref": "#/components/schemas/StoreId"
    },
    "serviceMode": {
      "$ref": "#/components/schemas/ServiceMode"
    },
    "cart": {
      "$ref": "#/components/schemas/Cart"
    },
    "customer": {
      "$ref": "#/components/schemas/Customer"
    },
    "charges": {
      "$ref": "#/components/schemas/Charges"
    },
    "mpfOrderId": {
      "$ref": "#/components/schemas/MpfOrderId"
    },
    "deliveryAddress": {
      "$ref": "#/components/schemas/Address"
    },
    "loyalty": {
      "$ref": "#/components/schemas/Loyalty"
    }
  },
  "required": [
    "storeId",
    "serviceMode",
    "cart",
    "customer"
  ]
}