{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modelmeter-xyz/json-schema/modelmeter-xyz-event-schema.json",
  "title": "Event",
  "description": "Full field definitions live in the versioned JSON Schema at `events/schema.json` (id https://modelmeter.xyz/schema/events/2.0.0).",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modelmeter-xyz-openapi.yaml#/components/schemas/Event",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "announced_at": {
      "type": "string",
      "format": "date",
      "description": "Date the change became public."
    },
    "effective_at": {
      "type": "string",
      "format": "date",
      "description": "Date the change takes effect (e.g. sunset date). Absent when immediate or N/A."
    },
    "detected_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the pipeline first detected the change. Absent on curated/backfilled entries."
    },
    "type": {
      "type": "string"
    },
    "severity": {
      "type": "string",
      "enum": [
        "breaking",
        "action_required",
        "informational"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "unverified",
        "verified",
        "corrected"
      ]
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "models": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "migration_target": {
      "type": "string",
      "description": "Provider-recommended replacement model id, for deprecations/renames/swaps."
    },
    "corrects": {
      "type": "string",
      "description": "For correction events, the id of the superseded event."
    },
    "headline": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "quote": {
            "type": "string",
            "description": "Verbatim excerpt from the source at detection time."
          },
          "archived_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date"
    },
    "updated_at": {
      "type": "string",
      "format": "date"
    }
  }
}