Otter · JSON Structure

Public Api Order 2 Structure

Order-2 schema from Public API (Otter Public API).

Type: object Properties: 4
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

id currencyCode items totals

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-order-2-structure.json",
  "name": "Order-2",
  "description": "Order-2 schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The id of the order in the partner's system.",
      "example": "someidstring"
    },
    "currencyCode": {
      "type": "string",
      "description": "Currency code.",
      "example": "USD"
    },
    "items": {
      "type": "array",
      "description": "The ordered items in the order.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-item-2-schema.json"
      }
    },
    "totals": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-totals-schema.json"
    }
  }
}