Skip to content

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

@happy5214

Description

@happy5214

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 groups
    • ... can appear multiple times in an event line (as separate top-level groups).
    • ... must have a single inner tag group.
    • ... may be duplicated within an event file as long as they have an equivalent inner tag group.
  • Onset and Offset tag groups
  • Event-context tag groups
    • ... must only contain zero or more inner tag groups (apart from Event-context itself).
  • Duration and Delay tag groups
    • ... may have any inner tags or tag groups not otherwise prohibited (e.g. Onset and Offset).

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions