{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-put-org-state-request-schema.json",
  "title": "PutOrgStateRequest",
  "description": "Body of `PUT /v1/automation/state`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-automation-api-openapi.yml#/components/schemas/PutOrgStateRequest",
  "type": "object",
  "properties": {
    "cancel_window_minutes": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Cancel window of the scheduled proposals, in minutes, 15 to 1440. It\napplies to the proposals raised from then on. Left as it is when absent."
    },
    "paused": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether all automation of the org is paused. Left as it is when absent."
    },
    "state": {
      "type": [
        "string",
        "null"
      ],
      "description": "`normal` re-enables automation after the breaker demoted the org (it\nclears the reason and makes the breaker count from now on). It is the\nonly value accepted: an org is demoted by the breaker alone, never by a\nrequest (422 `invalid_state`). Left as it is when absent."
    }
  }
}