From
bafyreicfbywmroxljvo4wfozq5v3ljohebicqwonttzvjg74lxybimsn7m
indexed 2026-11-04 23:46 UTC
View this version
To
bafyreidvwkgopejjdyjkjv4eypkv6ouhq6rukgxpz4cv4xfc3agpepvdte
indexed 2026-11-12 19:47 UTC
View this version
Compatibility
backward compatible Backward compatible. 4 non-breaking changes.
Non-breaking changes (4)
- AddedVertex AddedVertex { vertex_id: "ink.resenha.defs#bookIdentifiers.shopId" }
- AddedEdge AddedEdge { src: "ink.resenha.defs#bookIdentifiers", tgt: "ink.resenha.defs#bookIdentifiers.shopId", kind: "prop", name: Some("shopId") }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.defs#bookIdentifiers.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.defs#bookView.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }
Migration guidance
Added
AddedVertex { vertex_id: "ink.resenha.defs#bookIdentifiers.shopId" }
Constraint changes
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.defs#bookIdentifiers.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }
- ConstraintRelaxed ConstraintRelaxed { vertex_id: "ink.resenha.defs#bookView.hiveId", sort: "maxLength", old_value: "64", new_value: "128" }
Notes
- Non-breaking: AddedEdge { src: "ink.resenha.defs#bookIdentifiers", tgt: "ink.resenha.defs#bookIdentifiers.shopId", kind: "prop", name: Some("shopId") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"bookIdentifiers": {55
"description": "A book's numbers in every catalogue that has it. Any one of them finds the book; together they tie the catalogues to each other.",66
"properties": {77
"asin": {88
"description": "Amazon's, as Popfeed keeps it.",99
"maxLength": 16,1010
"type": "string"1111
},1212
"goodreadsId": {1313
"maxLength": 32,1414
"type": "string"1515
},1616
"hiveId": {1717
"description": "BookHive's ID for the edition.",18
"maxLength": 64,18
"maxLength": 128,1919
"type": "string"2020
},2121
"isbn10": {2222
"maxLength": 10,2323
"type": "string"2424
},2525
"isbn13": {2626
"maxLength": 13,2727
"type": "string"2828
},2929
"openLibraryEdition": {3030
"description": "Open Library's edition key, such as /books/OL62590811M.",3131
"maxLength": 32,3232
"type": "string"3333
},3434
"openLibraryWork": {3535
"description": "Open Library's work key, such as /works/OL45908582W: the book across its editions.",3636
"maxLength": 32,3737
"type": "string"38
},39
"shopId": {40
"description": "An edition in Resenha's Shop, such as se:jane-austen_pride-and-prejudice or pg:1342.",41
"maxLength": 64,42
"type": "string"3843
}3944
},4045
"type": "object"4146
},4247
"bookRef": {4348
"description": "Which book a record is about, in every key anyone uses, so an app finds it with the one it has: by BookHive ID, ISBN, Open Library work, or the reader's own record in another app. Resenha's records carry it beside their own keys. Nothing is required but the title, so a book no catalogue knows can still be named.",4449
"properties": {4550
"authors": {4651
"description": "Tab-separated, as BookHive stores them.",4752
"maxLength": 1024,4853
"type": "string"4954
},5055
"cover": {5156
"description": "A cover the writer's app showed for the book, downloaded and found to be a real cover rather than a catalogue's stand-in picture. Resenha's server keeps it as a fallback for the book's cover, after the catalogue's and Open Library's.",5257
"format": "uri",5358
"maxLength": 1000,5459
"type": "string"5560
},5661
"identifiers": {5762
"ref": "#bookIdentifiers",5863
"type": "ref"5964
},6065
"records": {6166
"description": "The reader's own records for the book in any app: their buzz.bookhive.book, their social.popfeed.feed.listItem records, a record in an app to come.",6267
"items": {6368
"format": "at-uri",6469
"type": "string"6570
},6671
"maxLength": 20,6772
"type": "array"6873
},6974
"title": {7075
"maxLength": 512,7176
"type": "string"7277
}7378
},7479
"required": [7580
"title"7681
],7782
"type": "object"7883
},7984
"bookView": {8085
"description": "Enough of a book to show a row. Cover and details come from BookHive's catalogue when the server has them; otherwise the app asks BookHive itself.",8186
"properties": {8287
"authors": {8388
"description": "Authors as BookHive stores them, tab-separated.",8489
"maxLength": 1024,8590
"type": "string"8691
},8792
"cover": {8893
"description": "For a Popfeed book, Popfeed's own cover, its surest address.",8994
"format": "uri",9095
"type": "string"9196
},9297
"covers": {9398
"description": "For a Popfeed book, every address of its cover, surest first, when there is more than one: the poster blob's address on Bluesky's CDN, isbndb's, then the item's posterUrl. A reader tries the next when one fails.",9499
"items": {95100
"format": "uri",96101
"type": "string"97102
},98103
"maxLength": 8,99104
"type": "array"100105
},101106
"genres": {102107
"items": {103108
"maxLength": 64,104109
"type": "string"105110
},106111
"maxLength": 32,107112
"type": "array"108113
},109114
"hiveId": {110115
"description": "The book's BookHive ID, or, for a Popfeed book BookHive's catalogue doesn't know, a stand-in beginning with popfeed- that no BookHive call takes.",111
"maxLength": 64,116
"maxLength": 128,112117
"type": "string"113118
},114119
"isbn13": {115120
"description": "The edition the reader's record names, when it names one. For a book BookHive's catalogue doesn't know, the key of the page its readers share (ink.resenha.book.getBook).",116121
"maxLength": 13,117122
"type": "string"118123
},119124
"pages": {120125
"minimum": 1,121126
"type": "integer"122127
},123128
"title": {124129
"maxLength": 512,125130
"type": "string"126131
},127132
"year": {128133
"description": "Year of publication, from BookHive's catalogue.",129134
"type": "integer"130135
}131136
},132137
"required": [133138
"hiveId"134139
],135140
"type": "object"136141
},137142
"commentView": {138143
"description": "A comment in the thread about a reader reading a book.",139144
"properties": {140145
"author": {141146
"format": "did",142147
"type": "string"143148
},144149
"cid": {145150
"format": "cid",146151
"type": "string"147152
},148153
"createdAt": {149154
"format": "datetime",150155
"type": "string"151156
},152157
"parent": {153158
"description": "The comment this one answers; absent at the top.",154159
"format": "at-uri",155160
"type": "string"156161
},157162
"removed": {158163
"description": "Removed by Resenha's maintainer but kept in place because replies hang from it: no words, no author.",159164
"type": "boolean"160165
},161166
"root": {162167
"format": "at-uri",163168
"type": "string"164169
},165170
"source": {166171
"description": "A Resenha comment, or a BookHive buzz, which is read here but answered on BookHive.",167172
"knownValues": [168173
"resenha",169174
"bookhive"170175
],171176
"type": "string"172177
},173178
"text": {174179
"maxGraphemes": 1000,175180
"maxLength": 10000,176181
"type": "string"177182
},178183
"uri": {179184
"format": "at-uri",180185
"type": "string"181186
}182187
},183188
"required": [184189
"uri",185190
"author",186191
"text",187192
"createdAt",188193
"source"189194
],190195
"type": "object"191196
},192197
"event": {193198
"description": "Something a reader did with a book.",194199
"properties": {195200
"actor": {196201
"format": "did",197202
"type": "string"198203
},199204
"book": {200205
"ref": "#bookView",201206
"type": "ref"202207
},203208
"cid": {204209
"description": "The record's version as the server last saw it, for a like or comment to name.",205210
"format": "cid",206211
"type": "string"207212
},208213
"commentCount": {209214
"description": "Comments in the event's home: the thread about the reader reading this book (Resenha comments and BookHive buzzes) for a reading or a review kept on BookHive, Popfeed's comments and replies on a Popfeed review, replies to the post of a review published from Resenha.",210215
"minimum": 0,211216
"type": "integer"212217
},213218
"date": {214219
"format": "datetime",215220
"type": "string"216221
},217222
"excerpt": {218223
"description": "The start of the review, plain text.",219224
"maxGraphemes": 300,220225
"maxLength": 3000,221226
"type": "string"222227
},223228
"kind": {224229
"description": "What they did. wantsToRead and abandoned are dated by when the server saw the status change, else by when the book was added; progress by the record.",225230
"knownValues": [226231
"started",227232
"finished",228233
"reviewed",229234
"wantsToRead",230235
"abandoned",231236
"progress"232237
],233238
"type": "string"234239
},235240
"likeCount": {236241
"description": "Likes in the event's home: Resenha likes on the reader's book record for a reading or a review kept on BookHive, Popfeed likes on a Popfeed review, Bluesky likes on the post that announced a review published from Resenha.",237242
"minimum": 0,238243
"type": "integer"239244
},240245
"popfeedReview": {241246
"description": "For a reviewed event from Popfeed: the social.popfeed.feed.review record, whose comments and likes are Popfeed's.",242247
"format": "at-uri",243248
"type": "string"244249
},245250
"post": {246251
"description": "For a reviewed event with source resenha: the Bluesky post that announced the review, whose likes and replies are the review's.",247252
"ref": "com.atproto.repo.strongRef",248253
"type": "ref"249254
},250255
"progress": {251256
"ref": "#progressView",252257
"type": "ref"253258
},254259
"review": {255260
"description": "The whole review, plain markdown, on reviewed events and on finished ones that carry the review.",256261
"maxGraphemes": 100000,257262
"maxLength": 1000000,258263
"type": "string"259264
},260265
"source": {261266
"knownValues": [262267
"bookhive",263268
"popfeed",264269
"resenha"265270
],266271
"type": "string"267272
},268273
"stars": {269274
"description": "In half stars, 1 to 10, as BookHive keeps them.",270275
"maximum": 10,271276
"minimum": 1,272277
"type": "integer"273278
},274279
"uri": {275280
"description": "The record it comes from: the reader's BookHive book record, or their Popfeed list item (or review, for a book reviewed but on no list).",276281
"format": "at-uri",277282
"type": "string"278283
},279284
"viewer": {280285
"ref": "#viewerState",281286
"type": "ref"282287
}283288
},284289
"required": [285290
"uri",286291
"kind",287292
"actor",288293
"book",289294
"date",290295
"source"291296
],292297
"type": "object"293298
},294299
"followerView": {295300
"description": "Someone who follows the caller.",296301
"properties": {297302
"books": {298303
"description": "How many books they keep in the index; 0 for someone who isn't a reader.",299304
"minimum": 0,300305
"type": "integer"301306
},302307
"did": {303308
"format": "did",304309
"type": "string"305310
},306311
"followedAt": {307312
"description": "When they followed, when the server heard the follow itself; absent for follows older than its listening.",308313
"format": "datetime",309314
"type": "string"310315
},311316
"follows": {312317
"description": "Whether the caller follows them back.",313318
"type": "boolean"314319
},315320
"readingNow": {316321
"items": {317322
"ref": "#bookView",318323
"type": "ref"319324
},320325
"maxLength": 3,321326
"type": "array"322327
}323328
},324329
"required": [325330
"did"326331
],327332
"type": "object"328333
},329334
"knownFollowers": {330335
"description": "Among the caller's follows, who follows a reader: social proof within Resenha's community, from the follows and followers the server keeps.",331336
"properties": {332337
"count": {333338
"minimum": 0,334339
"type": "integer"335340
},336341
"followers": {337342
"description": "Up to three of them, to name.",338343
"items": {339344
"format": "did",340345
"type": "string"341346
},342347
"maxLength": 3,343348
"type": "array"344349
}345350
},346351
"required": [347352
"count"348353
],349354
"type": "object"350355
},351356
"profileView": {352357
"description": "Someone's name and picture, as Bluesky's AppView last gave them to the server; absent for a reader it hasn't fetched yet, whose name the app then finds itself.",353358
"properties": {354359
"avatar": {355360
"format": "uri",356361
"type": "string"357362
},358363
"did": {359364
"format": "did",360365
"type": "string"361366
},362367
"displayName": {363368
"maxGraphemes": 64,364369
"maxLength": 640,365370
"type": "string"366371
},367372
"handle": {368373
"format": "handle",369374
"type": "string"370375
}371376
},372377
"required": [373378
"did"374379
],375380
"type": "object"376381
},377382
"progressView": {378383
"description": "How far through the book the reader is, as the record says.",379384
"properties": {380385
"currentPage": {381386
"minimum": 1,382387
"type": "integer"383388
},384389
"percent": {385390
"maximum": 100,386391
"minimum": 0,387392
"type": "integer"388393
},389394
"totalPages": {390395
"minimum": 1,391396
"type": "integer"392397
},393398
"updatedAt": {394399
"format": "datetime",395400
"type": "string"396401
}397402
},398403
"required": [399404
"percent",400405
"updatedAt"401406
],402407
"type": "object"403408
},404409
"readerView": {405410
"properties": {406411
"books": {407412
"description": "How many books they keep on BookHive.",408413
"minimum": 0,409414
"type": "integer"410415
},411416
"booksInCommon": {412417
"description": "With the caller, when sorted by similar.",413418
"minimum": 0,414419
"type": "integer"415420
},416421
"did": {417422
"format": "did",418423
"type": "string"419424
},420425
"followedAt": {421426
"description": "When the caller followed them, for the caller's own list.",422427
"format": "datetime",423428
"type": "string"424429
},425430
"followsYou": {426431
"description": "Whether they follow the caller, as the server knows it.",427432
"type": "boolean"428433
},429434
"joinedAt": {430435
"description": "When they started using Resenha.",431436
"format": "datetime",432437
"type": "string"433438
},434439
"lastActivity": {435440
"description": "When they last started, finished, changed or progressed in a book.",436441
"format": "datetime",437442
"type": "string"438443
},439444
"readingNow": {440445
"items": {441446
"ref": "#bookView",442447
"type": "ref"443448
},444449
"maxLength": 3,445450
"type": "array"446451
}447452
},448453
"required": [449454
"did"450455
],451456
"type": "object"452457
},453458
"reportView": {454459
"description": "A reported, or removed, Resenha comment as the maintainers see it.",455460
"properties": {456461
"author": {457462
"format": "did",458463
"type": "string"459464
},460465
"note": {461466
"type": "string"462467
},463468
"reason": {464469
"type": "string"465470
},466471
"removed": {467472
"type": "boolean"468473
},469474
"removedAt": {470475
"format": "datetime",471476
"type": "string"472477
},473478
"reportedAt": {474479
"format": "datetime",475480
"type": "string"476481
},477482
"reporter": {478483
"format": "did",479484
"type": "string"480485
},481486
"resolution": {482487
"knownValues": [483488
"remove",484489
"keep",485490
"removeAndHide",486491
"restore"487492
],488493
"type": "string"489494
},490495
"resolvedAt": {491496
"format": "datetime",492497
"type": "string"493498
},494499
"subject": {495500
"description": "The book record the thread is on.",496501
"format": "at-uri",497502
"type": "string"498503
},499504
"subjectOwner": {500505
"format": "did",501506
"type": "string"502507
},503508
"subjectTitle": {504509
"description": "That book's title, when the index has it.",505510
"type": "string"506511
},507512
"text": {508513
"description": "The comment's words, as the index keeps them.",509514
"type": "string"510515
},511516
"uri": {512517
"description": "The comment.",513518
"format": "at-uri",514519
"type": "string"515520
}516521
},517522
"required": [518523
"uri"519524
],520525
"type": "object"521526
},522527
"reviewView": {523528
"properties": {524529
"author": {525530
"format": "did",526531
"type": "string"527532
},528533
"book": {529534
"ref": "#bookView",530535
"type": "ref"531536
},532537
"createdAt": {533538
"format": "datetime",534539
"type": "string"535540
},536541
"excerpt": {537542
"maxGraphemes": 300,538543
"maxLength": 3000,539544
"type": "string"540545
},541546
"hasSpoilers": {542547
"type": "boolean"543548
},544549
"languages": {545550
"items": {546551
"format": "language",547552
"type": "string"548553
},549554
"maxLength": 8,550555
"type": "array"551556
},552557
"source": {553558
"knownValues": [554559
"bookhive",555560
"popfeed",556561
"resenha"557562
],558563
"type": "string"559564
},560565
"stars": {561566
"maximum": 10,562567
"minimum": 1,563568
"type": "integer"564569
},565570
"text": {566571
"description": "The whole review, when asked for with full.",567572
"maxGraphemes": 100000,568573
"maxLength": 1000000,569574
"type": "string"570575
},571576
"title": {572577
"maxGraphemes": 300,573578
"maxLength": 3000,574579
"type": "string"575580
},576581
"uri": {577582
"description": "The review: a Standard.site document, a Popfeed review, or a BookHive book record with a review.",578583
"format": "at-uri",579584
"type": "string"580585
}581586
},582587
"required": [583588
"uri",584589
"author",585590
"book",586591
"createdAt",587592
"source"588593
],589594
"type": "object"590595
},591596
"starterPackView": {592597
"description": "A starter pack the server keeps in the official account.",593598
"properties": {594599
"description": {595600
"type": "string"596601
},597602
"list": {598603
"description": "The reference list the pack is built on.",599604
"format": "at-uri",600605
"type": "string"601606
},602607
"members": {603608
"items": {604609
"format": "did",605610
"type": "string"606611
},607612
"maxLength": 150,608613
"type": "array"609614
},610615
"name": {611616
"type": "string"612617
},613618
"updatedAt": {614619
"format": "datetime",615620
"type": "string"616621
},617622
"uri": {618623
"format": "at-uri",619624
"type": "string"620625
}621626
},622627
"required": [623628
"uri",624629
"name",625630
"members"626631
],627632
"type": "object"628633
},629634
"suggestionView": {630635
"description": "A reader worth following, for an empty Parlor.",631636
"properties": {632637
"activeDays": {633638
"description": "Days over the last six months on which they started, finished, changed, progressed in or reviewed a book, on any source.",634639
"minimum": 0,635640
"type": "integer"636641
},637642
"books": {638643
"minimum": 0,639644
"type": "integer"640645
},641646
"did": {642647
"format": "did",643648
"type": "string"644649
},645650
"followsYou": {646651
"description": "They follow the caller already.",647652
"type": "boolean"648653
},649654
"knownFollowers": {650655
"ref": "#knownFollowers",651656
"type": "ref"652657
},653658
"languages": {654659
"description": "The languages they said their reviews are in.",655660
"items": {656661
"format": "language",657662
"type": "string"658663
},659664
"type": "array"660665
},661666
"latestReview": {662667
"properties": {663668
"date": {664669
"format": "datetime",665670
"type": "string"666671
},667672
"excerpt": {668673
"maxGraphemes": 200,669674
"type": "string"670675
},671676
"title": {672677
"type": "string"673678
}674679
},675680
"type": "object"676681
},677682
"reviews": {678683
"minimum": 0,679684
"type": "integer"680685
},681686
"source": {682687
"description": "Where they read: Resenha's readers come first, then BookHive's and Popfeed's.",683688
"knownValues": [684689
"resenha",685690
"bookhive",686691
"popfeed"687692
],688693
"type": "string"689694
},690695
"tier": {691696
"maximum": 2,692697
"minimum": 0,693698
"type": "integer"694699
}695700
},696701
"required": [697702
"did",698703
"source"699704
],700705
"type": "object"701706
},702707
"viewerState": {703708
"description": "The caller's own reactions to a book record.",704709
"properties": {705710
"like": {706711
"description": "The caller's like, to take it back.",707712
"format": "at-uri",708713
"type": "string"709714
}710715
},711716
"type": "object"712717
}713718
},714719
"description": "Views shared by the calls Resenha's server answers.",715720
"id": "ink.resenha.defs",716721
"lexicon": 1717722
}