Channel Quantity Constraints Structure

Quantity constraints on selection. Can apply either to items or selections with an options group. Note\: We use a `minAmount` of 1 with a `maxAmount` of 1 to indicate selection is required

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

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

Properties

defaultAmount minAmount maxAmount

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-quantity-constraints-structure.json",
  "name": "QuantityConstraints",
  "description": "Quantity constraints on selection. Can apply either to items or selections\nwith an options group.\n\nNote\\: We use a `minAmount` of 1 with a `maxAmount` of 1 to indicate\nselection is required\n",
  "type": "object",
  "properties": {
    "defaultAmount": {
      "description": "(Optional) Default amount that can be select",
      "type": "double",
      "minimum": 0,
      "example": 599
    },
    "minAmount": {
      "description": "(Optional) Minimum amount that must be select",
      "type": "double",
      "minimum": 0,
      "example": 599
    },
    "maxAmount": {
      "description": "(Optional) Maximum amount that can be select",
      "type": "double",
      "minimum": 0,
      "example": 599
    }
  }
}