{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-managed-blockchain/json-schema/amazon-managed-blockchain-list-token-balances-input-schema.json",
  "title": "ListTokenBalancesInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-managed-blockchain-operations-api-openapi.yml#/components/schemas/ListTokenBalancesInput",
  "type": "object",
  "properties": {
    "ownerFilter": {
      "$ref": "#/$defs/OwnerFilter"
    },
    "tokenFilter": {
      "$ref": "#/$defs/TokenFilter"
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that indicates the next set of results to retrieve."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of token balances to return. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return"
    }
  },
  "required": [
    "tokenFilter"
  ],
  "$defs": {
    "OwnerFilter": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "The contract or wallet address."
        }
      },
      "required": [
        "address"
      ]
    },
    "TokenFilter": {
      "type": "object",
      "properties": {
        "network": {
          "type": "string",
          "description": "The blockchain network of the token."
        },
        "contractAddress": {
          "type": "string",
          "description": "This is the address of the contract."
        },
        "tokenId": {
          "type": "string",
          "description": "The unique identifier of the token."
        }
      },
      "required": [
        "network"
      ]
    }
  }
}