buzz.bookhive.hiveBook
Schema Diff
+5 -0
1
1
{
2
2
"id": "buzz.bookhive.hiveBook",
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
"id",
11
11
"title",
12
12
"authors",
13
13
"createdAt",
14
14
"updatedAt",
15
15
"thumbnail"
16
16
],
17
17
"properties": {
18
18
"id": {
19
19
"type": "string",
20
20
"description": "The book's hive id, used to correlate user's books with the hive"
21
21
},
22
22
"cover": {
23
23
"type": "string",
24
24
"description": "URL to full-size cover image"
25
25
},
26
26
"title": {
27
27
"type": "string",
28
28
"maxLength": 512,
29
29
"minLength": 1,
30
30
"description": "The title of the book"
31
31
},
32
32
"rating": {
33
33
"type": "integer",
34
34
"maximum": 1000,
35
35
"minimum": 0,
36
36
"description": "Average rating (0-1000)"
37
37
},
38
38
"source": {
39
39
"type": "string",
40
40
"description": "The source service name (e.g. Goodreads)"
41
41
},
42
42
"authors": {
43
43
"type": "string",
44
44
"maxLength": 512,
45
45
"minLength": 1,
46
46
"description": "The authors of the book (tab separated)"
47
47
},
48
48
"sourceId": {
49
49
"type": "string",
50
50
"description": "ID of the book in the source service"
51
51
},
52
52
"createdAt": {
53
53
"type": "string",
54
54
"format": "datetime"
55
55
},
56
56
"sourceUrl": {
57
57
"type": "string",
58
58
"description": "URL to the book on the source service"
59
59
},
60
60
"thumbnail": {
61
61
"type": "string",
62
62
"description": "URL to thumbnail image"
63
63
},
64
64
"updatedAt": {
65
65
"type": "string",
66
66
"format": "datetime"
67
67
},
68
68
"description": {
69
69
"type": "string",
70
70
"maxLength": 5000,
71
71
"description": "Book description/summary"
72
72
},
73
+
"identifiers": {
74
+
"ref": "buzz.bookhive.defs#bookIdentifiers",
75
+
"type": "ref",
76
+
"description": "External identifiers for the book"
77
+
},
73
78
"ratingsCount": {
74
79
"type": "integer",
75
80
"description": "Number of ratings"
76
81
}
77
82
}
78
83
},
79
84
"description": "A book within the hive"
80
85
}
81
86
},
82
87
"$type": "com.atproto.lexicon.schema",
83
88
"lexicon": 1
84
89
}