{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/citeerbaar-nl/json-schema/citeerbaar-nl-envelope-schema.json",
  "title": "Envelope",
  "description": "Gedeelde omslag van elk JSON-endpoint.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citeerbaar-nl-openapi.json#/components/schemas/Envelope",
  "type": "object",
  "required": [
    "name",
    "url",
    "generated_at",
    "last_modified",
    "content_hash"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "inLanguage": {
      "type": "string"
    },
    "publisher": {
      "type": "object",
      "additionalProperties": true
    },
    "license": {
      "type": "string",
      "format": "uri"
    },
    "usage": {
      "type": "string"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Moment van deze ophaling."
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Schuift alleen op als de inhoud verandert."
    },
    "content_hash": {
      "type": "string"
    },
    "related": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "format": "uri"
      }
    }
  }
}