forked from tangled.org/core
Monorepo for Tangled — https://tangled.org
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.pull", 4 "needsCbor": true, 5 "needsType": true, 6 "defs": { 7 "main": { 8 "type": "record", 9 "key": "tid", 10 "record": { 11 "type": "object", 12 "required": [ 13 "target", 14 "title", 15 "patch", 16 "createdAt" 17 ], 18 "properties": { 19 "target": { 20 "type": "ref", 21 "ref": "#target" 22 }, 23 "title": { 24 "type": "string" 25 }, 26 "body": { 27 "type": "string" 28 }, 29 "patch": { 30 "type": "string" 31 }, 32 "source": { 33 "type": "ref", 34 "ref": "#source" 35 }, 36 "createdAt": { 37 "type": "string", 38 "format": "datetime" 39 } 40 } 41 } 42 }, 43 "target": { 44 "type": "object", 45 "required": [ 46 "repo", 47 "branch" 48 ], 49 "properties": { 50 "repo": { 51 "type": "string", 52 "format": "at-uri" 53 }, 54 "branch": { 55 "type": "string" 56 } 57 } 58 }, 59 "source": { 60 "type": "object", 61 "required": [ 62 "branch", 63 "sha" 64 ], 65 "properties": { 66 "branch": { 67 "type": "string" 68 }, 69 "sha": { 70 "type": "string", 71 "minLength": 40, 72 "maxLength": 40 73 }, 74 "repo": { 75 "type": "string", 76 "format": "at-uri" 77 } 78 } 79 } 80 } 81}