{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/probable-media/json-schema/probable-media-population-reference-catalog-item-schema.json",
  "title": "PopulationReferenceCatalogItem",
  "description": "A published population rate or cohort series used descriptively and never pooled with editorial or count/exposure rates.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/probable-media-openapi.json#/components/schemas/PopulationReferenceCatalogItem",
  "type": "object",
  "required": [
    "id",
    "title",
    "publisher",
    "population",
    "countryCode",
    "countryName",
    "kind",
    "unit",
    "methodology",
    "dimensions",
    "points",
    "sources",
    "limitations",
    "refreshPolicy",
    "latest",
    "comparison",
    "newsContribution",
    "editorialContribution",
    "comparableAcrossReferences"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "publisher": {
      "type": "string"
    },
    "population": {
      "type": "string"
    },
    "countryCode": {
      "type": "string",
      "const": "USA"
    },
    "countryName": {
      "type": "string",
      "const": "United States"
    },
    "kind": {
      "type": "string",
      "enum": [
        "cohort_survival",
        "mortality_rate",
        "road_fatality_rate"
      ]
    },
    "unit": {
      "type": "string"
    },
    "methodology": {
      "type": "string"
    },
    "dimensions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "points": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "year",
          "value"
        ],
        "properties": {
          "year": {
            "type": "integer"
          },
          "value": {
            "type": "number",
            "minimum": 0
          },
          "numerator": {
            "type": "number",
            "minimum": 0
          },
          "denominator": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "cohortYear": {
            "type": "integer"
          },
          "provisional": {
            "type": "boolean"
          }
        }
      }
    },
    "sources": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object"
      }
    },
    "limitations": {
      "type": "string"
    },
    "refreshPolicy": {
      "type": "string",
      "const": "source_release_import"
    },
    "latest": {
      "type": "object",
      "required": [
        "year",
        "value"
      ],
      "properties": {
        "year": {
          "type": "integer"
        },
        "value": {
          "type": "number"
        },
        "numerator": {
          "type": "number"
        },
        "denominator": {
          "type": "number"
        },
        "cohortYear": {
          "type": "integer"
        },
        "provisional": {
          "type": "boolean"
        }
      }
    },
    "comparison": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "object",
          "required": [
            "priorYear",
            "priorValue",
            "change",
            "relativeChange",
            "interpretation"
          ],
          "properties": {
            "priorYear": {
              "type": "integer"
            },
            "priorValue": {
              "type": "number"
            },
            "change": {
              "type": "number"
            },
            "relativeChange": {
              "type": [
                "number",
                "null"
              ]
            },
            "interpretation": {
              "type": "string",
              "description": "Descriptive source-period difference, not a significance test or forecast."
            }
          }
        }
      ]
    },
    "newsContribution": {
      "type": "number",
      "const": 0
    },
    "editorialContribution": {
      "type": "number",
      "const": 0
    },
    "comparableAcrossReferences": {
      "type": "boolean",
      "const": false
    }
  }
}