{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fablerlabs-com/json-schema/fablerlabs-com-nft-owner-result-schema.json",
  "title": "NftOwnerResult",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fablerlabs-com-openapi.yaml#/components/schemas/NftOwnerResult",
  "type": "object",
  "required": [
    "chain",
    "contract",
    "token_id",
    "owner",
    "block_tag",
    "upstream",
    "as_of"
  ],
  "properties": {
    "chain": {
      "type": "object",
      "required": [
        "name",
        "chain_id",
        "caip2"
      ],
      "properties": {
        "name": {
          "type": "string",
          "const": "Base"
        },
        "chain_id": {
          "type": "integer",
          "const": 8453
        },
        "caip2": {
          "type": "string",
          "const": "eip155:8453"
        }
      }
    },
    "contract": {
      "type": "string",
      "pattern": "^0x[0-9a-f]{40}$"
    },
    "token_id": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]*)$"
    },
    "owner": {
      "type": "string",
      "pattern": "^0x[0-9a-f]{40}$"
    },
    "block_tag": {
      "type": "string",
      "const": "latest"
    },
    "upstream": {
      "type": "string",
      "enum": [
        "https://mainnet.base.org",
        "https://base-rpc.publicnode.com"
      ],
      "description": "Successful public Base JSON-RPC endpoint; no secret provider data."
    },
    "as_of": {
      "type": "string",
      "format": "date-time"
    }
  }
}