EntryOptions

Options configuration for a menu entry

Fortune 500FranchisingHospitalityNYSE QSRQuick Service RestaurantsRestaurants

Properties

Name Type Description
defaults array Options which should be selected by default
entries array Collection of references to the item's options
injectDefault boolean Whether or not to inject the default options
quantity object
View JSON Schema on GitHub

JSON Schema

menu-v2-entry-options-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EntryOptions",
  "description": "Options configuration for a menu entry",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/menu-v2-entry-options-schema.json",
  "type": "object",
  "properties": {
    "defaults": {
      "type": "array",
      "description": "Options which should be selected by default",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "entries": {
      "type": "array",
      "description": "Collection of references to the item's options",
      "items": {
        "$ref": "#/components/schemas/EntryOptions"
      }
    },
    "injectDefault": {
      "type": "boolean",
      "description": "Whether or not to inject the default options",
      "example": true
    },
    "quantity": {
      "$ref": "#/components/schemas/Quantity"
    }
  }
}