---
lang: en
title: 'API docs: repository.modeldefinitionsyntax'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.modeldefinitionsyntax.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ModelDefinitionSyntax](./repository.modeldefinitionsyntax.md)

## ModelDefinitionSyntax interface

DSL for building a model definition.

<b>Signature:</b>

```typescript
export interface ModelDefinitionSyntax 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [name](./repository.modeldefinitionsyntax.name.md) | <code>string</code> |  |
|  [properties](./repository.modeldefinitionsyntax.properties.md) | <code>{</code><br/><code>        [name: string]: PropertyDefinition &#124; PropertyType;</code><br/><code>    }</code> |  |
|  [relations](./repository.modeldefinitionsyntax.relations.md) | <code>RelationDefinitionMap</code> |  |
|  [settings](./repository.modeldefinitionsyntax.settings.md) | <code>{</code><br/><code>        [name: string]: any;</code><br/><code>    }</code> |  |


