---
lang: en
title: 'API docs: repository.propertydefinition'
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.propertydefinition.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [PropertyDefinition](./repository.propertydefinition.md)

## PropertyDefinition interface

Property definition for a model

<b>Signature:</b>

```typescript
export interface PropertyDefinition 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [hidden?](./repository.propertydefinition.hidden.md) | boolean | <i>(Optional)</i> Used to hide this property from the response body, adding this property to the hiddenProperties array |
|  [id?](./repository.propertydefinition.id.md) | boolean \| number | <i>(Optional)</i> |
|  [itemType?](./repository.propertydefinition.itemtype.md) | [PropertyType](./repository.propertytype.md) | <i>(Optional)</i> |
|  [json?](./repository.propertydefinition.json.md) | [PropertyForm](./repository.propertyform.md) | <i>(Optional)</i> |
|  [jsonSchema?](./repository.propertydefinition.jsonschema.md) | [JsonSchemaWithExtensions](./repository.jsonschemawithextensions.md) | <i>(Optional)</i> |
|  [store?](./repository.propertydefinition.store.md) | [PropertyForm](./repository.propertyform.md) | <i>(Optional)</i> |
|  [type](./repository.propertydefinition.type.md) | [PropertyType](./repository.propertytype.md) |  |


