UNPKG

@tradle/models

Version:
81 lines (80 loc) 1.45 kB
{ "type": "tradle.Model", "id": "tradle.Notification", "title": "Notification", "properties": { "provider": { "type": "string", "readOnly": true }, "status": { "type": "object", "ref": "tradle.NotificationStatus", "displayName": true, "readOnly": true }, "message": { "type": "string" }, "emailAddress": { "type": "string", "displayName": true, "range": "email" }, "mobile": { "type": "string", "range": "phone" }, "timesNotified": { "type": "number" }, "interval": { "type": "number" }, "dateLastNotified": { "type": "date", "readOnly": true }, "dateLastModified": { "type": "date", "readOnly": true }, "form": { "type": "object", "displayName": true, "ref": "tradle.Form" }, "application": { "type": "object", "readOnly": true, "ref": "tradle.Application" } }, "indexes": [ { "hashKey": "application._permalink", "rangeKey": "_time" }, { "hashKey": "form._permalink", "rangeKey": "_time" }, { "hashKey": "status", "rangeKey": "_time" } ], "required": [ "status" ], "viewCols": [ "status", "dateLastNotified", "dateLastModified", "timesNotified", "emailAddress", "mobile", "form", "application" ] }