Channel Discount Structure

A discount which ought to be applied to an order

Type: object Properties: 2
Fortune 500FranchisingHospitalityNYSE QSRQuick Service RestaurantsRestaurants

Discount is a JSON Structure definition published by Restaurant Brands International, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type total

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-structure/channel-discount-structure.json",
  "name": "Discount",
  "description": "A discount which ought to be applied to an order",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of discount.\n\n|Discount Type|Description                  |\n|--------|-----------------------------|\n|DISCOUNT | Generic type for any discount |\n",
      "enum": [
        "DISCOUNT"
      ],
      "example": "DISCOUNT"
    },
    "total": {
      "$ref": "#/components/schemas/Money",
      "description": "Amount to be discounted"
    }
  }
}