- SourceMeta name
- vergunningenbedandbreakfast
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 2.586 bytes
- Bytes bundled
- 14.777 bytes
- Health
- 57%
- Dependencies
- 2
Dependencies
- At
- /properties/_links/properties/self/$ref
- At
- /properties/geometrie/allOf/0/$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_examples
- Message
- Set a non-empty examples array at the top level of the schema to illustrate the expected data
- Pointers
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /description
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /properties/_links/description
- Name
- title_trim
- Message
- Titles should not contain leading or trailing whitespace
- Pointers
- /properties/_links/title
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /properties/categorieKleur/description
- Name
- unnecessary_allof_ref_wrapper_modern
- Message
- Wrapping `$ref` in `allOf` was only necessary in JSON Schema Draft 7 and older
- Pointers
- /properties/geometrie/allOf/0/$ref
- Name
- unnecessary_allof_wrapper
- Message
- Keywords inside `allOf` that do not conflict with the parent schema can be elevated
- Pointers
- /properties/geometrie/allOf/1/properties
- 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/geometrie/allOf/1/properties/type/enum - /properties/geometrie/allOf/1/properties/type/type
- Name
- enum_to_const
- Message
- An `enum` of a single value can be expressed as `const`
- Pointers
- /properties/geometrie/allOf/1/properties/type/enum
- Name
- non_applicable_type_specific_keywords
- Message
- Avoid keywords that don't apply to the type or types that the current subschema expects
- Pointers
- /properties/id/format
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /properties/id/description
- Name
- unknown_format_prefix
- Message
- For interoperability purposes, the JSON Schema specification advises against the use of `format` values that are not explicitly defined by the specification
- Pointers
- /properties/id/format
- Name
- description_trailing_period
- Message
- Descriptions should not end with a period to give user interfaces flexibility in presenting the text
- Pointers
- /properties/wijkNaam/description
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/gemeente-amsterdam/vergunningen-m40sfxehg/vergunningenbedandbreakfast",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Indicatie beschikbaarheid voor een Bed & Breakfastvergunning per wijk. Per wijk is een maximaal aantal vergunningen beschikbaar.",
"properties": {
"_links": {
"description": "The contents of the `bedandbreakfast._links` field. It contains all relationships with objects.",
"properties": {
"schema": {
"description": "The schema field is exposed with every record",
"format": "uri",
"readOnly": true,
"type": "string"
},
"self": {
"$ref": "./vergunningenbedandbreakfastlink"
}
},
"required": [
"schema",
"self"
],
"title": " links",
"type": "object"
},
"categorieKleur": {
"description": "Kleurnaam beschikbaarheidindicatie Bed & Breakfast vergunning.",
"type": [
"string",
"null"
]
},
"geometrie": {
"allOf": [
{
"$ref": "../_shared/geometry"
},
{
"properties": {
"coordinates": {
"items": {
"items": {
"items": {
"description": "Point in 3D space",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPolygon"
],
"type": "string"
}
}
}
],
"description": "GeoJSON geometry",
"type": "object"
},
"id": {
"description": "Unieke aanduiding van een wijk met een beschikbaarheidindicatie voor een Bed & Breakfast vergunning.",
"format": "int64",
"maximum": 9223372036854776000,
"minimum": -9223372036854776000,
"type": "integer"
},
"wijkNaam": {
"description": "Naam van de wijk waar de beschikbaarheidindicatie Bed & Breakfast van toepassing is.",
"type": [
"string",
"null"
]
}
},
"required": [
"_links",
"id"
],
"type": "object",
"x-derived-from": [
"https://api.data.amsterdam.nl/v1/vergunningen/openapi.json#/components/schemas/Vergunningenbedandbreakfast"
]
}