org.passingreads.book.event
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "The status of a book has changed.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"book": {
10
10
"description": "The book that was dropped (a org.passingreads.book.registration)",
11
11
"ref": "com.atproto.repo.strongRef#main",
12
12
"type": "ref"
13
13
},
14
14
"bookPub": {
15
15
"description": "The multicodec public key of the book.",
16
16
"type": "bytes"
17
17
},
18
18
"bookSig": {
19
19
"description": "The signature of this record, without this attribute, as created by the private key associated with the book",
20
20
"type": "bytes"
21
21
},
22
22
"did": {
23
23
"description": "The DID of the person who registered the book. Included here, so it's verifiable with the bookSig.",
24
24
"format": "did",
25
25
"type": "string"
26
26
},
27
27
"event": {
28
28
"description": "What event has occurred",
29
29
"knownValues": [
30
30
"org.passingreads.book.checkin",
31
31
"org.passingreads.book.drop",
32
32
"org.passingreads.book.find"
33
33
],
34
34
"type": "string"
35
35
},
36
36
"location": {
37
37
"description": "Where this event occurred (an h3 cell, an OSM place, or a link to an outpost — org.passingreads.outpost.registration)",
38
38
"refs": [
39
39
"com.atproto.repo.strongRef#main",
40
40
"community.lexicon.location.hthree#main",
41
41
"#osmLocation"
42
42
],
43
43
"type": "union"
44
44
},
45
45
"occurredAt": {
46
46
"description": "Client-declared timestamp of when the book was dropped",
47
47
"format": "datetime",
48
48
"type": "string"
49
49
}
50
50
},
51
51
"required": [
52
52
"did",
53
53
"book",
54
-
"occurredAt",
55
54
"location",
56
55
"bookPub",
57
-
"bookSig"
56
+
"bookSig",
57
+
"occurredAt"
58
58
],
59
59
"type": "object"
60
60
},
61
61
"type": "record"
62
62
},
63
63
"osmLocation": {
64
64
"description": "A physical location from OpenStreetMap.",
65
65
"properties": {
66
66
"category": {
67
67
"description": "The type of place (e.g., cafe, library, park).",
68
68
"type": "string"
69
69
},
70
70
"name": {
71
71
"description": "The name of the place from OpenStreetMap.",
72
72
"type": "string"
73
73
},
74
74
"osmId": {
75
75
"description": "The OpenStreetMap element ID in interoperable format: N (node), W (way), or R (relation) prefix followed by numeric ID. Example: N123456789",
76
76
"type": "string"
77
77
},
78
78
"value": {
79
79
"description": "The H3 cell index for proximity queries.",
80
80
"type": "string"
81
81
}
82
82
},
83
83
"required": [
84
84
"osmId",
85
85
"name",
86
86
"value"
87
87
],
88
88
"type": "object"
89
89
}
90
90
},
91
91
"id": "org.passingreads.book.event",
92
92
"lexicon": 1
93
93
}