openMetadataInitiative / openMINDS_core

The openMINDS core metadata model includes schemas that can be used to describe the general origin, location and content of research products.
MIT License
20 stars 19 forks source link

Introduce "_formats": "year" #183

Open UlrikeS91 opened 3 years ago

UlrikeS91 commented 3 years ago

@olinux, could we create a new "custom" format for year? At the moment, we us a regular expression (([0-9]{4})) for the property "year" in the copyright schema because draft-07 doesn't have this as a regular format (only date and/or time).

This would mean some changes to the generator as well ;)

UlrikeS91 commented 3 years ago

This can be postponed to a later point. But good to keep open for now.

lzehl commented 2 years ago

@olinux it would be good to receive your input here.

lzehl commented 1 month ago

This topic got revived. There are several fields where it would be an advantage to give a bit more flexibility in what is provided than just datetime or date.

My suggestion would be to keep a list of the following for date/datetime/time: