hed-standard / hed-specification

Specification documents for HED (Hierarchical Event Descriptors)
https://hed-specification.readthedocs.io/en/latest/index.html
Creative Commons Attribution 4.0 International
8 stars 11 forks source link

Verify top-level tag group rules in current spec #486

Open happy5214 opened 1 year ago

happy5214 commented 1 year ago

During our meeting yesterday, @VisLab and I discussed the rules regarding tags marked with the topLevelTagGroup schema attribute. The result was this description of each tag's rules:

As a clarification, a "name/value pair" in the JavaScript validator's parlance is a definition's name and (optional) placeholder value, i.e. the identifier for the definition.

VisLab commented 1 year ago

We have modified the rules for Definition so that definitions can only appear in separate keys in JSON sidecars.

As a further restriction on Definition --- certain tags such as Condition-variable and Task may only appear once in a Definition. We need an attribute for this.