{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/pdok/cbs-bevolkingskernen-2021-i8hgob3hg/featuregeojsonbevolkingskernen",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"geometry": {
"nullable": true,
"oneOf": [
{
"properties": {
"coordinates": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"type": {
"enum": [
"Point"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPoint"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 2,
"type": "array"
},
"type": {
"enum": [
"LineString"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiLineString"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 4,
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"Polygon"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 4,
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPolygon"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"type": "object"
},
{
"properties": {
"geometries": {
"items": {},
"type": "array"
},
"type": {
"enum": [
"GeometryCollection"
],
"type": "string"
}
},
"required": [
"geometries",
"type"
],
"type": "object"
}
]
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"links": {
"items": {
"$ref": "../_shared/link"
},
"type": "array"
},
"properties": {
"$ref": "./propertiesgeojsonbevolkingskernen"
},
"type": {
"enum": [
"Feature"
],
"type": "string"
}
},
"required": [
"geometry",
"properties",
"type"
],
"type": "object",
"x-derived-from": [
"https://api.pdok.nl/cbs/bevolkingskernen-2021/ogc/v1/openapi.json#/components/schemas/featureGeoJSON_bevolkingskernen"
]
}