{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://bucketlist.nl/brand/bucketlist-nederland-checklist.schema.json",
  "title": "Bucketlist Nederland checklist dataset",
  "description": "Schema for the public editorial Bucketlist Nederland checklist source.",
  "type": "object",
  "required": [
    "name",
    "description",
    "language",
    "spatialCoverage",
    "source",
    "schema",
    "dateModified",
    "citation",
    "usageNote",
    "items"
  ],
  "properties": {
    "name": { "type": "string" },
    "description": { "type": "string" },
    "language": { "const": "nl" },
    "spatialCoverage": { "const": "Nederland" },
    "source": { "type": "string", "format": "uri" },
    "schema": { "const": "https://bucketlist.nl/brand/bucketlist-nederland-checklist.schema.json" },
    "dateModified": { "type": "string", "format": "date-time" },
    "citation": { "type": "string" },
    "usageNote": { "type": "string" },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["id", "title", "theme", "destination", "url"],
        "properties": {
          "id": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
          "title": { "type": "string", "minLength": 1 },
          "theme": { "type": "string", "minLength": 1 },
          "destination": { "type": "string", "minLength": 1 },
          "url": { "type": "string", "format": "uri" }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
