SchemaFormatsProvider Class @beta
Provides default formats and kind of quantities from a given SchemaContext or SchemaLocater.
Implements
Methods
| Name | Description | |
|---|---|---|
| constructor(contextOrLocater: ISchemaLocater, unitSystem: UnitSystemKey): SchemaFormatsProvider | ||
| getFormat(name: string): Promise<undefined | FormatDefinition> | Retrieves a Format from a SchemaContext. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| context Accessor ReadOnly | SchemaContext | ||
| onFormatsChanged | BeEvent<(args: FormatsChangedArgs) => void> | Fired when formats are added, removed, or changed. | |
| unitSystem Accessor | UnitSystemKey | ||
| unitSystem Setter | unitSystem(unitSystem: UnitSystemKey): void |
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.