addSchema Method
Adds the schema to this context. Use addSchemaPromise instead when asynchronously loading schemas.
addSchema(schema: Schema): Promise<void>
| Parameter | Type | Description | 
|---|---|---|
| schema | Schema | The schema to add to this context | 
Returns -  Promise
Defined in
- ecschema-metadata/src/Context.ts Line 269
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.