Open akoehn opened 5 years ago
I think we should have a fully-specified <date>
field with an ISO 8601 date (e.g., 2019-06
or 2019-06-21
) or date range. I would think maybe relaxNG has builtin support for this.
It supports everything you could want: YYYY-MM, YYYY, MM, YYYY-MM-DD, ...
I didn't think of changing the XML format, but this is certainly doable as well to clarify formats.
the relaxNG schema is our documentation for data sources which also checks validity.
Based on previous discussion, we should define valid values for months (see #94 and the second one where we hat days in the month field) and while at it, pages and doi seem to be low hanging fruits.
What is the regexp we want to accept for month?