---
lang: en
title: 'API docs: rest.schemavalidatorcache'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.schemavalidatorcache.html
---

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [SchemaValidatorCache](./rest.schemavalidatorcache.md)

## SchemaValidatorCache type

Cache for AJV schema validators

<b>Signature:</b>

```typescript
export declare type SchemaValidatorCache = WeakMap<SchemaObject | ReferenceObject, // First keyed by schema object
Map<string, ajv.ValidateFunction>>;
```

