---
lang: en
title: 'API docs: rest.requestbodyvalidationoptions.compiledschemacache'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.requestbodyvalidationoptions.compiledschemacache.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RequestBodyValidationOptions](./rest.requestbodyvalidationoptions.md) &gt; [compiledSchemaCache](./rest.requestbodyvalidationoptions.compiledschemacache.md)

## RequestBodyValidationOptions.compiledSchemaCache property

Custom cache for compiled schemas by AJV. This setting makes it possible to skip the default cache.

<b>Signature:</b>

```typescript
compiledSchemaCache?: SchemaValidatorCache;
```

