ideditor / schema-builder

🏗🏷 Create tagging schemas for iD
ISC License
12 stars 16 forks source link

allow to specify alternative keys for some field types #98

Closed tyrasd closed 1 year ago

tyrasd commented 1 year ago

Allows to specify additional alternative keys for text, number, tel, email and url fields.

Necessary to properly define tag keys for https://github.com/openstreetmap/id-tagging-schema/issues/905.

Example

{
    "key": "email",
    "keys": [
        "email",
        "contact:email"
    ],
    "type": "email",
    "placeholder": "example@example.com",
    "label": "Email"
}

Todo: