forked from tangled.org/core
this repo has no description
at master 1.9 kB view raw
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 "mentions": { 41 "type": "array", 42 "items": { 43 "type": "string", 44 "format": "did" 45 } 46 }, 47 "references": { 48 "type": "array", 49 "items": { 50 "type": "string", 51 "format": "at-uri" 52 } 53 } 54 } 55 } 56 }, 57 "target": { 58 "type": "object", 59 "required": [ 60 "repo", 61 "branch" 62 ], 63 "properties": { 64 "repo": { 65 "type": "string", 66 "format": "at-uri" 67 }, 68 "branch": { 69 "type": "string" 70 } 71 } 72 }, 73 "source": { 74 "type": "object", 75 "required": [ 76 "branch", 77 "sha" 78 ], 79 "properties": { 80 "branch": { 81 "type": "string" 82 }, 83 "sha": { 84 "type": "string", 85 "minLength": 40, 86 "maxLength": 40 87 }, 88 "repo": { 89 "type": "string", 90 "format": "at-uri" 91 } 92 } 93 } 94 } 95}