Otter · Schema

SelectedReward

SelectedReward schema from Public API (Otter Public API).

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
id string The ID of reward.
amount number The amount that was deducted.
menus object
View JSON Schema on GitHub

JSON Schema

public-api-selected-reward-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SelectedReward",
  "description": "SelectedReward schema from Public API (Otter Public API).",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-selected-reward-schema.json",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of reward.",
      "example": "someidstring"
    },
    "amount": {
      "type": "number",
      "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"
        }
      ]
    }
  }
}