id-tagging-schema/data/presets/@templates
2024-04-26 13:18:32 +02:00
..
crossing crossing: Extract tactile_paving from shared @template to node crossings 2024-04-26 13:18:32 +02:00
contact.json add field for Mobile Phone number (mobile/contact:mobile) 2023-05-23 14:55:08 +02:00
internet_access.json consolidate optional fields of "POI" presets into template "presets" 2023-04-13 21:18:08 +02:00
poi.json remove opening_hours:covid19 field, closes #963 2023-08-04 16:37:27 +02:00
README.md crossing: Add readme docs on the presets/@templates 2024-04-26 13:18:32 +02:00

About @templates

Presets in @templats are a convention for a specific type of presets that are only used from inside other presets.

The only fields that really matter for these special presets are the fields.

All other properties can be copied from existing presets and ignored. They are default values that are meant to

How to use

Inside another preset, reference the template or any other preset - like "{@templates/internet_access}" in fields or moreFields. This will "copy" all the listed fields from the file data/presets/@templates/internet_access.json.

You can only "copy" (template) fields to (preset) fields and (template) moreFields to (preset) moreFields.