@loopback/docs
Version:
Documentation for LoopBack 4
29 lines (19 loc) • 1.08 kB
Markdown
lang: en
title: 'API docs: repository-json-schema.jsonschemaoptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository-json-schema.jsonschemaoptions.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository-json-schema](./repository-json-schema.md) > [JsonSchemaOptions](./repository-json-schema.jsonschemaoptions.md)
## JsonSchemaOptions interface
<b>Signature:</b>
```typescript
export interface JsonSchemaOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [includeRelations](./repository-json-schema.jsonschemaoptions.includerelations.md) | <code>boolean</code> | Set this flag if you want the schema to define navigational properties for model relations. |
| [partial](./repository-json-schema.jsonschemaoptions.partial.md) | <code>boolean</code> | Set this flag to mark all model properties as optional. This is typically used to describe request body of PATCH endpoints. |