net.wireservice.reader
Schema Diff
+4 -3
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 0 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "net.wireservice.reader:body", src: "net.wireservice.reader:body", tgt: "net.wireservice.reader:body.did", kind: "prop", name: Some("did") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "net.wireservice.reader:body", src: "net.wireservice.reader:body", tgt: "net.wireservice.reader:body.email", kind: "prop", name: Some("email") }
Migration Guidance
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "net.wireservice.reader:body", src: "net.wireservice.reader:body", tgt: "net.wireservice.reader:body.did", kind: "prop", name: Some("did") }
- Breaking: RequiredEdgeRemoved { vertex_id: "net.wireservice.reader:body", src: "net.wireservice.reader:body", tgt: "net.wireservice.reader:body.email", kind: "prop", name: Some("email") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A reader account, stored in the publication's admin-only business space. The CMS keeps email unique.",
5
+
"description": "A reader account, stored in the publication's admin-only business space. Keyed by the reader's ATProto DID; the CMS keeps one record per DID.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"did": {
14
-
"description": "The reader's ATProto DID, once linked.",
14
+
"description": "The reader's ATProto DID, which they sign in and read with.",
15
15
"format": "did",
16
16
"type": "string"
17
17
},
18
18
"email": {
19
+
"description": "For receipts and contact; from Stripe for paying readers.",
19
20
"maxLength": 320,
20
21
"type": "string"
21
22
},
22
23
"stripeCustomerId": {
23
24
"maxLength": 256,
24
25
"type": "string"
25
26
}
26
27
},
27
28
"required": [
28
-
"email",
29
+
"did",
29
30
"createdAt"
30
31
],
31
32
"type": "object"
32
33
},
33
34
"type": "record"
34
35
}
35
36
},
36
37
"id": "net.wireservice.reader",
37
38
"lexicon": 1
38
39
}