microbiomedata / nmdc-schema

National Microbiome Data Collaborative (NMDC) unified data model
https://microbiomedata.github.io/nmdc-schema/
Creative Commons Zero v1.0 Universal
26 stars 8 forks source link

reassess temporal modeling esp. for WorkflowChain #2049

Open turbomam opened 3 weeks ago

turbomam commented 3 weeks ago

we have multiple slots for starting and ending temporal boundaries, whose names contain the words "time" or "date"

some are open-ended strings and some have pattern constraints

it looks like sometimes we want to allow dates, times, or dates with times. Sometimes we may even want partial dates like 2024-01

Is the only problem that we have been inconsistent within nmdc-schema? If we could be consistent, would validation with a JSON schema type work?

see also:

turbomam commented 3 weeks ago

patterns should not accept negative dates