API Reference > ecschema-metadata > Context > SchemaCache > addSchemaSync addSchemaSync Method Adds a schema to the cache. Does not allow for duplicate schemas, checks using SchemaMatchType.Latest. addSchemaSync<T extends Schema<T>>(schema: T): void Parameter Type Description schema T The schema to add to the cache. Returns - void Defined in core/ecschema-metadata/src/Context.ts Line 76 Last Updated: 12 June, 2024