@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
36 lines (25 loc) • 1.39 kB
Markdown
lang: en
title: 'API docs: repository.propertydefinition'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
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) > [@loopback/repository](./repository.md) > [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) | boolean \| number | |
| [itemType](./repository.propertydefinition.itemtype.md) | [PropertyType](./repository.propertytype.md) | |
| [json](./repository.propertydefinition.json.md) | [PropertyForm](./repository.propertyform.md) | |
| [jsonSchema](./repository.propertydefinition.jsonschema.md) | [JsonSchemaWithExtensions](./repository.jsonschemawithextensions.md) | |
| [store](./repository.propertydefinition.store.md) | [PropertyForm](./repository.propertyform.md) | |
| [type](./repository.propertydefinition.type.md) | [PropertyType](./repository.propertytype.md) | |