{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metagraph-sh/json-schema/metagraph-sh-subnet-owner-capture-artifact-schema.json",
  "title": "SubnetOwnerCaptureArtifact",
  "description": "How much of one subnet's emission reaches its owner, over a 7d/30d/90d window, newest first — the protocol cut (L1) and emission landing on owner-held UIDs (L2), which are both chain-visible. What the owner ULTIMATELY KEEPS is not published: that depends on the stake behind those validators (L3) and on any application-layer treasury cut (L4), and `blind_spots` states both in the response. Every other stakeholder address reports `verdict: unresolved`, which is the honest default and not a negative finding. A subnet with no daily rollup resolves to a schema-stable empty series (point_count 0), never null. Mirrors GET /api/v1/subnets/{netuid}/owner-capture.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metagraph-sh-openapi.json#/components/schemas/SubnetOwnerCaptureArtifact",
  "additionalProperties": false,
  "properties": {
    "attribution": {
      "description": "Every stakeholder address staked behind the owner's validator UIDs, largest share first, each with its verdict. An empty list means no positions were captured, not that nobody is staked.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "coldkey": {
            "type": "string"
          },
          "evidence": {
            "default": [],
            "items": {
              "additionalProperties": false,
              "properties": {
                "extrinsic_hash": {
                  "description": "The extrinsic that carried the funding path or key rotation, so the link can be re-derived from chain rather than trusted.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "enum": [
                    "funding-path",
                    "chain-identity",
                    "self-declared",
                    "key-rotation",
                    "known-entity"
                  ],
                  "type": "string"
                },
                "observed_at": {
                  "description": "When this was established. Evidence goes stale: a wallet relationship true last quarter may not be true today, and a citation without a date cannot be aged out.",
                  "type": "string"
                },
                "source_url": {
                  "description": "A public page a reader can open — the subnet's own docs, repo or site. Pin a repo citation to a commit SHA; a branch moves under the claim.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "kind",
                "observed_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "stake_share": {
            "description": "This address's summed share of the stake behind the owner's validator UIDs on this subnet. Per-subnet: alpha is a different token per subnet and these fractions are never summed across netuids.",
            "type": "number"
          },
          "verdict": {
            "default": "unresolved",
            "enum": [
              "unresolved",
              "third-party",
              "affiliated",
              "owner"
            ],
            "type": "string"
          }
        },
        "required": [
          "coldkey",
          "verdict",
          "evidence",
          "stake_share"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "attribution_vocabulary": {
      "description": "The four defined verdicts, published beside the verdicts themselves so a caller can tell `unresolved` is a state rather than a missing value.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "blind_spots": {
      "description": "What this measurement cannot see, in the payload rather than only in the docs — because the payload is what gets quoted. Covers the stake behind owner validators (L3), application-layer treasury cuts (L4), and root delegation (L5).",
      "items": {
        "additionalProperties": false,
        "properties": {
          "layer": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          }
        },
        "required": [
          "layer",
          "summary"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "field_sources": {
      "additionalProperties": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "measured",
              "reconstructed"
            ],
            "type": "string"
          },
          "read_at": {
            "enum": [
              "capture",
              "chain_state.block"
            ],
            "type": "string"
          },
          "storage": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "storage"
        ],
        "type": "object"
      },
      "description": "Per-field { kind, storage } provenance map: every value is labelled measured (with the pallet-qualified storage item it was read from) or reconstructed (our arithmetic over measurements, storage null). ADR 0023 decision 5.",
      "propertyNames": {
        "type": "string"
      },
      "type": "object"
    },
    "netuid": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "owner_coldkey": {
      "description": "The subnet's declared owner coldkey, from SubtensorModule.SubnetOwner. Null when no ownership row has been captured — in which case every owner-derived field is null rather than 0.",
      "type": [
        "string",
        "null"
      ]
    },
    "owner_uid_count": {
      "anyOf": [
        {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "owner_uids": {
      "description": "The owner-held UIDs on the NEWEST day only, and who is staked behind them. Newest-day rather than unioned across the window, because a UID set unioned over a month lists neurons that have since deregistered as though they were current.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "emission_tao": {
            "description": "This UID's emission on the newest day, alpha-denominated for every non-root subnet despite the column's `_tao` suffix.",
            "type": [
              "number",
              "null"
            ]
          },
          "hotkey": {
            "type": [
              "string",
              "null"
            ]
          },
          "nominator_share": {
            "description": "`1 - owner_stake_share`: the fraction of this validator's stake that is NOT the `owner_coldkey`'s. MEASURED, and published with no interpretation attached. A high value is not evidence of anything — a custodial exchange, a delegation service, an unaffiliated whale and a team wallet all produce this identical shape. Resolving which is L3, and is not done here.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_stake_share": {
            "description": "Fraction of the stake behind this hotkey held by the `owner_coldkey` itself. Measured from nominator_positions. Null when the position set for this hotkey is not provably whole — see `stake_split_reason`.",
            "type": [
              "number",
              "null"
            ]
          },
          "stake_split_reason": {
            "description": "Why the stake split is null, when it is. A short sentence rather than a code, because the reasons are not a closed set the caller should branch on.",
            "type": [
              "string",
              "null"
            ]
          },
          "take": {
            "description": "Validator take/commission (0..1) from SubtensorModule::Delegates. GLOBAL per hotkey, not per subnet. NULL means no Delegates entry at capture — which is not 0%, and must not be rendered as one.",
            "type": [
              "number",
              "null"
            ]
          },
          "uid": {
            "type": [
              "number",
              "null"
            ]
          },
          "validator_permit": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "point_count": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "points": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "neuron_count": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "owner_attributed_share": {
            "description": "L2 as a share of the WHOLE day, `owner_uid_alpha / total_alpha`. RECONSTRUCTED, because the denominator is. ATTRIBUTED, NOT CAPTURED: this is emission that landed on owner-held UIDs, not what the owner ultimately keeps — the stake behind those UIDs (L3) and any application-layer treasury cut (L4) are outside what the chain shows. See `blind_spots`.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_attributed_share_of_uid": {
            "description": "`owner_uid_alpha / uid_alpha`. MEASURED and parameter-free — a ratio of two observed sums this response also publishes, carrying no owner-cut assumption. Null when the day emitted nothing to any UID, never 0.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_combined_share": {
            "description": "`owner_cut_share + owner_attributed_share` — the two chain-visible layers over one denominator. Named for the arithmetic it is. It is NOT 'what the owner takes', and a caller reporting it as such is asserting L3 and L4 this surface explicitly does not measure.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_cut_alpha": {
            "description": "The L1 leg in alpha, `total_alpha x owner_cut_share`. RECONSTRUCTED — it is not summed from per-UID rows, because the owner cut is paid outside the UID set entirely.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_cut_share": {
            "description": "L1 — the protocol owner cut applied to this day. `SubnetOwnerCut` is 11796/65535 (18%, not 1/6) and is UNSET on chain, so this is the runtime default rather than a read. Every subnet pays it and no subnet chooses it.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_uid_alpha": {
            "description": "L2 — emission that landed on UIDs held by the `owner_coldkey`. MEASURED from neuron_daily. Alpha-denominated: comparable within one subnet, never across subnets without the price join.",
            "type": [
              "number",
              "null"
            ]
          },
          "owner_uid_count": {
            "anyOf": [
              {
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How many UIDs on this day were held by the declared `owner_coldkey`. NULL when the `owner_coldkey` is unknown — which is a different fact from 0, and 0 is the one that reads as 'the owner runs nothing here'."
          },
          "snapshot_date": {
            "type": "string"
          },
          "total_alpha": {
            "description": "The whole day's alpha emission, `alpha_out_emission x 7200 blocks`. RECONSTRUCTED, and the same basis /owner-cut and /emission-split/history use, so the three cannot disagree about what a day of emission is.",
            "type": [
              "number",
              "null"
            ]
          },
          "uid_alpha": {
            "description": "Emission across the whole UID set on this day. NOT the day's total — the owner cut is paid outside the UID set, so this is the distributable remainder. See `total_alpha`.",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "snapshot_date"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "schema_version": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "window": {
      "description": "The resolved window label (7d/30d/90d).",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "schema_version",
    "netuid",
    "point_count",
    "points"
  ],
  "type": "object"
}