full diff

community.lexicon.media.book.review

From
bafyreidwjlm3r5ffp5d6k32f7v3emvpb6fxzflwy7uyizmlvjft56z43ly indexed 2026-11-16 18:28 UTC View this version
To
bafyreidwjlm3r5ffp5d6k32f7v3emvpb6fxzflwy7uyizmlvjft56z43ly indexed 2026-11-16 18:28 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "flags": {
55 "description": "Optional review presentation flags.",
66 "properties": {
77 "spoilers": {
88 "description": "Whether the review contains spoilers.",
99 "type": "boolean"
1010 }
1111 },
1212 "required": [],
1313 "type": "object"
1414 },
1515 "main": {
1616 "description": "A review or rating of a book. Separate record keys allow multiple reviews of the same book, including rereads.",
1717 "key": "tid",
1818 "record": {
1919 "description": "A self-contained review. At least one of rating or nonempty textContent is required.",
2020 "properties": {
2121 "content": {
2222 "description": "Optional client-specific rich content, using the same open-union shape as site.standard.document.content. Each content object must include a $type identifying its format. A written review must also supply its plain-text textContent fallback.",
2323 "refs": [],
2424 "type": "union"
2525 },
2626 "createdAt": {
2727 "description": "Time this review was created.",
2828 "format": "datetime",
2929 "type": "string"
3030 },
3131 "flags": {
3232 "ref": "#flags",
3333 "type": "ref"
3434 },
3535 "rating": {
3636 "description": "Rating on a 1-20 scale; divide by four for a five-star display.",
3737 "maximum": 20,
3838 "minimum": 1,
3939 "type": "integer"
4040 },
4141 "subject": {
4242 "ref": "community.lexicon.media.book.defs#editionRef",
4343 "type": "ref"
4444 },
4545 "subjectRecord": {
4646 "description": "Optional AT-URI to an edition record for enrichment; subject.identifiers remain the matching mechanism.",
4747 "format": "at-uri",
4848 "type": "string"
4949 },
5050 "textContent": {
5151 "description": "Plain-text review, without Markdown. At least one of rating or nonempty textContent must be supplied. Rich content alone does not satisfy this requirement.",
5252 "minLength": 1,
5353 "type": "string"
5454 }
5555 },
5656 "required": [
5757 "subject",
5858 "createdAt"
5959 ],
6060 "type": "object"
6161 },
6262 "type": "record"
6363 }
6464 },
6565 "description": "A portable review with an embedded book reference.",
6666 "id": "community.lexicon.media.book.review",
6767 "lexicon": 1
6868}

Compare other versions