{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thecoop-media/json-schema/thecoop-media-provider-list-schema.json",
  "title": "ProviderList",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecoop-media-data-openapi.yml#/components/schemas/ProviderList",
  "type": "object",
  "properties": {
    "page": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "This page, starting at 1."
    },
    "total_items": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "All matching records."
    },
    "total_pages": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Pages at the requested limit."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "provider"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Canonical URL. Cite this."
          },
          "name": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "review_status": {
            "description": "desk-reviewed or research-candidate. Editorial review status, not verification of every fact.",
            "type": "string"
          },
          "egg_score": {
            "description": "Evidence readiness, 1 to 5: how well public evidence is documented, not product quality. null means not rated, never zero.",
            "type": [
              "number",
              "null"
            ]
          },
          "media_record_score": {
            "description": "Reported events weighed against licences and size, 1 to 5. null means not rated.",
            "type": [
              "number",
              "null"
            ]
          },
          "summary": {
            "type": "string"
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "sponsored": {
            "type": "boolean"
          },
          "missing": {
            "description": "What THE COOP has not documented. Missing means unknown, never \"no\".",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "type",
          "slug",
          "url",
          "name"
        ],
        "additionalProperties": {}
      }
    },
    "glossary_context": {
      "description": "Approved glossary definitions for terms that appear in the response. Educational context, not evidence about a company.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {},
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "page",
    "total_items",
    "total_pages",
    "items"
  ],
  "additionalProperties": {}
}