forked from tangled.org/core
this repo has no description
at master 1.4 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.pipeline.status", 4 "needsCbor": true, 5 "needsType": true, 6 "defs": { 7 "main": { 8 "type": "record", 9 "key": "tid", 10 "record": { 11 "type": "object", 12 "required": ["pipeline", "workflow", "status", "createdAt"], 13 "properties": { 14 "pipeline": { 15 "type": "string", 16 "format": "at-uri", 17 "description": "ATURI of the pipeline" 18 }, 19 "workflow": { 20 "type": "string", 21 "format": "at-uri", 22 "description": "name of the workflow within this pipeline" 23 }, 24 "status": { 25 "type": "string", 26 "description": "status of the workflow", 27 "enum": [ 28 "pending", 29 "running", 30 "failed", 31 "timeout", 32 "cancelled", 33 "success" 34 ] 35 }, 36 "createdAt": { 37 "type": "string", 38 "format": "datetime", 39 "description": "time of creation of this status update" 40 }, 41 "error": { 42 "type": "string", 43 "description": "error message if failed" 44 }, 45 "exitCode": { 46 "type": "integer", 47 "description": "exit code if failed" 48 } 49 } 50 } 51 } 52 } 53}