UNPKG

@tradle/models

Version:
78 lines 1.47 kB
{ "id": "tradle.APIBasedVerificationMethod", "type": "tradle.Model", "title": "API based verification", "subClassOf": "tradle.Method", "properties": { "api": { "type": "object", "ref": "tradle.API", "inlined": true }, "reference": { "type": "array", "skipLabel": true, "items": { "properties": { "queryId": { "type": "string", "title": "reference" } } } }, "title": { "type": "string", "readOnly": true, "displayName": true, "displayAs": "based on {1} checked by {2} automatically (via API)", "group": [ "aspect", "api" ] }, "confidence": { "type": "number", "min": "0", "max": "1" }, "aspect": { "title": "What was verified", "type": "string" }, "rawData": { "type": "object", "skipLabel": true, "internalUse": true, "title": "Raw data", "range": "json", "readOnly": true }, "main_group": { "type": "string", "title": "Topic", "list": [ "aspect", "api" ] }, "misc_group":{ "type": "string", "title": "Tracking", "list": [ "confidence", "reference" ] } }, "required": [ "aspect", "api", "reference" ], "viewCols": [ "main_group", "misc_group", "rawData" ] }