{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://name-the-game.com/schemas/ntg-sports-report/1.0.json",
  "title": "NTG Sports Reporting JSON v1.0",
  "description": "Organization-supplied sports KPIs and financial figures. Self-reported until editorial review; not an audit or verification credential.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "const": "https://name-the-game.com/schemas/ntg-sports-report/1.0.json"
    },
    "schema_version": {
      "const": "1.0"
    },
    "organization": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "identifier": {
          "type": "string",
          "minLength": 2,
          "maxLength": 180
        },
        "name": {
          "type": "string",
          "minLength": 2,
          "maxLength": 180
        },
        "type": {
          "enum": [
            "club",
            "team",
            "league",
            "federation",
            "tournament",
            "association",
            "other"
          ]
        },
        "sport": {
          "type": "string",
          "minLength": 2,
          "maxLength": 100
        },
        "website": {
          "type": "string",
          "minLength": 8,
          "maxLength": 500,
          "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
          "format": "uri"
        }
      },
      "required": [
        "identifier",
        "name",
        "type",
        "sport",
        "website"
      ]
    },
    "period": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "start": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "format": "date"
        },
        "end": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "format": "date"
        },
        "type": {
          "enum": [
            "calendar_year",
            "fiscal_year",
            "interim"
          ]
        }
      },
      "required": [
        "start",
        "end",
        "type"
      ]
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "ISO 4217 code; do not convert or combine currencies within a report."
    },
    "accounting_basis": {
      "enum": [
        "cash",
        "accrual",
        "mixed",
        "not_disclosed"
      ]
    },
    "provenance": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "basis": {
          "enum": [
            "organization_reported",
            "audited_accounts",
            "filed_accounts",
            "third_party_estimate",
            "forecast"
          ]
        },
        "source_url": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 8,
              "maxLength": 500,
              "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "document_title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "prepared_by_role": {
          "enum": [
            "organization",
            "accountant",
            "external_adviser"
          ]
        },
        "notes": {
          "type": "string",
          "minLength": 0,
          "maxLength": 1000
        }
      },
      "required": [
        "basis",
        "source_url",
        "document_title",
        "prepared_by_role",
        "notes"
      ]
    },
    "metrics": {
      "type": "array",
      "minItems": 1,
      "maxItems": 28,
      "contains": {
        "type": "object",
        "properties": {
          "status": {
            "const": "reported"
          }
        },
        "required": [
          "status"
        ]
      },
      "items": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "events",
                "description": "Completed events, separate from scheduled events."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "teams",
                "description": "Active teams or programs on the stated date; identify the sport and competition."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "athletes",
                "description": "Unique active athletes; separate participants from staff and supporters."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "staff",
                "description": "State whether headcount or full-time equivalents, and include seasonal scope."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "tickets",
                "description": "Paid tickets sold, separate from complimentary tickets and admissions."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "redemption",
                "description": "Redeemed tickets divided by eligible tickets; disclose the denominator."
              },
              "unit": {
                "const": "percent"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "attendance",
                "description": "Admissions or unique people; identify the counting method."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "supporters",
                "description": "Identify the program and paid/free status; do not merge donors, athletes or waiting lists."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "waitlist",
                "description": "List registrations, separate from tickets sold and paid members."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "followers",
                "description": "State platforms and accounts; combined totals are not unique people."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "views",
                "description": "Platform-defined views, separate from unique viewers and broadcast audience."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "broadcast",
                "description": "Identify the event, broadcaster and measurement window."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "merch_buyers",
                "description": "Report the source counting method; do not assume unique buyers."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "merch_items",
                "description": "Items ordered, separate from revenue and fulfilled orders."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "salary",
                "description": "Mean salary in the stated currency and season; not minimum or median pay."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "prizes_paid",
                "description": "Confirmed disbursements, separate from announced awards; identify team or athlete recipient."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "revenue",
                "description": "State legal entity, period, currency and accounting basis; separate estimates."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "expenses",
                "description": "Disclose included costs and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "funding",
                "description": "Separate sponsorship revenue, donations, commitments and cash received."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "development",
                "description": "Unique participants and age range; separate bursaries, access costs and program attendance."
              },
              "unit": {
                "const": "count"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "result",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "assets",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "liabilities",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "net_assets",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "cash",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "sponsorship",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "donations",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "metric": {
                "const": "athlete_pay",
                "description": "State reporting entity, period, currency and accounting basis."
              },
              "unit": {
                "const": "money"
              },
              "status": {
                "enum": [
                  "reported",
                  "not_reported",
                  "not_applicable"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "qualifier": {
                "enum": [
                  "exact",
                  "at_least",
                  "approximate"
                ]
              },
              "scope": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 500,
                    "pattern": "^https?://[^/@\\s]+\\.[^/@\\s]+",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "string",
                "minLength": 0,
                "maxLength": 1000
              }
            },
            "required": [
              "metric",
              "unit",
              "status",
              "value",
              "qualifier",
              "scope",
              "source_url",
              "notes"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "status": {
                      "const": "reported"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": "number"
                    }
                  }
                },
                "else": {
                  "properties": {
                    "value": {
                      "type": "null"
                    }
                  }
                }
              }
            ]
          }
        ]
      }
    }
  },
  "required": [
    "$schema",
    "schema_version",
    "organization",
    "period",
    "currency",
    "accounting_basis",
    "provenance",
    "metrics"
  ]
}
