isamplesorg / metadata

Collation of metadata examples and notes for the project
https://isamplesorg.github.io/metadata/
7 stars 2 forks source link

additionalProperties and requiredProperties #168

Open smrgeoinfo opened 3 weeks ago

smrgeoinfo commented 3 weeks ago

The subschemas (e.g. Agent, SamplingEvent...) in the JSON schema currently have "additionalProperties":false, which disallows user-defined additions. I think we should consider making "additionalProperties":true, and adding more required property constraints. Currently the only required properties are "sample_identifier" and "label" on the root MaterialSampleRecord.