chatBskyActorDefs top-level constant

Map<String, dynamic> const chatBskyActorDefs

chat.bsky.actor.defs

Implementation

const chatBskyActorDefs = <String, dynamic>{
  "lexicon": 1,
  "id": "chat.bsky.actor.defs",
  "defs": {
    "profileViewBasic": {
      "type": "object",
      "required": ["did", "handle"],
      "properties": {
        "did": {"type": "string", "format": "did"},
        "handle": {"type": "string", "format": "handle"},
        "displayName": {"type": "string", "maxLength": 640, "maxGraphemes": 64},
        "avatar": {"type": "string", "format": "uri"},
        "associated": {
          "type": "ref",
          "ref": "app.bsky.actor.defs#profileAssociated"
        },
        "viewer": {"type": "ref", "ref": "app.bsky.actor.defs#viewerState"},
        "labels": {
          "type": "array",
          "items": {"type": "ref", "ref": "com.atproto.label.defs#label"}
        },
        "chatDisabled": {
          "type": "boolean",
          "description":
              "Set to true when the actor cannot actively participate in converations"
        }
      }
    }
  }
};