- SourceMeta name
- queryabledatetime
- Base dialect
- https://json-schema.org/draft/2020-12/schema
- SourceMeta dialect
- https://json-schema.org/draft/2020-12/schema
- Bytes
- 3.704 bytes
- Bytes bundled
- 3.704 bytes
- Health
- 67%
- 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_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
- unnecessary_allof_wrapper
- Message
- Keywords inside `allOf` that do not conflict with the parent schema can be elevated
- Pointers
- /allOf/0/required - /allOf/0/discriminator
- 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/mediaTypes/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
{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/pdok/_shared/queryabledatetime",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"discriminator": {
"mapping": {
"boolean": "queryable-boolean",
"date": "queryable-date",
"dateTime": "queryable-dateTime",
"enum": "queryable-enum",
"integer": "queryable-number",
"number": "queryable-number",
"string": "queryable-string",
"uri": "queryable-string"
},
"propertyName": "type"
},
"properties": {
"description": {
"description": "a description of the property",
"type": [
"string",
"null"
]
},
"id": {
"description": "the property name for use in expressions",
"type": [
"string",
"null"
]
},
"mediaTypes": {
"description": "In cases where a property is available only in a subset of the\nsupported feature encodings, the list of the media types of the\nencodings can be specified.\n\nThis capabilitiy is also needed for cases where the names of\nproperties may differ between feature encodings. For example, \nidentifiers in an XML/GML encoding may include a namespace, \nin GeoJSON or MVT this is not the case. \n\nThere are other reasons, too. For example, the property identifier\nin a Shapefile may be different because of length restrictions.",
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"required": {
"default": false,
"description": "indicator whether the property is always present in features",
"type": [
"boolean",
"null"
]
},
"title": {
"description": "the title of the property for presentation to a human user",
"type": [
"string",
"null"
]
},
"type": {
"description": "the data type of the property",
"enum": [
"string",
"uri",
"enum",
"number",
"integer",
"date",
"dateTime",
"boolean"
],
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"type"
],
"type": [
"object",
"null"
]
},
{
"properties": {
"range": {
"description": "a range of valid values; open range can be expressed using `null`",
"items": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
}
},
"type": [
"object",
"null"
]
}
],
"examples": [
{
"description": "the date of the last update of the feature",
"id": "lastUpdate",
"range": [
"2018-01-01T00:00:00Z",
null
],
"type": "dateTime"
}
],
"x-derived-from": [
"https://api.pdok.nl/brt/top10nl/ogc/v1/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/kadaster/brk-kadastrale-kaart/ogc/v1/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/kadaster/brt-achtergrondkaart/ogc/v1/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/lv/bag/ogc/v1-demo/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/lv/bag/ogc/v1/openapi.json#/components/schemas/queryable-dateTime",
"https://api.pdok.nl/lv/bgt/ogc/v1/openapi.json#/components/schemas/queryable-dateTime"
]
}