{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kentekenkompas-nl/json-schema/kentekenkompas-nl-model-knowledge-schema.json",
  "title": "ModelKnowledge",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kentekenkompas-nl-openapi.yml#/components/schemas/ModelKnowledge",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "schemaVersion",
    "modelKey",
    "brand",
    "model",
    "canonicalRoute",
    "citationUrl",
    "vehicleRole",
    "bodyProfile",
    "configurationProfile",
    "vehicleFormContext",
    "namedVariants",
    "powertrainProfile",
    "useFit",
    "directAnswerId",
    "insights",
    "buyerActions",
    "riskQuestion",
    "peers",
    "evidenceReferences",
    "sourceIds",
    "freshness",
    "coverage",
    "limitations"
  ],
  "properties": {
    "schemaVersion": {
      "const": "kk-public-knowledge-v1"
    },
    "modelKey": {
      "type": "string"
    },
    "brand": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "canonicalRoute": {
      "type": "string"
    },
    "citationUrl": {
      "type": "string",
      "format": "uri"
    },
    "vehicleRole": {
      "type": "string"
    },
    "bodyProfile": {
      "type": "object",
      "description": "Validated body taxonomy; no invented dominantBody or deferred distribution."
    },
    "configurationProfile": {
      "type": "object"
    },
    "vehicleFormContext": {
      "type": "object"
    },
    "namedVariants": {
      "type": "array"
    },
    "powertrainProfile": {
      "type": "object"
    },
    "useFit": {
      "type": "object",
      "description": "Editorial suitability context, explicitly classified inside the object."
    },
    "directAnswerId": {
      "type": "string"
    },
    "insights": {
      "type": "array"
    },
    "buyerActions": {
      "type": "array"
    },
    "riskQuestion": {
      "type": "object",
      "description": "Classified buyer-risk question with evidence needs; not a score."
    },
    "peers": {
      "type": "array",
      "description": "Validated comparison relations; NOT_PUBLICLY_USEFUL is never exported."
    },
    "evidenceReferences": {
      "type": "array"
    },
    "sourceIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "freshness": {
      "$ref": "#/$defs/Freshness"
    },
    "coverage": {
      "$ref": "#/$defs/Coverage"
    },
    "limitations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Limitation"
      }
    }
  },
  "$defs": {
    "Coverage": {
      "type": "object",
      "description": "Machine-readable scope and completeness boundaries supplied by the canonical bundle.",
      "additionalProperties": true
    },
    "Freshness": {
      "type": "object",
      "additionalProperties": false,
      "description": "Independent content dates. generatedAt only describes bundle generation and never substitutes for dataAsOf, sourceCheckedAt or editorialReviewedAt.",
      "properties": {
        "dataAsOf": {
          "type": "string",
          "format": "date",
          "description": "Date represented by the underlying data."
        },
        "sourceCheckedAt": {
          "type": "string",
          "format": "date",
          "description": "Date the source was checked."
        },
        "editorialReviewedAt": {
          "type": "string",
          "format": "date",
          "description": "Date editorial interpretation was reviewed."
        },
        "generatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Bundle generation timestamp; not proof of source actuality."
        }
      }
    },
    "Limitation": {
      "type": "string",
      "minLength": 1,
      "description": "Explicit constraint on scope, applicability, freshness or interpretation."
    }
  }
}