constructor Method

SchemaFormatsProvider(contextOrLocater: ISchemaLocater, unitSystem?: UnitSystemKey): SchemaFormatsProvider

Parameter Type Description
contextOrLocater ISchemaLocater The SchemaContext or a different ISchemaLocater implementation used to retrieve the schema. The SchemaContext
class implements the ISchemaLocater interface. If the provided locater is not a SchemaContext instance a new SchemaContext will be
created and the locater will be added.
unitSystem UnitSystemKey Optional unit system used to lookup a default format through a schema specific algorithm, when the format retrieved is associated with a KindOfQuantity.
If not provided, the default presentation format will be used directly without matching unit systems.

Returns - SchemaFormatsProvider

Defined in

Last Updated: 10 March, 2026