{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UserBalance",
  "description": "UserBalance schema from Public API (Otter Public API).",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-user-balance-schema.json",
  "type": "object",
  "properties": {
    "amount": {
      "type": "number",
      "description": "Balance amount.",
      "example": 19.07
    },
    "type": {
      "type": "string",
      "description": "The type of balance.",
      "example": "POINT",
      "enum": [
        "POINT",
        "DOLLAR"
      ]
    }
  }
}