Skip to content

Instantly share code, notes, and snippets.

@JeroenDeDauw
Created September 28, 2021 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeroenDeDauw/0e63b15a1522dab12fc1498020c1d11b to your computer and use it in GitHub Desktop.
Save JeroenDeDauw/0e63b15a1522dab12fc1498020c1d11b to your computer and use it in GitHub Desktop.
{
"fields": {
"P58": {
"label": "Person – preferred name",
"description": "GND data field for the preferred name of a person or a family",
"aliases": [
"PICA+ 028A",
"PICA3 100",
"MARC 21 100"
],
"viewLink": "https://doku.wikibase.wiki/wiki/datafield?property=P58",
"editLink": "https://doku.wikibase.wiki/wiki/Property:P58",
"subfields": {
"P41": {
"label": "Personal name",
"occurrence": false,
"description": "Hinweis zur Erfassung von Personen, die nur unter einem Nachnamen bekannt sind"
},
"P21": {
"label": "Surname",
"occurrence": false
}
},
"codings": {
"PICA+": {
"fieldName": "028A"
},
"PICA3": {
"fieldName": "100"
},
"MARC 21": {
"fieldName": "100"
}
},
"rulesOfUse": {
},
"examples": {
"Q626": {
"label": "Sarah Hartmann"
}
}
},
"P150": {
"label": "Identification number"
}
}
}
@tbauer2811
Copy link

tbauer2811 commented Sep 29, 2021

* instead of "fields" I would suggest "gndfields"
* instead of "subfields" I would suggest "gndsubfields"

That is your call, but I'd not do this, since the whole JSON already is GND specific and is returned by a GND specific API. In other words, there will never be non-GND stuff in there so that the subfields are GND subfields should be clear from the context.

Okay makes sense, I agree with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment