{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/pdok/_shared/stylemetadata",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"accessConstraints": {
"enum": [
"unclassified",
"confidential",
"restricted",
"secret",
"topSecret"
],
"examples": [
"unclassified"
],
"type": [
"string",
"null"
]
},
"dates": {
"examples": [
{
"creation": "2019-01-01T10:05:00Z",
"publication": "2019-01-01T11:05:00Z",
"receivedOn": "2019-02-01T11:05:00Z",
"revision": "2019-02-01T11:05:00Z",
"validTill": "2019-02-01T11:05:00Z"
}
],
"properties": {
"creation": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"publication": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"receivedOn": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"revision": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"validTill": {
"format": "date-time",
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"description": {
"examples": [
"This topographic basemap style is designed to be\nused in situations with low ambient light.\n\nThe style supports datasets based on the TDS 6.1\nspecification."
],
"type": [
"string",
"null"
]
},
"id": {
"examples": [
"night"
],
"type": "string"
},
"keywords": {
"examples": [
[
"basemap",
"TDS",
"TDS 6.1",
"OGC API"
]
],
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"layers": {
"examples": [
[
{
"id": "vegetationsrf",
"sampleData": {
"href": "https://services.interactive-instruments.de/vtp/daraa/collections/vegetationsrf/items?f=json&limit=100",
"rel": "data",
"type": "application/geo+json"
},
"type": "polygon"
},
{
"attributes": [
{
"id": "f_code",
"type": "string"
}
],
"id": "hydrographycrv",
"sampleData": {
"href": "https://services.interactive-instruments.de/vtp/daraa/collections/hydrographycrv/items?f=json&limit=100",
"rel": "data",
"type": "application/geo+json"
},
"type": "line"
}
]
],
"items": {
"properties": {
"attributes": {
"$ref": "./queryables"
},
"description": {
"type": [
"string",
"null"
]
},
"id": {
"examples": [
"vegetationsrf"
],
"type": "string"
},
"sampleData": {
"$ref": "./link"
},
"type": {
"enum": [
"point",
"line",
"polygon",
"geometry",
"raster"
],
"examples": [
"polygon"
],
"type": [
"string",
"null"
]
}
},
"required": [
"id"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
]
},
"links": {
"description": "The links may reference related resources. It is recommended to include\na link to a thumbnail with link relation `preview` (specified by RFC 6903)\nand the appropriate media type in the `type` parameter.\nThe thumbnail may be an image that is published as a resource in the API,\nit may reference an appropriate raster tile, a map request, etc.",
"examples": [
[
{
"href": "https://example.org/catalog/1.0/resources/night-thumbnail.png",
"rel": "preview",
"title": "thumbnail of the night style applied to OSM data from Daraa, Syria",
"type": "image/png"
}
]
],
"items": {
"$ref": "./link"
},
"type": [
"array",
"null"
]
},
"pointOfContact": {
"examples": [
"John Doe"
],
"type": [
"string",
"null"
]
},
"scope": {
"enum": [
"style"
],
"examples": [
"style"
],
"type": [
"string",
"null"
]
},
"stylesheets": {
"examples": [
[
{
"link": {
"href": "https://example.org/catalog/1.0/styles/night?f=mapbox",
"rel": "stylesheet",
"type": "application/vnd.mapbox.style+json"
},
"native": true,
"specification": "https://docs.mapbox.com/mapbox-gl-js/style-spec/",
"tilingScheme": "GoogleMapsCompatible",
"title": "Mapbox Style",
"version": "8"
},
{
"link": {
"href": "https://example.org/catalog/1.0/styles/night?f=sld10",
"rel": "stylesheet",
"type": "application/vnd.ogc.sld+xml;version=1.0"
},
"native": false,
"title": "OGC SLD",
"version": "1.0"
}
]
],
"items": {
"properties": {
"link": {
"$ref": "./link"
},
"native": {
"type": [
"boolean",
"null"
]
},
"specification": {
"format": "url",
"type": [
"string",
"null"
]
},
"tilingScheme": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"version": {
"type": [
"string",
"null"
]
}
},
"required": [
"link"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
]
},
"title": {
"examples": [
"Topographic night style"
],
"type": [
"string",
"null"
]
},
"version": {
"examples": [
"1.0.0"
],
"type": [
"string",
"null"
]
}
},
"required": [
"id"
],
"type": "object",
"x-derived-from": [
"https://api.pdok.nl/brt/top10nl/ogc/v1/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/kadaster/brk-kadastrale-kaart/ogc/v1/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/kadaster/brt-achtergrondkaart/ogc/v1/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/lv/bag/ogc/v1-demo/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/lv/bag/ogc/v1/openapi.json#/components/schemas/style-metadata",
"https://api.pdok.nl/lv/bgt/ogc/v1/openapi.json#/components/schemas/style-metadata"
]
}