appBskyFeedGenerator top-level constant

Map<String, dynamic> const appBskyFeedGenerator

app.bsky.feed.generator

Implementation

const appBskyFeedGenerator = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.feed.generator",
  "defs": {
    "main": {
      "type": "record",
      "description":
          "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["did", "displayName", "createdAt"],
        "properties": {
          "did": {"type": "string", "format": "did"},
          "displayName": {
            "type": "string",
            "maxLength": 240,
            "maxGraphemes": 24
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "descriptionFacets": {
            "type": "array",
            "items": {"type": "ref", "ref": "app.bsky.richtext.facet"}
          },
          "avatar": {
            "type": "blob",
            "accept": ["image/png", "image/jpeg"],
            "maxSize": 1000000
          },
          "acceptsInteractions": {
            "type": "boolean",
            "description":
                "Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions"
          },
          "labels": {
            "type": "union",
            "description": "Self-label values",
            "refs": ["com.atproto.label.defs#selfLabels"]
          },
          "createdAt": {"type": "string", "format": "datetime"}
        }
      }
    }
  }
};