Properties
Entity
Property
Required Metadata
Optional Metadata
Comment
We can use 'properties' metadata only for a 'group' inputType. We cannot use 'array' dataType or 'group' inputType inside properties. Also we cannot use 'multiple' metadata for any child properties including inputType 'select', 'file', 'image' etc.
{
"customer": { // entity name
"firstName": { // property name
"dataType": "string", // required metadata
"inputType": "text", // optional metadata
},
"address": {
"dataType": "group",
"inputType": "group",
"properties": {
"area": {
"dataType": "string"
},
"city": {
"dataType": "string",
"validation": {
"required": true
}
}
...
}
}
...
}
}