Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata field changes #150

Open
UcDust opened this issue May 14, 2024 · 4 comments
Open

Metadata field changes #150

UcDust opened this issue May 14, 2024 · 4 comments
Assignees

Comments

@UcDust
Copy link
Contributor

UcDust commented May 14, 2024

Item 1 mentions changes to metadata fields.

Once we have a list of the fields being changed/added, we can add them to the transform code so it can be indexed and available to the ui.

We'll also need to determine how to represent the new data in the ui once finalized.

@EricNebeker
Copy link

EricNebeker commented Jun 18, 2024

Physical description (schema:material)
Location
Language

@EricNebeker
Copy link

For schema:material, use format in the UI.

@UcDust
Copy link
Contributor Author

UcDust commented Aug 1, 2024

For the inLanguage field translation, it looks like https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags could be helpful. This registry has a standard subtag registry we may be able to use, although the tags in https://stage.dams.library.ucdavis.edu/fcrepo/rest/collection/boh/hours/book_of_hours don't seem to match the official tags in this registry. @EricNebeker do you know where those language codes came from?

@UcDust
Copy link
Contributor Author

UcDust commented Aug 28, 2024

@EricNebeker

This is what it should look like now:

Screenshot 2024-08-28 at 12 14 51

The language metadata is described here. They would look like:

"schema:material": "ff. i + 97 + i - Plain red morocco, twentieth century. Parchment - 206 x 155 mm - 21-22 long lines ruled in pale red ink",
"schema:location": "Poitiers, France",
"schema:inLanguage": {"@id": "https://www.iana.org/assignments/language-subtag-registry#cy"},

Or, for collections with multiple languages, inLanguage can be an array type:

"schema:inLanguage": [
    {"@id": "https://www.iana.org/assignments/language-subtag-registry#fr"},
    {"@id": "https://www.iana.org/assignments/language-subtag-registry#la"}
  ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants