Toast · Schema

TimeSpecificPrice

Represents the pricing rules for a menu item that uses a time-specific price.

Food ServicePoint of SaleRestaurantsHospitality

Properties

Name Type Description
timeSpecificPrice number The price of the menu item during the periods of time defined by the associated `schedule` array.
basePrice number The base price of the menu item, used for time periods when a time-specific price has not been defined.
schedule array An array of `Schedule` objects that indicate the specific days and times that a time-specific price is available.
View JSON Schema on GitHub

JSON Schema

menus-time-specific-price-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-schema/menus-time-specific-price-schema.json",
  "title": "TimeSpecificPrice",
  "description": "Represents the pricing rules for a menu item that uses a time-specific price.\n",
  "type": "object",
  "properties": {
    "timeSpecificPrice": {
      "type": "number",
      "format": "double",
      "description": "The price of the menu item during the periods of time defined by the associated `schedule` array.\n"
    },
    "basePrice": {
      "type": "number",
      "format": "double",
      "description": "The base price of the menu item, used for time periods when a time-specific price has not been defined.\n"
    },
    "schedule": {
      "type": "array",
      "description": "An array of `Schedule` objects that indicate the specific days and times that a time-specific price is available.\n",
      "items": {
        "$ref": "#/definitions/Schedule"
      }
    }
  }
}