forum.barazo.interaction.reaction

Record containing a reaction to a forum topic or reply.

Repository @barazo.forum did:plc:7brt3r7rokkjqc4wjgeovnyx namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityinteraction.barazo.forum
Indexed
cid bafyreichoygcxcjiysh26p4n7obinpaw7ncodm4mahxqi3kskckyt4pyoq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "heart": {
      "description": "Love/appreciation reaction.",
      "type": "token"
    },
    "like": {
      "description": "Simple approval reaction.",
      "type": "token"
    },
    "main": {
      "description": "Record containing a reaction to a forum topic or reply.",
      "key": "tid",
      "record": {
        "properties": {
          "community": {
            "description": "DID of the community where this reaction was created. Immutable origin identifier.",
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this reaction was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The topic or reply being reacted to.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "type": {
            "description": "Reaction type identifier. Communities may define additional values.",
            "knownValues": [
              "forum.barazo.interaction.reaction#like",
              "forum.barazo.interaction.reaction#heart",
              "forum.barazo.interaction.reaction#thumbsup"
            ],
            "maxGraphemes": 30,
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "type",
          "community",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "thumbsup": {
      "description": "Agreement/thumbs-up reaction.",
      "type": "token"
    }
  },
  "description": "A reaction to a forum topic or reply, with configurable reaction types per community.",
  "id": "forum.barazo.interaction.reaction",
  "lexicon": 1
}