atproto blogging
at main 44 lines 1.2 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.edit.diff", 4 "defs": { 5 "main": { 6 "type": "record", 7 "description": "An edit record for a notebook.", 8 "key": "tid", 9 "record": { 10 "type": "object", 11 "required": ["root", "doc"], 12 "properties": { 13 "snapshot": { 14 "type": "blob", 15 "description": "Diff from previous diff. Either this or inlineDiff must be present to be valid", 16 "accept": ["*/*"], 17 "maxSize": 3000000 18 }, 19 "inlineDiff": { 20 "type": "bytes", 21 "description": "An inline diff for for small edit batches. Either this or snapshot must be present to be valid", 22 "maxLength": 8192 23 }, 24 "root": { 25 "type": "ref", 26 "ref": "com.atproto.repo.strongRef" 27 }, 28 "prev": { 29 "type": "ref", 30 "ref": "com.atproto.repo.strongRef" 31 }, 32 "doc": { 33 "type": "ref", 34 "ref": "sh.weaver.edit.defs#docRef" 35 }, 36 "createdAt": { 37 "type": "string", 38 "format": "datetime" 39 } 40 } 41 } 42 } 43 } 44}