{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kentekenkompas-nl/json-schema/kentekenkompas-nl-meta-schema.json",
  "title": "Meta",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kentekenkompas-nl-openapi.yml#/components/schemas/Meta",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "service",
    "apiVersion",
    "schemaVersion",
    "apiSchemaVersion",
    "sourceSchemaVersion",
    "knowledgeVersion",
    "bundleContentHash",
    "releaseStatus",
    "generatedAt",
    "publishedAt",
    "modelCount",
    "answerCount",
    "sourceCount",
    "termCount",
    "language",
    "scope",
    "classifications",
    "website",
    "openapi",
    "limitations",
    "nonAffiliation",
    "access"
  ],
  "properties": {
    "service": {
      "const": "KentekenKompas Public Knowledge API"
    },
    "apiVersion": {
      "const": "v1"
    },
    "schemaVersion": {
      "const": "kk-api-v1"
    },
    "apiSchemaVersion": {
      "const": "kk-api-v1"
    },
    "sourceSchemaVersion": {
      "const": "kk-public-knowledge-v1"
    },
    "knowledgeVersion": {
      "type": "string"
    },
    "bundleContentHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "releaseStatus": {
      "type": "string",
      "enum": [
        "PUBLISHED",
        "PUBLISHED_DATE_UNKNOWN"
      ]
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Bundle generation time; not underlying data actuality."
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Publication moment when recorded; not underlying data actuality."
    },
    "modelCount": {
      "type": "integer"
    },
    "answerCount": {
      "type": "integer"
    },
    "sourceCount": {
      "type": "integer"
    },
    "termCount": {
      "type": "integer"
    },
    "language": {
      "const": "nl-NL"
    },
    "scope": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "classifications": {
      "type": "array",
      "prefixItems": [
        {
          "const": "OFFICIAL"
        },
        {
          "const": "DERIVED"
        },
        {
          "const": "EDITORIAL"
        }
      ],
      "minItems": 3,
      "maxItems": 3
    },
    "website": {
      "const": "https://kentekenkompas.nl/"
    },
    "openapi": {
      "const": "/openapi.json"
    },
    "limitations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Limitation"
      }
    },
    "nonAffiliation": {
      "type": "string"
    },
    "access": {
      "const": "anonymous"
    }
  },
  "$defs": {
    "Limitation": {
      "type": "string",
      "minLength": 1,
      "description": "Explicit constraint on scope, applicability, freshness or interpretation."
    }
  }
}