HED JavaScript Library
    Preparing search index...

    Class SchemasSpec

    A specification mapping schema prefixes to SchemaSpec objects.

    Index
    • Iterate over the schema specifications.

      Returns Generator<[string, SchemaSpec[]], void, unknown>

      Each prefix and its specifications.

    • Add a schema to this specification.

      The specification is appended to its prefix's list; a schema listed twice in one group is reported when the group is built (schemaGroupInvalid).

      Parameters

      Returns SchemasSpec

      This object.

    • Parse a HED version specification into a schemas specification object.

      Parameters

      • versionSpecs: string | string[]

        The HED version specification, can be a single version string or array of version strings.

      Returns SchemasSpec

      A schemas specification object containing parsed schema specifications.

      If any schema specification is invalid.