@tradle/models
Version:
models for tradle apps
98 lines (97 loc) • 1.94 kB
JSON
{
"id": "tradle.Verification",
"type": "tradle.Model",
"title": "Verification",
"icon": "ios-checkmark-circle-outline",
"autoCreate": true,
"properties": {
"document": {
"type": "object",
"readOnly": true,
"displayName": true,
"ref": "tradle.Form",
"title": "Verification subject"
},
"message": {
"type": "string",
"title": "Description",
"displayName": true
},
"dateVerified": {
"type": "date",
"skipLabel": true,
"readOnly": true
},
"organization": {
"type": "object",
"ref": "tradle.Organization",
"immutable": true
},
"country": {
"type": "object",
"ref": "tradle.Country"
},
"cancel": {
"type": "boolean",
"immutable": true
},
"sources": {
"type": "array",
"readOnly": true,
"inlined": true,
"items": {
"ref": "tradle.Verification"
}
},
"method": {
"type": "object",
"readOnly": true,
"inlined": true,
"ref": "tradle.Method"
},
"checkType": {
"type": "string",
"range": "model",
"readOnly": true
},
"check": {
"type": "object",
"readOnly": true,
"ref": "tradle.Check"
},
"entityType": {
"type": "object",
"title": "Verifier classification",
"readOnly": true,
"ref": "tradle.EntityTypes"
},
"trustCircle": {
"type": "object",
"readOnly": true,
"title": "Verifier supervision",
"ref": "tradle.TrustCircle"
},
"main_group": {
"type": "string",
"title": "Trust level",
"list": [
"document",
"entityType",
"trustCircle",
"country"
]
}
},
"indexes": [
{
"hashKey": "document._permalink",
"rangeKey": "_time"
}
],
"required": [
"document"
],
"viewCols": [
"main_group"
]
}