schemaContext

GetterReadOnly

Gets the context that allows accessing the metadata (@itwin/ecschema-metadata package) of this iModel.

For runtime read-only access - class/property iteration, IS-A checks, navigating relationships, KOQ lookups - prefer getSchemaView. schemaContext remains the right choice when you need schema authoring (via @itwin/ecschema-editing), custom-attribute deserialization, or the full ecschema-metadata object graph.

schemaContext: SchemaContext

Returns - SchemaContext

Defined in

Last Updated: 27 May, 2026