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

Implement format validators for metadata schemas #2

Open
marksparkza opened this issue Nov 9, 2023 · 0 comments
Open

Implement format validators for metadata schemas #2

marksparkza opened this issue Nov 9, 2023 · 0 comments

Comments

@marksparkza
Copy link
Member

marksparkza commented Nov 9, 2023

The following format keyword values are used in our metadata schemas:

  • date
  • date-range
  • datetime
  • datetime-range
  • year
  • year-range
  • yearmonth
  • yearmonth-range
  • uri
  • url

These are not currently validated. This recently broke rendering in the SAEON catalogue where a url was present in a metadata record with a value of http://. Although metadata invalidity does not necessarily prevent publication (non-harvested records need only be QC'd by curators), this particular record should have been flagged as invalid in the ODP admin interface.

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

1 participant