org.passingreads.book.registration

passingreads.org

Schema Diff

+2 -2

From

CID
bafyreici5bowgpf...
Indexed At
2026-02-18 19:52 UTC
View this version

To

CID
bafyreieaworcc24...
Indexed At
2026-04-06 07:09 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "A book that has been registered on PassingReads",
6 6
      "key": "any",
7 7
      "record": {
8 8
        "properties": {
9 9
          "aspectRatio": {
10 10
            "description": "Aspect ratio of the cover image",
11 11
            "ref": "org.passingreads.defs#aspectRatio",
12 12
            "type": "ref"
13 13
          },
14 14
          "authors": {
15 15
            "description": "Authors of this book, in order of credit. An empty array implies a book of anonymous or unknown authorship.",
16 16
            "items": {
17 17
              "maxLength": 512,
18 18
              "minLength": 1,
19 19
              "type": "string"
20 20
            },
21 21
            "type": "array"
22 22
          },
23 23
          "bookId": {
24 24
            "description": "The book's ID (as defined on its QR Code)",
25 25
            "type": "string"
26 26
          },
27 27
          "bookPub": {
28 28
            "description": "The MultiFormat public key of the book.",
29 29
            "type": "bytes"
30 30
          },
31 31
          "bookSig": {
32 32
            "description": "The MultiFormat signature of this record, without this attribute, as created by the private key associated with the book.",
33 33
            "type": "bytes"
34 34
          },
35 35
          "cover": {
36 36
            "accept": [
37 37
              "image/png",
38 38
              "image/jpeg"
39 39
            ],
40 40
            "description": "Cover image of the book",
41 41
            "maxSize": 1000000,
42 42
            "type": "blob"
43 43
          },
44 44
          "did": {
45 45
            "description": "The DID of the person who registered the book. Included here, so it's verifiable with the bookSig.",
46 46
            "format": "did",
47 47
            "type": "string"
48 48
          },
49 49
          "occurredAt": {
50 50
            "format": "datetime",
51 51
            "type": "string"
52 52
          },
53 53
          "publicationId": {
54 54
            "description": "The book's Open Library Edition ID",
55 55
            "type": "string"
56 56
          },
57 57
          "title": {
58 58
            "description": "The title of the book",
59 59
            "maxLength": 512,
60 60
            "minLength": 1,
61 61
            "type": "string"
62 62
          }
63 63
        },
64 64
        "required": [
65 65
          "did",
66 66
          "bookId",
67 67
          "title",
68 68
          "authors",
69 69
          "publicationId",
70 -
          "occurredAt",
71 70
          "bookPub",
72 -
          "bookSig"
71 +
          "bookSig",
72 +
          "occurredAt"
73 73
        ],
74 74
        "type": "object"
75 75
      },
76 76
      "type": "record"
77 77
    }
78 78
  },
79 79
  "id": "org.passingreads.book.registration",
80 80
  "lexicon": 1
81 81
}

Compare Other Versions

Lexicon Garden

@