rip.pds.account.defs
Schema Diff
+17 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 10 non-breaking changes.
Non-Breaking Changes (10)
- AddedVertex AddedVertex { vertex_id: "rip.pds.account.defs#accountView.labelKey" }
- AddedVertex AddedVertex { vertex_id: "rip.pds.account.defs#accountView.services" }
- AddedVertex AddedVertex { vertex_id: "rip.pds.account.defs#accountView.services:items" }
- AddedVertex AddedVertex { vertex_id: "rip.pds.account.defs#accountView.servicesUpdatedAt" }
- AddedVertex AddedVertex { vertex_id: "rip.pds.account.putServices#serviceEntry" }
- AddedEdge AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.labelKey", kind: "prop", name: Some("labelKey") }
- AddedEdge AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.services", kind: "prop", name: Some("services") }
- AddedEdge AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.servicesUpdatedAt", kind: "prop", name: Some("servicesUpdatedAt") }
- AddedEdge AddedEdge { src: "rip.pds.account.defs#accountView.services", tgt: "rip.pds.account.defs#accountView.services:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "rip.pds.account.defs#accountView.services:items", tgt: "rip.pds.account.putServices#serviceEntry", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "rip.pds.account.defs#accountView.labelKey" }AddedVertex { vertex_id: "rip.pds.account.defs#accountView.services" }AddedVertex { vertex_id: "rip.pds.account.defs#accountView.services:items" }AddedVertex { vertex_id: "rip.pds.account.defs#accountView.servicesUpdatedAt" }AddedVertex { vertex_id: "rip.pds.account.putServices#serviceEntry" }
Additional Notes
- Non-breaking: AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.labelKey", kind: "prop", name: Some("labelKey") }
- Non-breaking: AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.services", kind: "prop", name: Some("services") }
- Non-breaking: AddedEdge { src: "rip.pds.account.defs#accountView", tgt: "rip.pds.account.defs#accountView.servicesUpdatedAt", kind: "prop", name: Some("servicesUpdatedAt") }
- Non-breaking: AddedEdge { src: "rip.pds.account.defs#accountView.services", tgt: "rip.pds.account.defs#accountView.services:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "rip.pds.account.defs#accountView.services:items", tgt: "rip.pds.account.putServices#serviceEntry", kind: "ref", name: None }
1
1
{
2
2
"id": "rip.pds.account.defs",
3
3
"defs": {
4
4
"accountView": {
5
5
"type": "object",
6
6
"required": [
7
7
"did",
8
8
"handle",
9
9
"didMethod",
10
10
"createdAt",
11
11
"expiresAt",
12
12
"extensions"
13
13
],
14
14
"properties": {
15
15
"did": {
16
16
"type": "string",
17
17
"format": "did"
18
18
},
19
19
"handle": {
20
20
"type": "string",
21
21
"format": "handle"
22
22
},
23
23
"status": {
24
24
"type": "string",
25
25
"description": "Why the PDS considers this account inactive: takendown, suspended, deactivated. Absent when the account is live."
26
26
},
27
+
"labelKey": {
28
+
"type": "string",
29
+
"description": "Public multikey published as #atproto_label, when one is set."
30
+
},
31
+
"services": {
32
+
"type": "array",
33
+
"items": {
34
+
"ref": "rip.pds.account.putServices#serviceEntry",
35
+
"type": "ref"
36
+
},
37
+
"description": "Service entries on the account's DID document. Present only for did:web accounts, whose document this server serves."
38
+
},
27
39
"createdAt": {
28
40
"type": "string",
29
41
"format": "datetime"
30
42
},
31
43
"deletedAt": {
32
44
"type": "string",
33
45
"format": "datetime"
34
46
},
35
47
"didMethod": {
36
48
"type": "string",
37
49
"description": "Which identity method the account uses.",
38
50
"knownValues": [
39
51
"plc",
40
52
"web"
41
53
]
42
54
},
43
55
"expiresAt": {
44
56
"type": "string",
45
57
"format": "datetime",
46
58
"description": "When the account is deleted and its identity retired."
47
59
},
48
60
"extensions": {
49
61
"type": "integer",
50
62
"description": "How many times the lifetime has already been extended."
63
+
},
64
+
"servicesUpdatedAt": {
65
+
"type": "string",
66
+
"format": "datetime",
67
+
"description": "When the service entries last changed. Resolvers cache documents well past this server's max-age, so a recent change may not be visible downstream yet."
51
68
}
52
69
},
53
70
"description": "An ephemeral account minted on this server."
54
71
}
55
72
},
56
73
"$type": "com.atproto.lexicon.schema",
57
74
"lexicon": 1
58
75
}