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