{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TokenBalance",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer",
      "description": "Internal TzKT id.  \n**[sortable]**",
      "format": "int64"
    },
    "account": {
      "description": "Owner account.  \nClick on the field to expand more details.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "token": {
      "description": "Token info.  \nClick on the field to expand more details.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/TokenInfo"
        }
      ]
    },
    "balance": {
      "type": "string",
      "description": "Balance (raw value, not divided by `decimals`).  \n**[sortable]**"
    },
    "balanceValue": {
      "type": "string",
      "description": "Balance value in mutez, based on the current token price.  \n**[sortable]**",
      "nullable": true
    },
    "transfersCount": {
      "type": "integer",
      "description": "Total number of transfers, affecting the token balance.  \n**[sortable]**",
      "format": "int32"
    },
    "firstLevel": {
      "type": "integer",
      "description": "Level of the block where the token balance was first changed.  \n**[sortable]**",
      "format": "int32"
    },
    "firstTime": {
      "type": "string",
      "description": "Timestamp of the block where the token balance was first changed.",
      "format": "date-time"
    },
    "lastLevel": {
      "type": "integer",
      "description": "Level of the block where the token balance was last changed.  \n**[sortable]**",
      "format": "int32"
    },
    "lastTime": {
      "type": "string",
      "description": "Timestamp of the block where the token balance was last changed.",
      "format": "date-time"
    }
  }
}