From
bafyreihhezmcc652gt6znp73nti7rn7amecq6oyq6uinf5c3xlmvk65n7u
indexed 2026-11-22 14:48 UTC
View this version
To
bafyreihhezmcc652gt6znp73nti7rn7amecq6oyq6uinf5c3xlmvk65n7u
indexed 2026-11-22 14:48 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "How to read one service's export files as records of a published panproto source schema. Readers are what make an archive convertible without service-specific code: a reader says which archive paths hold the data, and optionally a panproto expression that turns one file's JSON into source items. Lenses (dev.panproto.schema.lens) whose sourceSchema equals this reader's schema then apply to those items.",66
"key": "tid",77
"record": {88
"properties": {99
"createdAt": {1010
"format": "datetime",1111
"type": "string"1212
},1313
"description": {1414
"maxLength": 2000,1515
"type": "string"1616
},1717
"items": {1818
"description": "A panproto expression (panproto-expr surface syntax). __value__ is the file's parsed JSON; the result is the list of source items. Absent: a JSON array file is its items; any other JSON value is one item.",1919
"maxLength": 65536,2020
"type": "string"2121
},2222
"paths": {2323
"description": "Globs over export paths: '*' matches within one path segment, '**' across segments.",2424
"items": {2525
"type": "string"2626
},2727
"maxLength": 64,2828
"type": "array"2929
},3030
"platformName": {3131
"description": "Human name of the service, e.g. 'Instagram'.",3232
"maxLength": 128,3333
"type": "string"3434
},3535
"schema": {3636
"description": "The dev.panproto.schema.schema the items conform to.",3737
"format": "at-uri",3838
"type": "string"3939
},4040
"sensitive": {4141
"description": "Export paths that hold private or other people's data (messages, logins, contacts…). Atomizer leaves them out of preservation by default; the person can opt back in.",4242
"items": {4343
"ref": "#sensitivePath",4444
"type": "ref"4545
},4646
"maxLength": 128,4747
"type": "array"4848
},4949
"sourceDomain": {5050
"description": "The service whose exports this reads, as its archive Space key (e.g. 'instagram.com').",5151
"maxLength": 253,5252
"type": "string"5353
},5454
"textEncoding": {5555
"description": "How the export encodes text. 'utf-8-as-latin-1': UTF-8 bytes written as Latin-1 code points (Meta's exports), repaired before `items` runs. Default 'utf-8'.",5656
"knownValues": [5757
"utf-8",5858
"utf-8-as-latin-1"5959
],6060
"type": "string"6161
}6262
},6363
"required": [6464
"sourceDomain",6565
"schema",6666
"paths",6767
"createdAt"6868
],6969
"type": "object"7070
},7171
"type": "record"7272
},7373
"sensitivePath": {7474
"properties": {7575
"path": {7676
"description": "Glob over export paths ('*' within a segment, '**' across).",7777
"maxLength": 512,7878
"type": "string"7979
},8080
"reason": {8181
"description": "What it holds, e.g. 'direct messages'.",8282
"maxLength": 256,8383
"type": "string"8484
}8585
},8686
"required": [8787
"path"8888
],8989
"type": "object"9090
}9191
},9292
"id": "garden.lexicon.climbing-tanager-323194.reader",9393
"lexicon": 19494
}