{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suspend, unsuspend, or force-release a domain.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "domain": {
              "description": "The hostname.",
              "maxLength": 253,
              "type": "string"
            },
            "reason": {
              "description": "Recorded on the domain's event log.",
              "type": "string"
            },
            "state": {
              "knownValues": [
                "suspended",
                "active",
                "released"
              ],
              "type": "string"
            }
          },
          "required": [
            "domain",
            "state"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "domain": {
              "ref": "space.highport.defs#domainView",
              "type": "ref"
            }
          },
          "required": [
            "domain"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "space.highport.admin.setDomainState",
  "lexicon": 1
}
