HED JavaScript Library
    Preparing search index...

    Class SchemaSpec

    A schema version specification.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Constructor.

      Parameters

      • prefix: string

        The prefix of this schema.

      • version: string

        The version of this schema.

      • library: string = ''

        The library name of this schema.

      • localPath: string = ''

        The local path for this schema.

      Returns SchemaSpec

    Properties

    library: string

    The library name of this schema.

    localPath: string

    The local path for this schema.

    prefix: string

    The prefix of this schema.

    version: string

    The version of this schema.

    Accessors

    • get localName(): string

      Compute the name for the bundled copy of this schema.

      Returns string

    Methods

    • Parse a single schema specification string into a SchemaSpec object.

      Parameters

      • versionSpec: string

        A schema version specification string (e.g., "nickname:library_version").

      Returns SchemaSpec

      A schema specification object with parsed nickname, library, and version.

      If the schema specification format is invalid.