{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suspend or resume syncing for a space. While suspended, bard pulls nothing and accepts no grants, but the space's domains keep serving.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "space": {
              "format": "at-uri",
              "type": "string"
            },
            "state": {
              "knownValues": [
                "suspended",
                "active"
              ],
              "type": "string"
            }
          },
          "required": [
            "space",
            "state"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "space": {
              "ref": "space.highport.defs#spaceView",
              "type": "ref"
            }
          },
          "required": [
            "space"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "space.highport.admin.setSpaceState",
  "lexicon": 1
}
