{ "$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" } } }