Page Contents
Home > @loopback/repository > ModelDefinitionSyntax
ModelDefinitionSyntax interface
DSL for building a model definition.
Signature:
export interface ModelDefinitionSyntax
Properties
| Property | Type | Description |
|---|---|---|
| jsonSchema? | JsonSchemaWithExtensions | (Optional) |
| name | string | |
| properties? | { [name: string]: PropertyDefinition | PropertyType; } | (Optional) |
| relations? | RelationDefinitionMap | (Optional) |
| settings? | ModelSettings | (Optional) |