{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Refuse a Client or a hostname.",
      "errors": [
        {
          "description": "The Provider has no operator.",
          "name": "OperatorNotSet"
        },
        {
          "description": "The caller is not the Provider's operator.",
          "name": "NotOperator"
        },
        {
          "description": "The Provider can't make this change itself. Its operator must make it by hand.",
          "name": "UneditableConfig"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subject": {
              "description": "The DID of the Client, or the hostname, to refuse.",
              "maxLength": 253,
              "type": "string"
            }
          },
          "required": [
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "changed": {
              "description": "Whether this changed anything: false when it was already denied.",
              "type": "boolean"
            }
          },
          "required": [
            "changed"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "link.jetbridge.deny",
  "lexicon": 1
}
