{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://proofscaling.org/schema/0.2/stats.schema.json",
  "title": "Stats Proof Dimension",
  "description": "What the venture reports directly beyond its filings. Issuer self-reporting with no filing-record path, unscored in version 0.2 until that data exists.",
  "type": "object",
  "$comment": "Stub for Proofscaling 0.2. Stats is issuer self-reported and has no filing-record path, so it is unscored in this version.",
  "allOf": [{ "$ref": "proof-record.schema.json" }],
  "properties": {
    "dimension": { "const": "stats" },
    "selfReported": {
      "description": "Stats is issuer self-reported. It carries no filing-record path and is unscored in version 0.2.",
      "const": true
    },
    "proofs": {
      "type": "object",
      "properties": {
        "metrics": {
          "description": "Self-reported operating metrics, each carrying its own provenance.",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": { "type": "string" },
              "reading": { "$ref": "proof-record.schema.json#/$defs/measure" },
              "provenance": { "$ref": "proof-record.schema.json#/$defs/provenance" }
            },
            "required": ["key", "reading", "provenance"],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": true
    }
  },
  "required": ["dimension", "selfReported"]
}
