Otter · JSON Structure

Public Api Override Rule Structure

Override rule for when to apply price overrides

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

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

Properties

externalServiceSlug

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-override-rule-structure.json",
  "name": "OverrideRule",
  "description": "Override rule for when to apply price overrides",
  "type": "object",
  "properties": {
    "externalServiceSlug": {
      "type": "string",
      "description": "The service slug for which this rule should apply. E.g.: If externalServiceSlug is UberEats, then the priceOverride should be applied to UberEats.",
      "example": "ubereats"
    }
  },
  "required": [
    "externalServiceSlug"
  ]
}