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: 30 August, 2025