blue.cosm.forums.comment

A comment on a topic (or a reply to another comment), stored in the commenter's own repo.

Repository @cosm.blue did:plc:rnn63n5auoexnihjf7zllr6l namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityforums.cosm.blue
Commit rev3n36ciclbuk2e
Indexed
cid bafyreid5hkqsaanvmu6i3ft5jtw5mo3fpmswqgvybscbqc3zj7ky36hwhi

Checks

Valid
  • large-string defs.main.record.properties.textmaxLength is over 20 KB. Use a blob for content that large.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A comment on a topic (or a reply to another comment), stored in the commenter's own repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "media": {
            "description": "Images attached to the reply, stored as blobs in the author's repo.",
            "items": {
              "ref": "#mediaItem",
              "type": "ref"
            },
            "maxItems": 4,
            "type": "array"
          },
          "parent": {
            "description": "Set when replying to another comment.",
            "ref": "#strongRef",
            "type": "ref"
          },
          "post": {
            "description": "The topic this comment belongs to.",
            "ref": "#strongRef",
            "type": "ref"
          },
          "text": {
            "description": "Body text; may contain the site's sanitized subset of HTML.",
            "maxGraphemes": 5000,
            "maxLength": 50000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "post",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mediaItem": {
      "properties": {
        "alt": {
          "maxGraphemes": 1000,
          "maxLength": 2000,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/png",
            "image/jpeg",
            "image/webp",
            "image/gif",
            "image/avif"
          ],
          "maxSize": 52428800,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "alt"
      ],
      "type": "object"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "blue.cosm.forums.comment",
  "lexicon": 1
}