full diff

ink.resenha.bookReview

resenha.ink +2 −2
From
bafyreicp555nejliiqozohnr4se2g6kxtebicxjpeln5i3zellzpskedcm indexed 2026-11-05 21:42 UTC View this version
To
bafyreie44rqjwfdiahadol472nekmnz7cxci6zfxbc7bzt2h64uorebn6i indexed 2026-11-06 02:26 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "drawing": {
55 "properties": {
66 "background": {
77 "description": "The sheet the drawing is on.",
88 "knownValues": [
99 "paper",
1010 "notebook"
1111 ],
1212 "maxLength": 64,
1313 "type": "string"
1414 },
1515 "block": {
1616 "description": "The drawing block's position in the document's content, counting from 0.",
1717 "minimum": 0,
1818 "type": "integer"
1919 },
2020 "guideFills": {
2121 "description": "The positions, from 0, of the block's fills that are the sheet rather than the writer's drawing.",
2222 "items": {
2323 "minimum": 0,
2424 "type": "integer"
2525 },
2626 "maxLength": 1000,
2727 "type": "array"
2828 },
2929 "guideStrokes": {
3030 "description": "The positions, from 0, of the block's strokes that are ruled lines rather than the writer's drawing.",
3131 "items": {
3232 "minimum": 0,
3333 "type": "integer"
3434 },
3535 "maxLength": 1000,
3636 "type": "array"
3737 }
3838 },
3939 "required": [
4040 "block",
4141 "background"
4242 ],
4343 "type": "object"
4444 },
4545 "galleryImage": {
4646 "properties": {
4747 "block": {
4848 "description": "The gallery block's position in the document's content, counting from 0.",
4949 "minimum": 0,
5050 "type": "integer"
5151 },
5252 "fullBleed": {
5353 "description": "The image runs to the page's edges, as a single image block's fullBleed.",
5454 "type": "boolean"
5555 },
5656 "image": {
5757 "description": "The image's position in the gallery, counting from 0.",
5858 "minimum": 0,
5959 "type": "integer"
6060 },
6161 "width": {
6262 "description": "The width the writer gave the image, in points, as a single image block's width.",
6363 "minimum": 1,
6464 "type": "integer"
6565 }
6666 },
6767 "required": [
6868 "block",
6969 "image"
7070 ],
7171 "type": "object"
7272 },
7373 "main": {
74 "description": "One per reviewed book. The record key is the book's BookHive ID (hiveId), so a reader's review of a book can be found with a single getRecord. A book BookHive doesn't hold is keyed by a stand-in instead (isbn-…, resenha-… or popfeed-…), which is also its hiveId.",
74 "description": "One per reviewed book. The record key is the book's BookHive ID (hiveId), so a reader's review of a book can be found with a single getRecord. A book BookHive doesn't hold is keyed by a stand-in instead, which is also its hiveId: isbn-… and the edition's ISBN-13, or resenha-… and the ink.resenha.reading's record key for a book with no ISBN. Records written before Resenha 1.6.10 may also be keyed popfeed-…, for a book the reader kept in Popfeed.",
7575 "key": "any",
7676 "record": {
7777 "properties": {
7878 "book": {
79 "description": "The reader's record for the book: a buzz.bookhive.book or an ink.resenha.reading, whose review field holds the same review as plain text, or, for a book the reader keeps in Popfeed, a social.popfeed.feed.listItem, whose newest social.popfeed.feed.review holds it as plain text with a link to the formatted review.",
79 "description": "The reader's record for the book: a buzz.bookhive.book or an ink.resenha.reading, whose review field holds the same review as plain text. A review published before Resenha 1.6.10 may still name a social.popfeed.feed.listItem, for a book the reader kept in Popfeed then. That record may since have been deleted, when the book moved to BookHive or a reading.",
8080 "format": "at-uri",
8181 "type": "string"
8282 },
8383 "bookRef": {
8484 "description": "The book in every key anyone uses, so the review can be found for an edition no catalogue knows, by ISBN.",
8585 "ref": "ink.resenha.defs#bookRef",
8686 "type": "ref"
8787 },
8888 "createdAt": {
8989 "format": "datetime",
9090 "type": "string"
9191 },
9292 "document": {
9393 "description": "The site.standard.document that holds the review. Its content is the formatted review; its textContent is the same review as plain text.",
9494 "format": "at-uri",
9595 "type": "string"
9696 },
9797 "drawings": {
9898 "description": "How Resenha drew the document's drawing blocks: the sheet behind each and its ruled lines, which the blocks themselves hold as ordinary fills and strokes. One entry per drawing with a background.",
9999 "items": {
100100 "ref": "#drawing",
101101 "type": "ref"
102102 },
103103 "maxLength": 50,
104104 "type": "array"
105105 },
106106 "galleryImages": {
107107 "description": "The layout the writer gave images inside the document's gallery blocks, which a gallery's images don't hold themselves. A single image block keeps its width and fullBleed in the block.",
108108 "items": {
109109 "ref": "#galleryImage",
110110 "type": "ref"
111111 },
112112 "maxLength": 200,
113113 "type": "array"
114114 },
115115 "hiveId": {
116116 "description": "The book's BookHive ID, or the stand-in the record is keyed by for a book BookHive doesn't hold. Also the record key.",
117117 "maxLength": 64,
118118 "type": "string"
119119 },
120120 "langs": {
121121 "description": "The languages the review is written in, as the reader chose them. BCP-47 codes, as in a Bluesky post's langs.",
122122 "items": {
123123 "format": "language",
124124 "type": "string"
125125 },
126126 "maxLength": 3,
127127 "type": "array"
128128 },
129129 "lineSpacing": {
130130 "description": "The line spacing the writer chose, as a percentage of the font's own line height, as word processors count it. Known values: 100, 115, 150, 200. Absent for the usual spacing.",
131131 "maximum": 400,
132132 "minimum": 50,
133133 "type": "integer"
134134 },
135135 "paragraphSpacing": {
136136 "description": "The gap between paragraphs the writer chose, as a percentage of the text size. Known values: 40, 90, 150. Absent for the usual gap.",
137137 "maximum": 400,
138138 "minimum": 0,
139139 "type": "integer"
140140 },
141141 "spoiler": {
142142 "description": "The reader marked the review as giving away parts of the book. The document carries the same mark as a \"spoiler\" self-label.",
143143 "type": "boolean"
144144 }
145145 },
146146 "required": [
147147 "document",
148148 "book",
149149 "hiveId",
150150 "createdAt"
151151 ],
152152 "type": "object"
153153 },
154154 "type": "record"
155155 }
156156 },
157157 "description": "Connects a book review, published as a site.standard.document, to the book it reviews.",
158158 "id": "ink.resenha.bookReview",
159159 "lexicon": 1
160160}

Compare other versions