From 87d7b90f93c822c879392466016c55b0e7932905 Mon Sep 17 00:00:00 2001 From: bompstable <3259357+bompstable@users.noreply.github.com> Date: Fri, 31 May 2024 09:46:51 +0100 Subject: [PATCH] `amenity=bench`: Add `armrest` field, move `color` to `moreFields` (#1227) --- data/fields/armrest.json | 12 ++++++++++++ data/presets/amenity/bench.json | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 data/fields/armrest.json diff --git a/data/fields/armrest.json b/data/fields/armrest.json new file mode 100644 index 000000000..aa2fbe3a7 --- /dev/null +++ b/data/fields/armrest.json @@ -0,0 +1,12 @@ +{ + "key": "armrest", + "type": "check", + "label": "Armrests", + "strings": { + "options": { + "undefined": "Unknown", + "yes": "One or more armrests", + "no": "No armrests" + } + } +} diff --git a/data/presets/amenity/bench.json b/data/presets/amenity/bench.json index 3a245608c..81dcdbf15 100644 --- a/data/presets/amenity/bench.json +++ b/data/presets/amenity/bench.json @@ -2,11 +2,12 @@ "icon": "temaki-bench", "fields": [ "backrest", + "armrest", "material", - "seats", - "colour" + "seats" ], "moreFields": [ + "colour", "access_simple", "direction", "height",