From 909ca3fdd1db627a089627d9d637aad7f7ec72bf Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 14 Dec 2021 15:56:11 +0100 Subject: [PATCH] add "cai_scale" as optional field for hiking route relations in Italy closes #293 --- data/fields/cai_scale.json | 22 ++++++++++++++++++++++ data/presets/type/route/hiking.json | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 data/fields/cai_scale.json diff --git a/data/fields/cai_scale.json b/data/fields/cai_scale.json new file mode 100644 index 00000000..b588f26d --- /dev/null +++ b/data/fields/cai_scale.json @@ -0,0 +1,22 @@ +{ + "key": "cai_scale", + "type": "combo", + "label": "Hiking Route Difficulty (Italian Alpine Club)", + "placeholder": "T, E, EE, …", + "strings": { + "options": { + "T": "T: Touristic", + "E": "E: For hikers", + "EE": "EE: For expert hikers", + "EEA": "EEA: For expert hikers with equipment", + "EAI": "EAI: Hiking in snowy conditions" + } + }, + "snake_case": false, + "caseSensitive": true, + "autoSuggestions" : false, + "customValues" : false, + "locationSet": { + "include": [ "IT" ] + } +} diff --git a/data/presets/type/route/hiking.json b/data/presets/type/route/hiking.json index 84aa13d9..14b80d5d 100644 --- a/data/presets/type/route/hiking.json +++ b/data/presets/type/route/hiking.json @@ -15,7 +15,8 @@ "colour", "descent", "distance", - "roundtrip" + "roundtrip", + "cai_scale" ], "geometry": [ "relation"