{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Data Cards dataset schema",
  "description": "Date-stamped news cards that keep vendor and technology knowledge fresh for AI ingestion and retrieval.",
  "schemaVersion": "1.0.0",
  "catalogVersion": "2.0.0",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "type": "object",
  "required": [
    "slug",
    "title",
    "summary",
    "datePublished",
    "about",
    "_meta"
  ],
  "fields": [
    {
      "name": "slug",
      "type": "string",
      "required": true,
      "description": "Stable card identifier including a date suffix."
    },
    {
      "name": "title",
      "type": "string",
      "required": true,
      "description": "Headline for the card."
    },
    {
      "name": "summary",
      "type": "string",
      "required": true,
      "description": "Short machine-readable summary."
    },
    {
      "name": "datePublished",
      "type": "string",
      "required": true,
      "description": "ISO publication date."
    },
    {
      "name": "about",
      "type": "object[]",
      "required": true,
      "description": "Technology references attached to the card."
    },
    {
      "name": "mentions",
      "type": "object[]",
      "required": false,
      "description": "Vendor references attached to the card."
    },
    {
      "name": "sources",
      "type": "string[]",
      "required": false,
      "description": "External source URLs supporting the card."
    },
    {
      "name": "_meta",
      "type": "object",
      "required": true,
      "description": "Provenance and contract metadata for this record."
    }
  ],
  "properties": {
    "slug": {
      "type": "string",
      "description": "Stable card identifier including a date suffix."
    },
    "title": {
      "type": "string",
      "description": "Headline for the card."
    },
    "summary": {
      "type": "string",
      "description": "Short machine-readable summary."
    },
    "datePublished": {
      "type": "string",
      "description": "ISO publication date."
    },
    "about": {
      "type": "array",
      "description": "Technology references attached to the card."
    },
    "mentions": {
      "type": "array",
      "description": "Vendor references attached to the card."
    },
    "sources": {
      "type": "array",
      "description": "External source URLs supporting the card."
    },
    "_meta": {
      "type": "object",
      "description": "Provenance and contract metadata for this record."
    }
  },
  "distribution": {
    "datasetPath": "/datasets/cards.jsonl",
    "browsePath": "/for-ai/datasets/cards",
    "apiPath": "/api/cards",
    "entityPathPattern": "/cards/[slug]"
  }
}
