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

Compare Other Versions

Lexicon Garden

@