SAEON / odp-core

Core Python library for SAEON Open Data Platform (ODP) systems development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement format validators for metadata schemas

marksparkza opened this issue · comments

commented

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.