Page Contents

Home > @loopback/repository > ModelDefinitionSyntax

ModelDefinitionSyntax interface

DSL for building a model definition.

Signature:

export interface ModelDefinitionSyntax 

Properties

Property Type Description
jsonSchema JsonSchemaWithExtensions  
name string  
properties { [name: string]: PropertyDefinition | PropertyType; }  
relations RelationDefinitionMap  
settings ModelSettings