{ "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" } } } } } }