Open happy5214 opened 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.
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:Definition
tag groupsOnset
andOffset
tag groupsDef
orDef-expand
group name/value pairs.Onset
s only).Event-context
tag groupsEvent-context
itself).Duration
andDelay
tag groupsOnset
andOffset
).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.