com.livtet.topBook

A reader's ranked favourite books. At most four distinct editions, in rank order, each with the accent its profile tile is drawn with.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritylivtet.com
Commit rev3n3l6gfhkgebq
Indexed
cid bafyreiaq3rolyu2zjiotozejgoolgfmivhjl66ohzhrqkklyubs32pr53m

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A reader's ranked favourite books. At most four distinct editions, in rank order, each with the accent its profile tile is drawn with.",
      "key": "literal:self",
      "record": {
        "properties": {
          "books": {
            "description": "The ranked picks, first place first.",
            "items": {
              "ref": "#topBook",
              "type": "ref"
            },
            "maxLength": 4,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "books",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "topBook": {
      "properties": {
        "book": {
          "description": "The ranked edition, as a community.lexicon.book.edition at-uri.",
          "format": "at-uri",
          "type": "string"
        },
        "color": {
          "description": "The accent drawn around this pick's tile, as #rrggbb.",
          "maxGraphemes": 7,
          "minGraphemes": 7,
          "type": "string"
        }
      },
      "required": [
        "book",
        "color"
      ],
      "type": "object"
    }
  },
  "id": "com.livtet.topBook",
  "lexicon": 1
}