buzz.bookhive.getBook

bookhive.buzz

Schema Diff

+7 -4

From

CID
bafyreihxgawtx4u...
Indexed At
2026-02-18 18:43 UTC
View this version

To

CID
bafyreienpyfnljr...
Indexed At
2026-03-25 09:46 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "buzz.bookhive.getBook:output.owned" }
  • AddedEdge AddedEdge { src: "buzz.bookhive.getBook:output", tgt: "buzz.bookhive.getBook:output.owned", kind: "prop", name: Some("owned") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "buzz.bookhive.getBook:output.owned" }

Additional Notes

  • Non-breaking: AddedEdge { src: "buzz.bookhive.getBook:output", tgt: "buzz.bookhive.getBook:output.owned", kind: "prop", name: Some("owned") }
1 1
{
2 2
  "id": "buzz.bookhive.getBook",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "query",
6 6
      "output": {
7 7
        "schema": {
8 8
          "type": "object",
9 9
          "required": [
10 10
            "book",
11 11
            "reviews",
12 12
            "comments"
13 13
          ],
14 14
          "properties": {
15 15
            "book": {
16 16
              "ref": "buzz.bookhive.hiveBook#main",
17 17
              "type": "ref",
18 18
              "description": "The hive book's info"
19 19
            },
20 20
            "cover": {
21 21
              "type": "blob",
22 22
              "accept": [
23 23
                "image/png",
24 24
                "image/jpeg"
25 25
              ],
26 26
              "maxSize": 1000000,
27 27
              "description": "Cover image of the book"
28 28
            },
29 +
            "owned": {
30 +
              "type": "boolean",
31 +
              "description": "Whether the user owns this book"
32 +
            },
29 33
            "stars": {
30 34
              "type": "integer",
31 35
              "maximum": 10,
32 36
              "minimum": 1,
33 37
              "description": "Number of stars given to the book (1-10) which will be mapped to 1-5 stars"
34 38
            },
35 39
            "review": {
36 40
              "type": "string",
37 41
              "description": "The book's review",
38 42
              "maxGraphemes": 15000
39 43
            },
40 44
            "status": {
41 45
              "type": "string",
42 46
              "knownValues": [
43 47
                "buzz.bookhive.defs#finished",
44 48
                "buzz.bookhive.defs#reading",
45 49
                "buzz.bookhive.defs#wantToRead",
46 -
                "buzz.bookhive.defs#abandoned",
47 -
                "buzz.bookhive.defs#owned"
50 +
                "buzz.bookhive.defs#abandoned"
48 51
              ]
49 52
            },
50 53
            "reviews": {
51 54
              "type": "array",
52 55
              "items": {
53 56
                "ref": "buzz.bookhive.defs#review",
54 57
                "type": "ref"
55 58
              },
56 59
              "description": "Reviews of the book"
57 60
            },
58 61
            "activity": {
59 62
              "type": "array",
60 63
              "items": {
61 64
                "ref": "buzz.bookhive.defs#activity",
62 65
                "type": "ref"
63 66
              },
64 67
              "description": "Other users' activity on the book"
65 68
            },
66 69
            "comments": {
67 70
              "type": "array",
68 71
              "items": {
69 72
                "ref": "buzz.bookhive.defs#comment",
70 73
                "type": "ref"
71 74
              },
72 75
              "description": "Comments on the book"
73 76
            },
74 77
            "createdAt": {
75 78
              "type": "string",
76 79
              "format": "datetime"
77 80
            },
78 81
            "startedAt": {
79 82
              "type": "string",
80 83
              "format": "datetime",
81 84
              "description": "The date the user started reading the book"
82 85
            },
83 86
            "finishedAt": {
84 87
              "type": "string",
85 88
              "format": "datetime",
86 89
              "description": "The date the user finished reading the book"
87 90
            },
88 91
            "bookProgress": {
89 92
              "ref": "buzz.bookhive.defs#bookProgress",
90 93
              "type": "ref",
91 94
              "description": "Reading progress for the user"
92 95
            }
93 96
          }
94 97
        },
95 98
        "encoding": "application/json"
96 99
      },
97 100
      "parameters": {
98 101
        "type": "params",
99 102
        "properties": {
100 103
          "id": {
101 104
            "type": "string",
102 105
            "description": "The book's hive ID"
103 106
          },
104 -
          "isbn": {
107 +
          "isbn10": {
105 108
            "type": "string",
106 -
            "description": "The book ISBN identifier"
109 +
            "description": "The book ISBN-10 identifier"
107 110
          },
108 111
          "isbn13": {
109 112
            "type": "string",
110 113
            "description": "The book ISBN-13 identifier"
111 114
          },
112 115
          "goodreadsId": {
113 116
            "type": "string",
114 117
            "description": "The Goodreads identifier for the book"
115 118
          }
116 119
        }
117 120
      },
118 121
      "description": "Get a book's info. Does not require authentication."
119 122
    }
120 123
  },
121 124
  "$type": "com.atproto.lexicon.schema",
122 125
  "lexicon": 1
123 126
}

Compare Other Versions

Lexicon Garden

@