---
lang: en
title: 'API docs: repository.propertydefinition'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/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 |
|  --- | --- | --- |
|  [id](./repository.propertydefinition.id.md) | <code>boolean &#124; number</code> |  |
|  [itemType](./repository.propertydefinition.itemtype.md) | <code>PropertyType</code> |  |
|  [json](./repository.propertydefinition.json.md) | <code>PropertyForm</code> |  |
|  [jsonSchema](./repository.propertydefinition.jsonschema.md) | <code>{</code><br/><code>        [attribute: string]: any;</code><br/><code>    }</code> |  |
|  [store](./repository.propertydefinition.store.md) | <code>PropertyForm</code> |  |
|  [type](./repository.propertydefinition.type.md) | <code>PropertyType</code> |  |


