{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Charges",
  "description": "Order pricing details",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/channel-charges-schema.json",
  "type": "object",
  "properties": {
    "tax": {
      "$ref": "#/components/schemas/Money",
      "description": "Taxes the customer must pay"
    },
    "mpfTax": {
      "$ref": "#/components/schemas/MFTaxes",
      "description": "Taxes calculated from the partners side"
    },
    "subTotal": {
      "$ref": "#/components/schemas/Money",
      "description": "The subtotal the customer must pay"
    },
    "total": {
      "$ref": "#/components/schemas/Money",
      "description": "The total amount the customer must pay"
    },
    "fees": {
      "$ref": "#/components/schemas/Fees"
    }
  }
}