site.mochott.notification.defs

Shared definitions for mochott notifications.

Repository @tokimeki.blue did:plc:4tr5dqti7nmu6g2czpthntak namespace authority
Details · defs
Kinddefs
Authoritynotification.mochott.site
Indexed

#actorView

object

Properties

avatar

requiredstring

Avatar image. May be a path relative to the mochott origin (/api/image/{did}/{cid}) or an absolute URL.

  • nullable

did

requiredstring

DID of the account that caused the notification.

displayName

requiredstring
  • nullable

handle

requiredstring

Handle, or "unknown" when the profile could not be resolved.

#notificationView

object

A notification for the requesting account. url, commentUri and commentText are only returned when the request names types or continues a keyset cursor.

Properties

actor

requiredref
Reference

The content of commentUri. Absent when the comment has been deleted.

commentUri

string · at-uri

For comment, reply, comic_comment and comic_reply: the comment that caused the notification (the reply itself for replies). Absent for notifications created before it was recorded.

createdAt

requiredstring · datetime

documentTitle

requiredstring

Title of the subject. For import_completed and import_failed it is "<processed>|<failed>".

  • nullable

documentUri

requiredstring · at-uri

The article, comic chapter or strip, or comic series the notification is about. Null for subscriptions and imports.

  • nullable

id

requiredinteger
  • minimum: 0

isRead

requiredboolean

type

requiredstring
  • knownValues: new_article | like | subscription | comment | reply | import_completed | import_failed | new_comic | comic_like | comic_comment | comic_reply | comic_subscription

url

string · uri

Absolute URL of the mochott page the notification opens: the article, the comic chapter, strip or series, or the subscriber's profile. Absent for imports and for works no longer indexed.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.