{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/northkoreahub-com/json-schema/northkoreahub-com-change-log-schema.json",
  "title": "ChangeLog",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/northkoreahub-com-openapi.yml#/components/schemas/ChangeLog",
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string"
    },
    "site": {
      "type": "string",
      "format": "uri"
    },
    "last_verified": {
      "type": "string",
      "format": "date"
    },
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChangeEntry"
      }
    }
  },
  "required": [
    "dataset",
    "entries",
    "last_verified"
  ],
  "$defs": {
    "ChangeEntry": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date"
        },
        "title": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Source"
          }
        }
      },
      "required": [
        "date",
        "title",
        "detail",
        "sources"
      ]
    },
    "Source": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Source publication or institution name"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "name",
        "url"
      ]
    }
  }
}