web components for a integrable atproto based guestbook
1import { document, object, record, required, string } from '@atcute/lexicon-doc/builder';
2
3export default document({
4 id: 'pet.nkp.guestbook.sign',
5 defs: {
6 main: record({
7 key: 'tid',
8 description: 'a sign in the guestbook',
9 record: object({
10 properties: {
11 subject: required(string({ format: 'at-identifier' })),
12 createdAt: required(string({ format: 'datetime' })),
13 message: required(string({ maxLength: 100 })),
14 },
15 }),
16 }),
17 },
18});