{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "HistoricalBalance",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "level": {
      "type": "integer",
      "description": "Height of the block at which the account balance was calculated",
      "format": "int32"
    },
    "timestamp": {
      "type": "string",
      "description": "Timestamp of the block at which the account balance was calculated",
      "format": "date-time"
    },
    "balance": {
      "type": "integer",
      "description": "Historical balance",
      "format": "int64"
    },
    "quote": {
      "description": "Injected historical quote at the time of balance snapshot",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/QuoteShort"
        }
      ]
    }
  }
}