diff --git a/lexicons/me/woach/content/media.json b/lexicons/me/woach/content/media.json new file mode 100644 index 0000000..4a82ed0 --- /dev/null +++ b/lexicons/me/woach/content/media.json @@ -0,0 +1,13 @@ +{ + "lexicon": 1, + "id": "me.woach.content.media", + "defs": { + "anilist": { + "type": "object", + "required": ["id"], + "properties": { + "id": { "type": "integer" } + } + } + } +} diff --git a/lexicons/me/woach/feed/session.json b/lexicons/me/woach/feed/session.json new file mode 100644 index 0000000..1a50c15 --- /dev/null +++ b/lexicons/me/woach/feed/session.json @@ -0,0 +1,37 @@ +{ + "lexicon": 1, + "id": "me.woach.feed.session", + "defs": { + "main": { + "type": "record", + "description": "A session of consuming some content", + "key": "tid", + "record": { + "type": "object", + "required": ["content", "createdAt"], + "properties": { + "content": { + "type": "union", + "refs": [ + "me.woach.content.media#anilist" + ] + }, + "title": { + "type": "string", + "maxGraphemes": 64, + "maxLength": 640 + }, + "participants": { + "type": "array", + "items": { "type": "ref", "ref": "com.atproto.repo.strongRef" } + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp for when this activity was created" + } + } + } + } + } +}