- SourceMeta name
- multipolygon
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 1.421 bytes
- Bytes bundled
- 1.421 bytes
- Health
- 58%
- Dependencies
- -
Health issues
- 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
- valid_examples
- Message
- Only include instances in the `examples` array that validate against the schema
- Description
- Invalid example instance at index 0
The array value was expected to contain at least 4 items but it contained 3 items
at instance location "/0/0"
at evaluate path "/items/items/minItems"
Every item in the array value was expected to validate against the given subschema
at instance location "/0"
at evaluate path "/items/items"
Every item in the array value was expected to validate against the given subschema
at instance location ""
at evaluate path "/items"
- Pointers
- /properties/coordinates/examples/0
- 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
- Name
- enum_to_const
- Message
- An `enum` of a single value can be expressed as `const`
- Pointers
- /properties/type/enum
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/digitaal-stelsel-omgevingswet-dso/omgevingsinformatie-ontsluiten-api-ow7p61mdg/multipolygon",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"coordinates": {
"examples": [
[
[
[
[
155000,
463000
],
[
155000,
466000
],
[
157000,
465000
]
],
[
[
155000,
463000
]
]
],
[
[
[
165000,
473000
],
[
165000,
476000
],
[
167000,
475000
],
[
165000,
473000
]
]
]
]
],
"items": {
"items": {
"items": {
"items": {
"multipleOf": 0.001,
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 4,
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPolygon"
],
"type": "string"
}
},
"required": [
"coordinates",
"type"
],
"title": "GeoJSON MultiPolygon",
"type": "object",
"x-derived-from": [
"https://service.omgevingswet.overheid.nl/publiek/omgevingsinformatie/api/ontsluiten/v2/openapi.json#/components/schemas/MultiPolygon"
]
}