hedData

getGenerationForSchemaVersion(version)

Determine the HED generation for a base schema version number.

Arguments:
  • version (string) – A HED base schema version number.

Returns:

number – The HED generation the base schema belongs to.

getParsedParentTags(hedSchemas, shortTag)

Get the parent tag objects for a given short tag.

Arguments:
  • hedSchemas (Schemas) – The HED schema collection.

  • shortTag (string) – A short-form HED 3 tag.

Returns:

Map.<Schema, ParsedHedTag> – A Map mapping a {@link Schema} to a {@link ParsedHedTag} object representing the full tag.