cloud.substratum.filesystem.driveEntry
Schema Diff
+7 -5
Compatibility Analysis
Breaking Changes Detected
3 breaking changes, 1 non-breaking change.
Breaking Changes (3)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "cloud.substratum.filesystem.driveEntry", src: "cloud.substratum.filesystem.driveEntry", tgt: "cloud.substratum.filesystem.driveEntry.entryId", kind: "prop", name: Some("entryId") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "cloud.substratum.filesystem.driveEntry", src: "cloud.substratum.filesystem.driveEntry", tgt: "cloud.substratum.filesystem.driveEntry.path", kind: "prop", name: Some("path") }
- RemovedVertex RemovedVertex { vertex_id: "cloud.substratum.filesystem.driveEntry.path" }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "cloud.substratum.filesystem.driveEntry.entryId" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "cloud.substratum.filesystem.driveEntry.path" }
Added Elements
AddedVertex { vertex_id: "cloud.substratum.filesystem.driveEntry.entryId" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "cloud.substratum.filesystem.driveEntry", src: "cloud.substratum.filesystem.driveEntry", tgt: "cloud.substratum.filesystem.driveEntry.entryId", kind: "prop", name: Some("entryId") }
- Breaking: RequiredEdgeRemoved { vertex_id: "cloud.substratum.filesystem.driveEntry", src: "cloud.substratum.filesystem.driveEntry", tgt: "cloud.substratum.filesystem.driveEntry.path", kind: "prop", name: Some("path") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A filesystem entry in a Substratum Drive.",
5
+
"description": "A filesystem entry in a Substratum Drive. The path is NOT stored here; it lives in the metadata file on the private Swarm blockstore (ADR 91). The record rkey equals entryId.",
6
6
"properties": {
7
7
"assetCid": {
8
8
"type": "string"
9
9
},
10
10
"driveId": {
11
11
"description": "The UUID of the drive",
12
12
"type": "string"
13
13
},
14
+
"entryId": {
15
+
"description": "The catalog drive_entry UUID; also the PDS record rkey",
16
+
"type": "string"
17
+
},
14
18
"isDirectory": {
15
19
"type": "boolean"
16
20
},
17
21
"metadataCid": {
22
+
"description": "CID of this entry's name leaf in the drive metadata file",
18
23
"type": "string"
19
24
},
20
25
"ownerDid": {
21
26
"format": "did",
22
27
"type": "string"
23
28
},
24
-
"path": {
25
-
"type": "string"
26
-
},
27
29
"receiptCid": {
28
30
"type": "string"
29
31
}
30
32
},
31
33
"required": [
32
34
"driveId",
33
-
"path",
35
+
"entryId",
34
36
"isDirectory",
35
37
"ownerDid"
36
38
],
37
39
"type": "object"
38
40
}
39
41
},
40
42
"id": "cloud.substratum.filesystem.driveEntry",
41
43
"lexicon": 1
42
44
}