Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2024-10-01 16:47:12 +02:00
parent 1a3bb7bb27
commit a70e2272f7
16 changed files with 1906 additions and 2478 deletions

View file

@ -58,6 +58,17 @@
],
"description": "A description for the features shown in this layer.\nThis often resembles the introduction of the wiki.osm.org-page for this feature."
},
{
"path": [
"searchTerms"
],
"required": false,
"hints": {
"question": "What are some other terms used to describe these objects?"
},
"type": "object",
"description": "This is used in the search functionality"
},
{
"path": [
"source"
@ -552,10 +563,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -1043,7 +1064,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -1607,7 +1641,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -1698,6 +1745,11 @@
"then": "addSmall",
"icon": "addSmall"
},
{
"if": "value=airport",
"then": "airport",
"icon": "airport"
},
{
"if": "value=brick_wall_round",
"then": "brick_wall_round",
@ -1708,6 +1760,16 @@
"then": "brick_wall_square",
"icon": "brick_wall_square"
},
{
"if": "value=building_office_2",
"then": "building_office_2",
"icon": "building_office_2"
},
{
"if": "value=building_storefront",
"then": "building_storefront",
"icon": "building_storefront"
},
{
"if": "value=bug",
"then": "bug",
@ -1778,6 +1840,11 @@
"then": "gear",
"icon": "gear"
},
{
"if": "value=globe_alt",
"then": "globe_alt",
"icon": "globe_alt"
},
{
"if": "value=gps_arrow",
"then": "gps_arrow",
@ -1808,6 +1875,11 @@
"then": "home",
"icon": "home"
},
{
"if": "value=house",
"then": "house",
"icon": "house"
},
{
"if": "value=key",
"then": "key",
@ -1913,11 +1985,21 @@
"then": "teardrop_with_hole_green",
"icon": "teardrop_with_hole_green"
},
{
"if": "value=train",
"then": "train",
"icon": "train"
},
{
"if": "value=triangle",
"then": "triangle",
"icon": "triangle"
},
{
"if": "value=user_circle",
"then": "user_circle",
"icon": "user_circle"
},
{
"if": "value=wifi",
"then": "wifi",
@ -2552,10 +2634,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -3064,7 +3156,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -3272,10 +3377,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -3784,7 +3899,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -3989,10 +4117,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -4501,7 +4639,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -4689,10 +4840,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -5201,7 +5362,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -5390,10 +5564,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -5902,7 +6086,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -6096,10 +6293,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -6608,7 +6815,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -6797,10 +7017,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -7309,7 +7539,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -7498,10 +7741,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -8010,7 +8263,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -8207,10 +8473,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -8723,7 +8999,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -8920,10 +9209,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"additionalProperties": false
@ -9436,7 +9735,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -10383,6 +10695,10 @@
"if": "value=bench_at_pt",
"then": "bench_at_pt - A layer showing all public-transport-stops which do have a bench"
},
{
"if": "value=bicycle_counter",
"then": "bicycle_counter - Layer showing monitoring stations for bicycle traffic"
},
{
"if": "value=bicycle_library",
"then": "bicycle_library - A facility where bicycles can be lent for longer period of times"
@ -10583,10 +10899,18 @@
"if": "value=food_courts",
"then": "food_courts - Food courts with a variety of food options."
},
{
"if": "value=geocoded_image",
"then": "geocoded_image - undefined"
},
{
"if": "value=ghost_bike",
"then": "ghost_bike - A layer showing memorials for cyclists, killed in road accidents"
},
{
"if": "value=ghostsign",
"then": "ghostsign - Layer showing disused signs on buildings"
},
{
"if": "value=governments",
"then": "governments - This layer show governmental buildings. It was setup as commissioned layer for the client of OSOC '22"
@ -10767,6 +11091,10 @@
"if": "value=playground_equipment",
"then": "playground_equipment - Layer showing playground equipment"
},
{
"if": "value=police",
"then": "police - Many types of police facilities "
},
{
"if": "value=postboxes",
"then": "postboxes - The layer showing postboxes."
@ -10811,6 +11139,10 @@
"if": "value=school",
"then": "school - Schools giving primary and secondary education and post-secondary, non-tertiary education. Note that this level of education does not imply an age of the pupiles"
},
{
"if": "value=search",
"then": "search - Priviliged layer showing the search results"
},
{
"if": "value=selected_element",
"then": "selected_element - Highlights the currently selected element. Override this layer to have different colors"
@ -11125,7 +11457,7 @@
]
},
"labels": {
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer",
"description": "What labels should be applied on this tagRendering?\n\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\n\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search",
"type": "array",
"items": {
"type": "string"
@ -11237,10 +11569,20 @@
},
"filter": {
"description": "This tagRendering can introduce this builtin filter",
"type": "array",
"items": {
"type": "string"
}
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
]
}
},
"required": [
@ -11991,6 +12333,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -12251,7 +12597,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -12578,7 +12924,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -13297,6 +13656,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -13570,7 +13933,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -13910,7 +14273,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -14650,6 +15026,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -14923,7 +15303,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -15263,7 +15643,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -16007,6 +16400,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -16293,7 +16690,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -16646,7 +17043,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -17365,6 +17775,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -17638,7 +18052,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -17978,7 +18392,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -18722,6 +19149,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -19008,7 +19439,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -19361,7 +19792,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
},
{
@ -19398,7 +19842,7 @@
]
}
],
"description": "All the extra questions for filtering.\nIf a string is given, mapComplete will search in\n1. The tagrenderings for a match on ID and use the mappings as options\n2. search 'filters.json' for the appropriate filter or\n3. will try to parse it as `layername.filterid` and us that one."
"description": "All the extra questions for filtering.\nIf a string is given, mapComplete will search in\n1. The tagrenderings for a match on ID and use the mappings as options\n2. search 'filters.json' for the appropriate filter or\n3. will try to parse it as `layername.filterid` and us that one.\nNote: adding \"#filter\":\"no-auto\" will disable the filters added by tagRenderings"
},
{
"path": [
@ -19535,6 +19979,15 @@
"type": "string",
"description": "Used for comments or to disable a check\n\"ignore-possible-duplicate\": disables a check in `DetectDuplicateFilters` which complains that a filter can be replaced by a filter from the `filters`-library-layer"
},
{
"path": [
"#filter"
],
"required": false,
"hints": {},
"type": "string",
"description": "Set this to disable the feature that tagRenderings can introduce filters"
},
{
"path": [
"deletion"
@ -20223,5 +20676,24 @@
},
"type": "boolean",
"description": "When a changeset is made, a 'distance to object'-class is written to the changeset.\nFor some particular themes and layers, this might leak too much information, and we want to obfuscate this"
},
{
"path": [
"snapName"
],
"required": false,
"hints": {
"group": "hidden",
"question": "When a feature is snapped to this name, how should this item be called?"
},
"type": [
{
"$ref": "#/definitions/Record<string,string>"
},
{
"type": "string"
}
],
"description": "In the move wizard, the option `snap object onto {snapName}` is shown"
}
]

File diff suppressed because it is too large Load diff

View file

@ -672,6 +672,10 @@
{
"if": "value=currency",
"then": "<b>currency</b> Validates monetary amounts"
},
{
"if": "value=regex",
"then": "<b>regex</b> Validates a regex"
}
]
},
@ -919,7 +923,7 @@
"required": false,
"hints": {},
"type": "array",
"description": "A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer"
"description": "What labels should be applied on this tagRendering?\nA list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer\nSpecial values:\n- \"hidden\": do not show this tagRendering. Useful in it is used by e.g. an accordion\n- \"description\": this label is a description used in the search"
},
{
"path": [
@ -1233,7 +1237,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
}
]

View file

@ -462,7 +462,20 @@
],
"required": false,
"hints": {},
"type": "array",
"type": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"enum": [
true
],
"type": "boolean"
}
],
"description": "This tagRendering can introduce this builtin filter"
}
]