API Reference > ecschema-metadata > Context > SchemaContext > addSchemaItem addSchemaItem Method Adds the given SchemaItem to the the SchemaContext by locating the schema, with the best match of SchemaMatchType.Exact, and addSchemaItem(schemaItem: SchemaItem): Promise<void> Parameter Type Description schemaItem SchemaItem The SchemaItem to add Returns - Promise<void> Defined in core/ecschema-metadata/src/Context.ts Line 170 Last Updated: 12 June, 2024