---
lang: en
title: 'API docs: repository.modelsettings.strict'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.modelsettings.strict.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ModelSettings](./repository.modelsettings.md) &gt; [strict](./repository.modelsettings.strict.md)

## ModelSettings.strict property

Specifies whether the model accepts only predefined properties or not

<b>Signature:</b>

```typescript
strict?: boolean | 'filter';
```

