From cebf05823e3c807087b832affaba8da1f120397b Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Sun, 28 Apr 2019 23:52:30 +0200 Subject: [PATCH] Mention reference in the readme for presets --- data/presets/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/data/presets/README.md b/data/presets/README.md index 7eb8094ff..1f313c3aa 100644 --- a/data/presets/README.md +++ b/data/presets/README.md @@ -199,6 +199,17 @@ The ID of a preset that is preferable to this one. iD's validator will flag feat When possible, use `deprecated.json` instead to specify upgrade paths for old tags. This property is meant for special cases, such as upgrades with geometry requirements. +##### `reference` + +A key and optionally a value to link to the wiki documentation for this preset. Only necessary if the preset consists of several tags. + +For example, +```javascript +"reference": { + "key": "tower:type", + "value": "communication" +} +``` ## Fields