UNPKG

@tradle/models

Version:
82 lines (81 loc) 1.62 kB
{ "id": "tradle.Selfie", "type": "tradle.Model", "title": "Selfie", "interfaces": [ "tradle.Verifiable", "tradle.Document" ], "verifiableAspects": { "authenticity": { "methods": [ "tradle.VisualVerificationMethod" ] }, "ownership": { "methods": [ "tradle.VisualVerificationMethod" ] }, "validity": { "methods": [ "tradle.VisualVerificationMethod" ] } }, "notShareable": true, "notEditable": true, "formRequestMessage": "Please take a **selfie** picture of your face", "subClassOf": "tradle.Form", "properties": { "selfie": { "type": "object", "inlined": true, "cameraType": "front", "title": "Selfie", "ref": "tradle.Photo", "mainPhoto": true, "sample": "face" }, "facemap": { "type": "object", "inlined": true, "hidden": true, "title": "Facemap", "ref": "tradle.Photo", "readOnly": true }, "auditTrail": { "type": "array", "range": "photo", "readOnly": true, "inlined": true, "items": { "ref": "tradle.Photo" } }, "component": { "type": "object", "ref": "tradle.SelfieVerifierComponent", "readOnly": true, "immutable": true }, "selfieJson": { "type": "object", "title": "Photo info", "range": "json", "readOnly": true }, "sessionId": { "type": "string", "readOnly": true, "hidden": true } }, "required": [ "selfie" ], "viewCols": [ "selfie" ] }