hed-typescript API
    Preparing search index...

    Class SchemasSpec

    A specification mapping schema prefixes to SchemaSpec objects.

    Index
    • Add a schema to this specification.

      Parameters

      Returns this

      This object.

      A schema name (a library name, or the standard schema) may appear only once in a merge group, whatever the versions (specification 3.1.2.4). A specification with a local path is not checked here: its name is known only once its file is read, and the loader checks it then.

      If the schema's name is already listed under its prefix.

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

      Parameters

      • versionSpecs: unknown

        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.