- SourceMeta name
- polygon
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 6.605 bytes
- Bytes bundled
- 6.605 bytes
- Health
- 55%
- Dependencies
- -
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_examples
- Message
- Set a non-empty examples array at the top level of the schema to illustrate the expected data
- Pointers
- Name
- unnecessary_allof_wrapper
- Message
- Keywords inside `allOf` that do not conflict with the parent schema can be elevated
- Pointers
- /allOf/0/type - /allOf/0/required - /allOf/0/discriminator - /allOf/0/description
- Name
- unknown_keywords_prefix
- Message
- Future versions of JSON Schema will refuse to evaluate unknown keywords or custom keywords from optional vocabularies that don't have an x- prefix
- Pointers
- /allOf/0/discriminator
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /allOf/0/properties/coordinates/description
- Name
- enum_with_type
- Message
- Setting `type` alongside `enum` is considered an anti-pattern, as the enumeration choices already imply their respective types
- Pointers
- /allOf/0/properties/type/enum - /allOf/0/properties/type/type
- Name
- enum_with_type
- Message
- Setting `type` alongside `enum` is considered an anti-pattern, as the enumeration choices already imply their respective types
- Pointers
- /allOf/1/properties/type/enum - /allOf/1/properties/type/type
- Name
- enum_to_const
- Message
- An `enum` of a single value can be expressed as `const`
- Pointers
- /allOf/1/properties/type/enum
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/gemeente-amsterdam/_shared/polygon",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"description": "GeoJSON geometry",
"discriminator": {
"propertyName": "type"
},
"properties": {
"coordinates": {
"description": "Based on the geometry type, a point or collection of points.",
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"type": {
"description": "the geometry type",
"enum": [
"Point",
"LineString",
"Polygon",
"MultiPoint",
"MultiLineString",
"MultiPolygon"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"description": "Point in 3D space",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"Polygon"
],
"type": "string"
}
}
}
],
"description": "GeoJSON geometry",
"type": "object",
"x-derived-from": [
"https://api.data.amsterdam.nl/v1/afvalwijzer/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/bbga/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/beheerkaart/basis/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/beheerkaart/cbs_grid/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/belastingen/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/beschermdestadsdorpsgezichten/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/bouwstroompunten/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/bulk_data/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/crowdmonitor/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/datakwaliteit/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/betrokkenbij/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/betrokkenbijm/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/bevatverblijfsobjecten/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/bevatverblijfsobjectenm/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/isontstaanuit/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/isontstaanuitm/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/pandligtin/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/dataverkenner/pandligtinm/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/duurzaamheid/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/energieverbruik_mra/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/gebieden/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/grex/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/hoofdroutes/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/horeca/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/huishoudelijkafval/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/indicatoren/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/leidingeninfrastructuur/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/loopfietsnetwerk/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/meetbouten/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/meldingen/acc/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/meldingen/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/milieuzones2025/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/nieuwbouwplannen/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/overlastgebieden/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/parkeervakken/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/precariobelasting/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/primair_onderwijs_loopafstanden/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/rdw/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/referentiekalender/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/risicozones/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/schiphol/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/sport/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/statistieken/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/stroomstoringen/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/subsidies/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/uitstootvrije_zones/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/verkiezingen/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/water/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/wegenbestand/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/wegenbestand/zone_zwaar_verkeer/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/woz/openapi.json#/components/schemas/Polygon",
"https://api.data.amsterdam.nl/v1/ziekte_plagen_exoten_groen/openapi.json#/components/schemas/Polygon"
]
}