Otter · JSON Structure

Public Api Price Override Structure

Price override for an item

Type: object Properties: 2 Required: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

PriceOverride is a JSON Structure definition published by Otter, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

price rules

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/otter/refs/heads/main/json-structure/public-api-price-override-structure.json",
  "name": "PriceOverride",
  "description": "Price override for an item",
  "type": "object",
  "properties": {
    "price": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-money-schema.json"
    },
    "rules": {
      "type": "array",
      "minItems": 1,
      "description": "Override rules for when this price override should be applied.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-override-rule-3-pd-schema.json"
      }
    }
  },
  "required": [
    "price",
    "rules"
  ]
}