appBskyActorLink top-level constant

Map<String, dynamic> const appBskyActorLink

app.bsky.actor.link

Implementation

const appBskyActorLink = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.actor.link",
  "defs": {
    "main": {
      "type": "record",
      "description":
          "A link shown on the account's profile. The profile record's links field sets which links are shown, and in what order.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["url", "createdAt"],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The link destination, an https URL.",
          },
          "title": {
            "type": "string",
            "description":
                "Optional label for the link. Clients can fall back to the destination's domain.",
            "maxLength": 320,
            "maxGraphemes": 40,
          },
          "icon": {
            "type": "blob",
            "description":
                "The destination site's icon, uploaded when the link is saved.",
            "accept": ["image/png", "image/jpeg", "image/webp"],
            "maxSize": 100000,
          },
          "createdAt": {"type": "string", "format": "datetime"},
        },
      },
    },
  },
};