Handlebars Objects
A Handlebars Object is a data object, that serves as the source of (context dependent) data from which a text is produced according to the specifications of a Handlebars template.
Within TEv2, Handlebars objects are used by the text conversion tools. The converter profile of each such tool specifies the type (classes) of the objects that will be presented to the converter.
See also: Converter Profile Object.
Example:
term: curator
termType: concept
glossaryTerm: "Curator (of a Scope)"
glossaryText: "the person(s) responsible for curating the <a href="/tev2-specifications/docs/terms/terminology" title="Terminology: a set of Terms that are used within a single Scope to refer to Concepts and other Semantic Units of a single Party (e.g. a Community), enabling Parties to reason and communicate ideas they have about one or more specific topics.">terminologies</a> of that <a href="/tev2-specifications/docs/terms/scope" title="Scope: the extent of the Terms, Definitions and other documentation that a Community (or Party, which we call the Owner of the Scope) needs to express, communicate and validate its Knowledge as relevant to achieving a specific subset of its Objectives.">scope</a>."
You can use this object in a template with Handlebars expressions to render its data:
- <bold>{{glossaryTerm}}</bold>: {{glossaryText}}
The object serves as the data source for the template, providing the context in which the template is rendered. The properties of this object can be accessed in the template using Handlebars expressions, allowing you to dynamically fill the template with specific data.
- <bold>Curator (of a Scope)</bold>: the person(s) responsible for curating the <a href="/tev2-specifications/docs/terms/terminology" title="Terminology: a set of Terms that are used within a single Scope to refer to Concepts and other Semantic Units of a single Party (e.g. a Community), enabling Parties to reason and communicate ideas they have about one or more specific topics.">terminologies</a> of that <a href="/tev2-specifications/docs/terms/scope" title="Scope: the extent of the Terms, Definitions and other documentation that a Community (or Party, which we call the Owner of the Scope) needs to express, communicate and validate its Knowledge as relevant to achieving a specific subset of its Objectives.">scope</a>.