~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/spaces-bookclub

Book club: a Svelte demo app for atproto spaces (@atproto/lex-space)

0
0
main
21 lines · 677 B Raw History
{
  "lexicon": 1,
  "id": "com.example.bookclub.review",
  "defs": {
    "main": {
      "type": "record",
      "description": "A member's review of a book, stored in their repo in a book club space.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["book", "stars", "text", "createdAt"],
        "properties": {
          "book": { "type": "string", "maxLength": 300, "maxGraphemes": 100 },
          "stars": { "type": "integer", "minimum": 1, "maximum": 5 },
          "text": { "type": "string", "maxLength": 3000, "maxGraphemes": 1000 },
          "createdAt": { "type": "string", "format": "datetime" }
        }
      }
    }
  }
}