HED JavaScript Library
    Preparing search index...

    Class HedSchemaXMLCollection

    The parsed XML of every schema in one merge group (namespace), in parse order.

    The schemas are merged while they are parsed: every entry-type parser runs over the whole collection and writes into one map, so the merged schema is built once and never copied.

    Index
    • Constructor.

      Parameters

      • baseSchema: Object

        The XML data of the base schema.

      • OptionalstandardVersion: string = ''

        The standard schema version of the group.

      • OptionalmergedSchemas: Object[] = []

        The XML data of the other merged schemas.

      • OptionalunmergedSchemas: Object[] = []

        The XML data of the unmerged schemas.

      Returns HedSchemaXMLCollection

    baseSchema: Object

    The XML data of the base schema: the standard schema when one is listed, else the first merged library.

    mergedSchemas: Object[]

    The XML data of the partnered library schemas distributed in merged form (the base excluded).

    standardVersion: string

    The version of the standard schema the group is built on ('' for an unpartnered library).

    unmergedSchemas: Object[]

    The XML data of the partnered library schemas distributed in unmerged form.

    • Iterate over the XML data of the schemas: the base first, then the merged, then the unmerged schemas.

      Returns Generator<Object, any, any>