{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "NotOperator"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expiresAt": {
              "format": "datetime",
              "type": "string"
            },
            "kind": {
              "enum": [
                "did",
                "pds",
                "ip",
                "cidr",
                "asn",
                "domain",
                "nsid"
              ],
              "type": "string"
            },
            "reason": {
              "maxLength": 256,
              "type": "string"
            },
            "value": {
              "maxLength": 512,
              "type": "string"
            }
          },
          "required": [
            "kind",
            "value",
            "reason"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "entry": {
              "ref": "party.whey.writeproxy.defs#blocklistEntry",
              "type": "ref"
            }
          },
          "required": [
            "entry"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Add a blocklist entry. Requires a reason for abuse accountability.",
  "id": "party.whey.writeproxy.admin.addBlocklist",
  "lexicon": 1
}
