API Reference > imodeljs-backend > iModels > IModelDb > importSchema importSchema Method Deprecated use IModelDb.importSchemas instead as it is better to import a collection of schemas together rather than individually. Import a single ECSchema. importSchema(requestContext: ClientRequestContext | AuthorizedClientRequestContext, schemaFileName: string): Promise<void> see IModelDb.importSchemas Parameter Type Description requestContext ClientRequestContext | AuthorizedClientRequestContext schemaFileName string Returns - Promise<void> Defined in core/backend/src/IModelDb.ts Line 1056 Last Updated: 13 June, 2024