full diff

org.passingreads.book.registration

passingreads.org +12 −0
From
bafyreigsr5tbqgfxau32hwvfsiydj7yhobthdkj64fxkqasn5sg2zv3w6y indexed 2026-04-29 04:17 UTC View this version
To
bafyreifpkti4rqlofbfpbogah5exnuwkkx3b5ux3myxvaxmmlyvido5nf4 indexed 2026-09-10 14:16 UTC View this version

Compatibility

backward compatible Backward compatible. 12 non-breaking changes.

Non-breaking changes (12)
  • AddedVertex AddedVertex { vertex_id: "community.lexicon.location.hthree#main" }
  • AddedVertex AddedVertex { vertex_id: "org.passingreads.book.event#osmLocation" }
  • AddedVertex AddedVertex { vertex_id: "org.passingreads.book.registration:body.kept" }
  • AddedVertex AddedVertex { vertex_id: "org.passingreads.book.registration:body.location" }
  • AddedVertex AddedVertex { vertex_id: "org.passingreads.book.registration:body.location:variant0" }
  • AddedVertex AddedVertex { vertex_id: "org.passingreads.book.registration:body.location:variant1" }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body", tgt: "org.passingreads.book.registration:body.kept", kind: "prop", name: Some("kept") }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body", tgt: "org.passingreads.book.registration:body.location", kind: "prop", name: Some("location") }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body.location", tgt: "org.passingreads.book.registration:body.location:variant0", kind: "variant", name: Some("community.lexicon.location.hthree#main") }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body.location", tgt: "org.passingreads.book.registration:body.location:variant1", kind: "variant", name: Some("org.passingreads.book.event#osmLocation") }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body.location:variant0", tgt: "community.lexicon.location.hthree#main", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "org.passingreads.book.registration:body.location:variant1", tgt: "org.passingreads.book.event#osmLocation", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "community.lexicon.location.hthree#main" }
  • AddedVertex { vertex_id: "org.passingreads.book.event#osmLocation" }
  • AddedVertex { vertex_id: "org.passingreads.book.registration:body.kept" }
  • AddedVertex { vertex_id: "org.passingreads.book.registration:body.location" }
  • AddedVertex { vertex_id: "org.passingreads.book.registration:body.location:variant0" }
  • AddedVertex { vertex_id: "org.passingreads.book.registration:body.location:variant1" }

Notes

  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body", tgt: "org.passingreads.book.registration:body.kept", kind: "prop", name: Some("kept") }
  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body", tgt: "org.passingreads.book.registration:body.location", kind: "prop", name: Some("location") }
  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body.location", tgt: "org.passingreads.book.registration:body.location:variant0", kind: "variant", name: Some("community.lexicon.location.hthree#main") }
  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body.location", tgt: "org.passingreads.book.registration:body.location:variant1", kind: "variant", name: Some("org.passingreads.book.event#osmLocation") }
  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body.location:variant0", tgt: "community.lexicon.location.hthree#main", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "org.passingreads.book.registration:body.location:variant1", tgt: "org.passingreads.book.event#osmLocation", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A book that has been registered on PassingReads",
66 "key": "any",
77 "record": {
88 "properties": {
99 "aspectRatio": {
1010 "description": "Aspect ratio of the cover image",
1111 "ref": "org.passingreads.defs#aspectRatio",
1212 "type": "ref"
1313 },
1414 "authors": {
1515 "description": "Authors of this book, in order of credit. An empty array implies a book of anonymous or unknown authorship.",
1616 "items": {
1717 "maxLength": 512,
1818 "minLength": 1,
1919 "type": "string"
2020 },
2121 "type": "array"
2222 },
2323 "bookId": {
2424 "description": "The book's ID (as defined on its QR Code)",
2525 "type": "string"
2626 },
2727 "cover": {
2828 "accept": [
2929 "image/png",
3030 "image/jpeg"
3131 ],
3232 "description": "Cover image of the book",
3333 "maxSize": 1000000,
3434 "type": "blob"
3535 },
36 "kept": {
37 "description": "Whether the registrant is keeping the book. Absent means true, so records written before this field existed still read as kept. When false the book starts its journey at `location` rather than in the registrant's library.",
38 "type": "boolean"
39 },
40 "location": {
41 "description": "Where the book is at the moment it is registered.",
42 "refs": [
43 "community.lexicon.location.hthree#main",
44 "org.passingreads.book.event#osmLocation"
45 ],
46 "type": "union"
47 },
3648 "occurredAt": {
3749 "format": "datetime",
3850 "type": "string"
3951 },
4052 "publicationId": {
4153 "description": "The book's Open Library Edition ID",
4254 "type": "string"
4355 },
4456 "signatures": {
4557 "description": "Inline attestations binding this record to the book's keypair.",
4658 "items": {
4759 "ref": "org.passingreads.signature.book#main",
4860 "type": "ref"
4961 },
5062 "minLength": 1,
5163 "type": "array"
5264 },
5365 "title": {
5466 "description": "The title of the book",
5567 "maxLength": 512,
5668 "minLength": 1,
5769 "type": "string"
5870 }
5971 },
6072 "required": [
6173 "bookId",
6274 "title",
6375 "authors",
6476 "publicationId",
6577 "signatures",
6678 "occurredAt"
6779 ],
6880 "type": "object"
6981 },
7082 "type": "record"
7183 }
7284 },
7385 "id": "org.passingreads.book.registration",
7486 "lexicon": 1
7587}

Compare other versions