{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mukoko-com/json-schema/mukoko-com-article-schema.json",
  "title": "Article",
  "description": "A news article, after Schema.org NewsArticle. The text itself stays with its publisher; `url` links to it.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mukoko-com-openapi.json#/components/schemas/Article",
  "type": "object",
  "required": [
    "id",
    "slug",
    "headline",
    "alternativeHeadline",
    "description",
    "section",
    "url",
    "image",
    "language",
    "datePublished",
    "dateModified",
    "wordCount",
    "publisherId",
    "sourceId",
    "authorIds",
    "categoryIds",
    "tagIds"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "headline": {
      "type": [
        "string",
        "null"
      ]
    },
    "alternativeHeadline": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "section": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The article on its publisher's site."
    },
    "image": {
      "type": "array",
      "items": {}
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "BCP 47 language tag."
    },
    "datePublished": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "dateModified": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "wordCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "publisherId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The feed the article was collected from."
    },
    "authorIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "categoryIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}