- SourceMeta name
- layersarray
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 1.555 bytes
- Bytes bundled
- 2.510 bytes
- Health
- 72%
- Dependencies
- 1
Dependencies
- At
- /properties/paint/$ref
Health issues
- Name
- top_level_title
- Message
- Set a concise non-empty title at the top level of the schema to explain what the definition is about
- Pointers
- Name
- top_level_description
- Message
- Set a non-empty description at the top level of the schema to explain what the definition is about in detail
- Pointers
- Name
- top_level_examples
- Message
- Set a non-empty examples array at the top level of the schema to illustrate the expected data
- Pointers
- Name
- simple_properties_identifiers
- Message
- Set `properties` to identifier names that can be easily mapped to programming languages (matching [A-Za-z_][A-Za-z0-9_]*)
- Pointers
- /properties/source-layer
- Name
- enum_with_type
- Message
- Setting `type` alongside `enum` is considered an anti-pattern, as the enumeration choices already imply their respective types
- Pointers
- /properties/type/enum - /properties/type/type
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/pdok/_shared/layersarray",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"examples": [
"1"
],
"type": "string"
},
"layout": {
"type": "object"
},
"paint": {
"$ref": "./paint"
},
"source": {
"examples": [
"daraa"
],
"type": "string"
},
"source-layer": {
"examples": [
"vegetationsrf"
],
"type": "string"
},
"type": {
"enum": [
"fill",
"line",
"symbol",
"circle",
"heatmap",
"fill-extrusion",
"raster",
"hillshade",
"background"
],
"examples": [
"fill"
],
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object",
"x-derived-from": [
"https://api.pdok.nl/brt/top10nl/ogc/v1/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/kadaster/brk-kadastrale-kaart/ogc/v1/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/kadaster/brt-achtergrondkaart/ogc/v1/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/lv/bag/ogc/v1-demo/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/lv/bag/ogc/v1/openapi.json#/components/schemas/layers-array",
"https://api.pdok.nl/lv/bgt/ogc/v1/openapi.json#/components/schemas/layers-array"
]
}