@tradle/models
Version:
models for tradle apps
79 lines (78 loc) • 1.41 kB
JSON
{
"id": "tradle.FormError",
"title": "Form Error",
"type": "tradle.Model",
"icon": "ios-create-outline",
"properties": {
"time": {
"type": "date",
"readOnly": true
},
"message": {
"type": "string",
"displayName": true,
"sample": "lorem.sentence"
},
"prefill": {
"type": "object",
"ref": "tradle.Form",
"readOnly": true,
"inlined": true,
"partial": true
},
"requestedProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
},
"errors": {
"type": "array",
"inlined": true,
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"error": {
"type": "string"
}
}
}
},
"context": {
"type": "string"
},
"lens": {
"type": "string",
"range": "model",
"readOnly": true
},
"dataLineage": {
"type": "object",
"internalUse": true,
"readOnly": true,
"range": "json"
}
},
"viewCols": [
"message",
"errors",
"prefill",
"dataLineage"
],
"required": [
"prefill",
"errors",
"message"
]
}