---
lang: en
title: 'API docs: repository-json-schema.model_type_keys'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository-json-schema.model_type_keys.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository-json-schema](./repository-json-schema.md) &gt; [MODEL\_TYPE\_KEYS](./repository-json-schema.model_type_keys.md)

## MODEL\_TYPE\_KEYS enum

> Warning: This API is now obsolete.
> 
> Use the helper `buildModelCacheKey` to obtain the cache key for a given set of schema options.
> 

TODO(semver-major) remove these constants in the next major version

<b>Signature:</b>

```typescript
export declare const enum MODEL_TYPE_KEYS 
```

## Enumeration Members

|  Member | Value | Description |
|  --- | --- | --- |
|  ModelOnly | <code>&quot;modelOnly&quot;</code> |  |
|  ModelWithRelations | <code>&quot;modelWithRelations&quot;</code> |  |


