-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I've hit a bump in terms of metadata validation while trying to add some MATOS data submission forms: these will have an inherently different metadata structure than, say, receiver detections.
To address this, would it be better to have separate metadata schema for each sub-directory of the repository, or to implement a large conditional schema (if type == detections, validate this way, etc.)?
I feel the former may be less confusing if we outline specifically what is going on. This would require shifting files around in currently-pending PRs (#10 and #11) and adjustment of the validator GH Action, so I'll wait until those are accepted/rejected/edited.
The latter doesn't seem to be possible when using Yamale, but may be possible using whip, if I'm reading this right: https://github.com/inbo/whip/blob/master/docs/syntax.md#if