cloud.substratum.filesystem.driveEntry
Schema Diff
+8 -6
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
"id": "cloud.substratum.filesystem.driveEntry",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"driveId",
8
-
"path",
8
+
"entryId",
9
9
"isDirectory",
10
10
"ownerDid"
11
11
],
12
12
"properties": {
13
-
"path": {
14
-
"type": "string"
15
-
},
16
13
"driveId": {
17
14
"type": "string",
18
15
"description": "The UUID of the drive"
19
16
},
17
+
"entryId": {
18
+
"type": "string",
19
+
"description": "The catalog drive_entry UUID; also the PDS record rkey"
20
+
},
20
21
"assetCid": {
21
22
"type": "string"
22
23
},
23
24
"ownerDid": {
24
25
"type": "string",
25
26
"format": "did"
26
27
},
27
28
"receiptCid": {
28
29
"type": "string"
29
30
},
30
31
"isDirectory": {
31
32
"type": "boolean"
32
33
},
33
34
"metadataCid": {
34
-
"type": "string"
35
+
"type": "string",
36
+
"description": "CID of this entry's name leaf in the drive metadata file"
35
37
}
36
38
},
37
-
"description": "A filesystem entry in a Substratum Drive."
39
+
"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."
38
40
}
39
41
},
40
42
"$type": "com.atproto.lexicon.schema",
41
43
"lexicon": 1
42
44
}