Add common *_name-tags as global fields (#215)

Add `alt_name`, `loc_name`, `nat_name`, `official_name`, `reg_name`, `short_name` as global fields (which makes them `moreFields` for every preset) with the `prerequisiteTag` of `name` being present.
This commit is contained in:
Minh Nguyễn 2024-07-13 22:29:31 -07:00 committed by GitHub
parent 4a3c6f6325
commit a453c9514a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 105 additions and 0 deletions

16
data/fields/alt_name.json Normal file
View file

@ -0,0 +1,16 @@
{
"key": "alt_name",
"type": "localized",
"label": "Alternative Name",
"universal": true,
"terms": [
"aka",
"alias",
"also known as",
"nonstandard name",
"secondary name"
],
"prerequisiteTag": {
"key": "name"
}
}

15
data/fields/loc_name.json Normal file
View file

@ -0,0 +1,15 @@
{
"key": "loc_name",
"type": "localized",
"label": "Local Name",
"universal": true,
"terms": [
"colloquial name",
"common name",
"informal name",
"nickname"
],
"prerequisiteTag": {
"key": "name"
}
}

View file

@ -0,0 +1,9 @@
{
"key": "nat_name",
"type": "localized",
"label": "National Name",
"universal": true,
"prerequisiteTag": {
"key": "name"
}
}

View file

@ -0,0 +1,14 @@
{
"key": "official_name",
"type": "localized",
"label": "Official Name",
"universal": true,
"terms": [
"formal name",
"full name",
"legal name"
],
"prerequisiteTag": {
"key": "name"
}
}

View file

@ -0,0 +1,9 @@
{
"key": "reg_name",
"type": "localized",
"label": "Regional Name",
"universal": true,
"prerequisiteTag": {
"key": "name"
}
}

View file

@ -0,0 +1,14 @@
{
"key": "short_name",
"type": "localized",
"label": "Short Name",
"universal": true,
"terms": [
"abbreviation",
"acronym",
"initialism"
],
"prerequisiteTag": {
"key": "name"
}
}