@tradle/models
Version:
models for tradle apps
87 lines (86 loc) • 1.59 kB
JSON
{
"id": "tradle.SalaryVerification",
"type": "tradle.Model",
"title": "Salary Verification",
"style": {
"backgroundColor": "#E1FAF9"
},
"properties": {
"message": {
"type": "string",
"title": "Description",
"displayName": true
},
"blockchainUrl": {
"type": "string",
"readOnly": true
},
"transactionHash": {
"readOnly": true,
"type": "string"
},
"time": {
"type": "date",
"readOnly": true
},
"photos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tags": {
"type": "string",
"skipLabel": true
},
"url": {
"type": "string",
"readOnly": true
},
"width": {
"type": "number",
"readOnly": true
},
"height": {
"type": "number",
"readOnly": true
}
}
},
"required": [
"title",
"url"
]
},
"verifications": {
"type": "array",
"readOnly": true,
"items": {
"backlink": "document",
"ref": "tradle.Verification"
},
"required": [
"contact"
]
},
"additionalInfo": {
"type": "array",
"items": {
"ref": "tradle.AdditionalInfo",
"backlink": "document"
}
}
},
"required": [
"message"
],
"gridCols": [
"message",
"time"
],
"viewCols": [
"message",
"time",
"photos",
"verifications"
]
}