{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://proofscaling.org/schema/0.2/streak.schema.json",
  "title": "Streak Proof Dimension",
  "description": "How long and how consistently the venture has reported. Cadence, consecutive periods, and operating history.",
  "type": "object",
  "$comment": "Stub for Proofscaling 0.2.",
  "allOf": [{ "$ref": "proof-record.schema.json" }],
  "properties": {
    "dimension": { "const": "streak" },
    "proofs": {
      "type": "object",
      "properties": {
        "reportingPeriods": {
          "description": "The count of annual-report periods on file.",
          "type": "integer",
          "minimum": 0
        },
        "consecutivePeriods": {
          "description": "The longest unbroken run of consecutive reporting periods.",
          "type": "integer",
          "minimum": 0
        },
        "operatingYears": {
          "description": "Years of operating history since formation.",
          "type": "number",
          "minimum": 0
        },
        "cadenceHeld": {
          "description": "Whether the reporting cadence held across the declared periods, with no gap.",
          "type": "boolean"
        }
      },
      "required": ["reportingPeriods"],
      "additionalProperties": true
    }
  },
  "required": ["dimension", "proofs"]
}
