{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ai-law-tracker-com/json-schema/ai-law-tracker-com-news-item-schema.json",
  "title": "NewsItem",
  "description": "One AI-law news headline. COPYRIGHT: only the headline, a short excerpt, the publisher name and the source URL are served — never full article text.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai-law-tracker-com-news-api-openapi.yml#/components/schemas/NewsItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "scope": {
      "type": "string",
      "enum": [
        "state",
        "federal",
        "eu",
        "global"
      ]
    },
    "jurisdiction": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "The headline."
    },
    "published_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "The publisher name."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The publisher's article URL (the source link)."
    },
    "excerpt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short summary — Developer+ only (withheld on the free/anon taste; NEVER full article text)."
    },
    "fetched_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Freshness stamp — Developer+ only."
    },
    "gated": {
      "type": "boolean",
      "description": "Present (true) on the free/anon taste envelope — the excerpt is withheld behind a Developer key."
    },
    "attribution": {
      "type": "string"
    }
  }
}