mirror of
https://github.com/FoggedLens/id-tagging-schema.git
synced 2026-02-13 09:12:46 +00:00
add secondary memorial:addr:* field for when the subtag schema is used
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"type": "text",
|
||||
"key": "memorial:addr",
|
||||
"label": "Nearest Building Address"
|
||||
"label": "Nearest Building Address",
|
||||
"prerequisiteTag": {
|
||||
"keyNot": "memorial:addr:housenumber"
|
||||
}
|
||||
}
|
||||
|
||||
16
data/fields/memorial/addr_subtags.json
Normal file
16
data/fields/memorial/addr_subtags.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "address",
|
||||
"key": "memorial:addr",
|
||||
"keys": [
|
||||
"memorial:addr:city",
|
||||
"memorial:addr:housename",
|
||||
"memorial:addr:housenumber",
|
||||
"memorial:addr:place",
|
||||
"memorial:addr:postcode",
|
||||
"memorial:addr:street"
|
||||
],
|
||||
"label": "{memorial/addr}",
|
||||
"prerequisiteTag": {
|
||||
"key": "memorial:addr:housenumber"
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
],
|
||||
"moreFields": [
|
||||
"memorial/addr",
|
||||
"memorial/addr_subtags",
|
||||
"subject/wikidata",
|
||||
"image",
|
||||
"wikimedia_commons",
|
||||
|
||||
Reference in New Issue
Block a user