{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-structure/channel-identify-loyalty-structure.json",
  "name": "IdentifyLoyalty",
  "description": "User information on the Loyalty user identified",
  "type": "object",
  "properties": {
    "balances": {
      "description": "The loyalty user's balances\n",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Balance"
      }
    },
    "loyaltyId": {
      "$ref": "#/components/schemas/LoyaltyId"
    },
    "transactionId": {
      "$ref": "#/components/schemas/LoyaltyTransactionId"
    }
  },
  "required": [
    "balances",
    "loyaltyId",
    "transactionId"
  ]
}