appview/lexicons/me/woach/feed/session.json
Julia Lange 5cd14bec0e
lexicon, add session and anilist media
I have a local stash with an alternative media method, but for the MVP
we'll just implement anilist. In order to use anilist we need to contact
them to make sure we don't break rule 5 of their Terms of Service.
2025-03-16 18:47:34 -07:00

37 lines
935 B
JSON

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