{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metagraph-sh/json-schema/metagraph-sh-global-validators-artifact-schema.json",
  "title": "GlobalValidatorsArtifact",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metagraph-sh-openapi.json#/components/schemas/GlobalValidatorsArtifact",
  "additionalProperties": false,
  "properties": {
    "block_number": {
      "anyOf": [
        {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "captured_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "limit": {
      "maximum": 2000,
      "minimum": 1,
      "type": "integer"
    },
    "schema_version": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "sort": {
      "enum": [
        "avg_validator_trust",
        "max_validator_trust",
        "stake_dominance",
        "subnet_count",
        "total_emission",
        "total_stake",
        "uid_count"
      ],
      "type": "string"
    },
    "validator_count": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "validators": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "alpha_stake_tao": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Deprecated compatibility field; always null. The metagraph records subnet voting weight (alpha + tao_weight * root), not independent delegated principal. Pricing or summing that weight cannot measure holdings value; null is unavailable, never zero."
          },
          "apy_estimate": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Deprecated compatibility field; always null because independently measured investment principal is unavailable. Voting weight is not an APY denominator; null is unknown, never zero yield."
          },
          "apy_estimate_eligible_subnet_count": {
            "description": "Always 0 while investment principal is unavailable.",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "avg_validator_trust": {
            "type": [
              "number",
              "null"
            ]
          },
          "coldkey": {
            "type": [
              "string",
              "null"
            ]
          },
          "coldkey_count": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "coldkey_identity": {
            "anyOf": [
              {
                "additionalProperties": false,
                "description": "Self-reported on-chain identity (SubtensorModule::set_identity) for a `coldkey`.",
                "properties": {
                  "additional": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "captured_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "description": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "discord": {
                    "anyOf": [
                      {
                        "maxLength": 200,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "github": {
                    "anyOf": [
                      {
                        "format": "uri",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "has_identity": {
                    "type": "boolean"
                  },
                  "image": {
                    "anyOf": [
                      {
                        "format": "uri",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "format": "uri",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_identity",
                  "name",
                  "url",
                  "github",
                  "image",
                  "discord",
                  "description",
                  "additional",
                  "captured_at"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "featured": {
            "type": "boolean"
          },
          "hotkey": {
            "type": "string"
          },
          "latest_block_number": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "latest_captured_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_validator_trust": {
            "type": [
              "number",
              "null"
            ]
          },
          "nominator_count": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Distinct coldkeys with stake delegated to this validator's hotkey, from the poller's exhaustive SubtensorModule::Alpha scan (24h cadence). A validator absent from a FRESH scan reads as 0 rather than null: the pass covers the whole keyspace, so absence is a confirmed zero rather than a gap (#9314). null means the scan itself is stale or unavailable -- the count is unknown, not zero."
          },
          "realized_return_1d": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null since #12015. Changes in delegated stake include deposits, withdrawals and price moves, so the former balance-change calculation did not measure investment return. Flow-neutral performance is unavailable; do not treat null as zero.",
            "type": [
              "number",
              "null"
            ]
          },
          "realized_return_1d_as_of": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null with realized_return_1d. No investment-return measurement window is available.",
            "type": [
              "string",
              "null"
            ]
          },
          "realized_return_1m": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null since #12015. Changes in delegated stake include deposits, withdrawals and price moves, so the former balance-change calculation did not measure investment return. Flow-neutral performance is unavailable; do not treat null as zero.",
            "type": [
              "number",
              "null"
            ]
          },
          "realized_return_1m_as_of": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null with realized_return_1m. No investment-return measurement window is available.",
            "type": [
              "string",
              "null"
            ]
          },
          "realized_return_1w": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null since #12015. Changes in delegated stake include deposits, withdrawals and price moves, so the former balance-change calculation did not measure investment return. Flow-neutral performance is unavailable; do not treat null as zero.",
            "type": [
              "number",
              "null"
            ]
          },
          "realized_return_1w_as_of": {
            "deprecated": true,
            "description": "Deprecated compatibility field; always null with realized_return_1w. No investment-return measurement window is available.",
            "type": [
              "string",
              "null"
            ]
          },
          "root_stake_tao": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Deprecated compatibility field; always null. The metagraph records subnet voting weight (alpha + tao_weight * root), not independent delegated principal. Pricing or summing that weight cannot measure holdings value; null is unavailable, never zero."
          },
          "stake_dominance": {
            "anyOf": [
              {
                "maximum": 1,
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Always null: voting weight does not establish a common holdings-value denominator across validators."
          },
          "subnet_count": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "subnets": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "emission_alpha": {
                  "description": "This row's observed emission on the subnet named by the sibling `netuid`. It remains independent of the legacy voting-weight field and does not establish investment yield. Renamed from `emission_tao` in #10514.",
                  "minimum": 0,
                  "type": "number"
                },
                "netuid": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "stake_alpha": {
                  "anyOf": [
                    {
                      "minimum": 0,
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Legacy field name for observed subnet voting weight from metagraph stake_tao: alpha + tao_weight * root for non-root memberships. Root influence can repeat across subnets. This is not independent alpha principal, cannot be valued as holdings, and must not be summed across subnets."
                },
                "uid": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "validator_trust": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "netuid",
                "uid",
                "stake_alpha",
                "emission_alpha",
                "validator_trust"
              ],
              "type": "object"
            },
            "maxItems": 10,
            "type": "array"
          },
          "take": {
            "type": [
              "number",
              "null"
            ]
          },
          "total_emission_tao": {
            "description": "Cross-subnet total in genuine TAO (#9051): each membership converts through its own subnet's latest SPOT price -- tao_in_pool_tao / alpha_in_pool from that subnet's newest snapshot, root at 1:1 -- before summing, so this is a real TAO value rather than a sum of incomparable per-subnet alpha tokens. Prices are complete by construction (the economics tier carries a price for every subnet, and subnet_snapshots is written from it); a membership whose subnet has no price row is excluded, which under-reports rather than mis-denominates. Marked at SPOT, not at alpha_price_tao: that field is the chain's MOVING price (#9408), and a lagging average is the wrong mark for what a position is worth -- measured -1.29% against spot on netuid 64 for 2026-08-03. Prices still come from the daily subnet_snapshots rollup, so the valuation can lag up to ~24h behind the live economics tier; the lag is the rollup's, no longer the average's.",
            "minimum": 0,
            "type": "number"
          },
          "total_stake_tao": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Deprecated compatibility field; always null. The metagraph records subnet voting weight (alpha + tao_weight * root), not independent delegated principal. Pricing or summing that weight cannot measure holdings value; null is unavailable, never zero."
          },
          "uid_count": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "hotkey",
          "featured",
          "coldkey",
          "coldkey_identity",
          "coldkey_count",
          "subnet_count",
          "uid_count",
          "take",
          "total_stake_tao",
          "root_stake_tao",
          "alpha_stake_tao",
          "total_emission_tao",
          "nominator_count",
          "apy_estimate",
          "apy_estimate_eligible_subnet_count",
          "realized_return_1d",
          "realized_return_1d_as_of",
          "realized_return_1w",
          "realized_return_1w_as_of",
          "realized_return_1m",
          "realized_return_1m_as_of",
          "stake_dominance",
          "avg_validator_trust",
          "max_validator_trust",
          "latest_captured_at",
          "latest_block_number",
          "subnets"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "schema_version",
    "sort",
    "limit",
    "block_number",
    "captured_at",
    "validator_count",
    "validators"
  ],
  "type": "object"
}