Otter · JSON Structure

Public Api Selected Reward Structure

SelectedReward schema from Public API (Otter Public API).

Type: object Properties: 3
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

id amount menus

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-selected-reward-structure.json",
  "name": "SelectedReward",
  "description": "SelectedReward schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of reward.",
      "example": "someidstring"
    },
    "amount": {
      "type": "double",
      "description": "The amount that was deducted.",
      "example": 19.07
    },
    "menus": {
      "oneOf": [
        {
          "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-selected-menu-reward-schema.json"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}