forked from tangled.org/core
this repo has no description
at spindle 1.5 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", "status", "startedAt", "updatedAt"], 13 "properties": { 14 "pipeline": { 15 "type": "string", 16 "format": "at-uri", 17 "description": "pipeline at ref" 18 }, 19 "status": { 20 "type": "string", 21 "description": "Pipeline status", 22 "enum": [ 23 "pending", 24 "running", 25 "failed", 26 "timeout", 27 "cancelled", 28 "success" 29 ] 30 }, 31 "error": { 32 "type": "string", 33 "description": "error message if failed" 34 }, 35 "exitCode": { 36 "type": "integer", 37 "description": "exit code if failed" 38 }, 39 "startedAt": { 40 "type": "string", 41 "format": "datetime", 42 "description": "pipeline start time" 43 }, 44 "updatedAt": { 45 "type": "string", 46 "format": "datetime", 47 "description": "pipeline last updated time" 48 }, 49 "finishedAt": { 50 "type": "string", 51 "format": "datetime", 52 "description": "pipeline finish time, if finished" 53 } 54 } 55 } 56 } 57 } 58}