{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The hidden blocks between the viewer and each of up to 25 accounts, in either direction, so a client can tell a hidden-blocked viewer it's blocked, as it would for a public block. Only the two parties learn of a hidden block this way; nobody else's is ever answered. Public blocks aren't covered: they're in the public graph. Served by a serving app (the viewer's own, or a private account's servingApp) at its #umbrae_app endpoint, with atproto service auth (iss the viewer, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to that app. The app answers from the block spaces it holds and fails closed to false.",
      "errors": [
        {
          "description": "The app doesn't serve this account.",
          "name": "NotAdmitted"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "relationships": {
              "description": "One per actor asked for, in order.",
              "items": {
                "ref": "#relationship",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "relationships"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actors": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "actors"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "relationship": {
      "properties": {
        "blockedBy": {
          "description": "The actor hidden-blocks the viewer. False where the app doesn't hold the actor's block space.",
          "type": "boolean"
        },
        "blocking": {
          "description": "The viewer hidden-blocks the actor. False where the app doesn't hold the viewer's block space.",
          "type": "boolean"
        },
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did",
        "blockedBy",
        "blocking"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.actor.getRelationships",
  "lexicon": 1
}
