A struct represents a class/structure with a fix set of defined properties
Document| Property | Type | Description |
|---|---|---|
| base | Boolean | Indicates whether this is a base structure, default is false. If true the structure is used a base type, this means it is not possible to create an instance from this structure |
| discriminator | Text | Optional the property name of a discriminator property. This should be only used in case this is also a base structure |
| mapping | Text | In case a discriminator is configured it is required to configure a mapping. The mapping is a map where the key is the type name (a key from the definitions map) and the value the actual discriminator type value |
| parent | ReferencePropertyType | Defines a parent type, all properties from the parent type are inherited |
| properties | PropertyType | Contains a map of available properties for this struct |