inveniosoftware / dojson

Simple pythonic JSON to JSON converter.
https://dojson.readthedocs.io
Other
10 stars 29 forks source link

RFC: Adding marc tags to field descriptions #35

Open aw-bib opened 9 years ago

aw-bib commented 9 years ago

Currently, the schema for Marc21 contain the "human readable marc tag". E.g. ""title_statement" gives

"description": "Title Statement"

It would be helpful if we could also hold the numeric tag, ie. 245.

Without changing the model one could just add that to "description". Similarly, it might be very helpul to have the subfield codes in some sort of description as well (due to their uniqueness). E.g.

"title_statement": {
        "description": "Title Statement",
        "tag": "245",
        "title": {
             "type": "string",
             "subfield" : "a"
        },
fjorba commented 9 years ago

Yes, please! I wholeheartedly agree whole with @aw-bib.

aw-bib commented 7 years ago

BTW: this tag would be a very useful alternative field name for the upcoming json editor.

aw-bib commented 7 years ago

ping @tiborsimko / @jmartinm IUGW2017