appBskyGraphBlock top-level constant

Map<String, dynamic> const appBskyGraphBlock

app.bsky.graph.block

Implementation

const appBskyGraphBlock = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.graph.block",
  "defs": {
    "main": {
      "type": "record",
      "description":
          "Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["subject", "createdAt"],
        "properties": {
          "subject": {
            "type": "string",
            "format": "did",
            "description": "DID of the account to be blocked."
          },
          "createdAt": {"type": "string", "format": "datetime"}
        }
      }
    }
  }
};