From
bafyreig35pbknxvkr55xz7a5cpvs25t4pbbqeho4xlpepldt77fguouccy
indexed 2026-11-05 17:19 UTC
View this version
To
bafyreif5f6ekxx2mk734aw3oq72swljc333adgptmju5qqqfnnppjegfcy
indexed 2026-11-10 17:47 UTC
View this version
Compatibility
backward compatible Backward compatible. 5 non-breaking changes.
Non-breaking changes (5)
- AddedVertex AddedVertex { vertex_id: "org.cairnsproto.draft.getInputs:output.sources" }
- AddedVertex AddedVertex { vertex_id: "org.cairnsproto.draft.getInputs:output.sources:items" }
- AddedEdge AddedEdge { src: "org.cairnsproto.draft.getInputs:output", tgt: "org.cairnsproto.draft.getInputs:output.sources", kind: "prop", name: Some("sources") }
- AddedEdge AddedEdge { src: "org.cairnsproto.draft.getInputs:output.sources", tgt: "org.cairnsproto.draft.getInputs:output.sources:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "org.cairnsproto.draft.getInputs:output.sources:items", tgt: "org.cairnsproto.draft.getInputs#record", kind: "ref", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "org.cairnsproto.draft.getInputs:output.sources" }AddedVertex { vertex_id: "org.cairnsproto.draft.getInputs:output.sources:items" }
Notes
- Non-breaking: AddedEdge { src: "org.cairnsproto.draft.getInputs:output", tgt: "org.cairnsproto.draft.getInputs:output.sources", kind: "prop", name: Some("sources") }
- Non-breaking: AddedEdge { src: "org.cairnsproto.draft.getInputs:output.sources", tgt: "org.cairnsproto.draft.getInputs:output.sources:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "org.cairnsproto.draft.getInputs:output.sources:items", tgt: "org.cairnsproto.draft.getInputs#record", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"firstEpoch": {55
"properties": {66
"did": {77
"format": "did",88
"type": "string"99
},1010
"epoch": {1111
"minimum": 0,1212
"type": "integer"1313
}1414
},1515
"required": [1616
"did",1717
"epoch"1818
],1919
"type": "object"2020
},2121
"label": {2222
"description": "An ATProto label as its labeler published it.",2323
"properties": {2424
"cid": {2525
"format": "cid",2626
"type": "string"2727
},2828
"cts": {2929
"format": "datetime",3030
"type": "string"3131
},3232
"exp": {3333
"format": "datetime",3434
"type": "string"3535
},3636
"neg": {3737
"type": "boolean"3838
},3939
"src": {4040
"format": "did",4141
"type": "string"4242
},4343
"uri": {4444
"format": "uri",4545
"type": "string"4646
},4747
"val": {4848
"maxLength": 128,4949
"type": "string"5050
}5151
},5252
"required": [5353
"src",5454
"uri",5555
"val"5656
],5757
"type": "object"5858
},5959
"main": {6060
"description": "Everything a client needs to recompute a project's reading itself: every input record with its value, the beacons its draw claims used, the epoch each author was first seen in, and the labels of the policy's labelers. A client can drop records before reading, such as stones from sponsors it blocks, without telling the indexer.",6161
"output": {6262
"encoding": "application/json",6363
"schema": {6464
"properties": {6565
"beacons": {6666
"items": {6767
"ref": "org.cairnsproto.draft.getReading#beacon",6868
"type": "ref"6969
},7070
"type": "array"7171
},7272
"epoch": {7373
"description": "The indexer's current epoch.",7474
"minimum": 0,7575
"type": "integer"7676
},7777
"firstEpochs": {7878
"items": {7979
"ref": "#firstEpoch",8080
"type": "ref"8181
},8282
"type": "array"8383
},8484
"labels": {8585
"description": "Every label from the labelers the policy lists, for the reading to evaluate as of its time.",8686
"items": {8787
"ref": "#label",8888
"type": "ref"8989
},9090
"type": "array"9191
},9292
"policy": {9393
"ref": "com.atproto.repo.strongRef",9494
"type": "ref"9595
},9696
"project": {9797
"ref": "com.atproto.repo.strongRef",9898
"type": "ref"9999
},100100
"records": {101101
"items": {102102
"ref": "#record",103103
"type": "ref"104104
},105105
"type": "array"106106
},107
"sources": {108
"description": "Every source record, from any author, whose hash is one of the project's scope sources or a source its stones' sites trace back to, ordered by URI. The hash is the source's identity and records with the same hash are interchangeable metadata, such as URLs and a MIME type. They are not reading inputs and are not in the input root.",109
"items": {110
"ref": "#record",111
"type": "ref"112
},113
"type": "array"114
},107115
"tombstones": {108116
"description": "The project's stones deleted from their repos: CID and site key only, with no URI, author or payload. A reading counts each as withdrawn and adds it to the input root.",109117
"items": {110118
"ref": "#tombstone",111119
"type": "ref"112120
},113121
"type": "array"114122
}115123
},116124
"required": [117125
"project",118126
"policy",119127
"epoch",120128
"records",121129
"beacons",122130
"firstEpochs"123131
],124132
"type": "object"125133
}126134
},127135
"parameters": {128136
"properties": {129137
"project": {130138
"format": "at-uri",131139
"type": "string"132140
}133141
},134142
"required": [135143
"project"136144
],137145
"type": "params"138146
},139147
"type": "query"140148
},141149
"record": {142150
"properties": {143151
"cid": {144152
"format": "cid",145153
"type": "string"146154
},147155
"seenEpoch": {148156
"minimum": 0,149157
"type": "integer"150158
},151159
"uri": {152160
"format": "at-uri",153161
"type": "string"154162
},155163
"value": {156164
"type": "unknown"157165
}158166
},159167
"required": [160168
"uri",161169
"cid",162170
"seenEpoch",163171
"value"164172
],165173
"type": "object"166174
},167175
"tombstone": {168176
"properties": {169177
"cid": {170178
"format": "cid",171179
"type": "string"172180
},173181
"site": {174182
"ref": "org.cairnsproto.draft.defs#hash",175183
"type": "ref"176184
}177185
},178186
"required": [179187
"cid",180188
"site"181189
],182190
"type": "object"183191
}184192
},185193
"id": "org.cairnsproto.draft.getInputs",186194
"lexicon": 1187195
}