app.didpic.feed.comment

lexicons.didpic.app

Documentation

A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.

main record

A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.

Record Key tid Timestamp-based ID

Properties

alt string Optional

Alt text for accessibility. Required by the client when `image` is set and the author has the requireAltText pref enabled.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

image blob Optional

No description available.

maxSize: 5.0 MB
text string Optional

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "createdAt"
    ],
    "properties": {
      "alt": {
        "type": "string",
        "maxLength": 10000,
        "description": "Alt text for accessibility. Required by the client when `image` is set and the author has the requireAltText pref enabled.",
        "maxGraphemes": 1000
      },
      "text": {
        "type": "string",
        "maxLength": 10000,
        "maxGraphemes": 1000
      },
      "image": {
        "type": "blob",
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "maxSize": 5000000
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "app.didpic.richtext.facet",
          "type": "ref"
        }
      },
      "labels": {
        "ref": "app.didpic.feed.post#selfLabels",
        "type": "ref",
        "description": "Self-applied content labels (e.g. nsfw) on the comment's image."
      },
      "parent": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The comment being replied to."
      },
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The post being commented on."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "aspectRatio": {
        "ref": "app.didpic.feed.post#aspectRatio",
        "type": "ref"
      }
    }
  },
  "description": "A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible."
}

Lexicon Garden

@