# airdress.hook.*

{/* Generated by scripts/generate-event-reference.mjs from https://schemas.airdress.co/operator/events/v1.json (operator v0.1.138).
    Do not edit by hand: run `pnpm generate:event-reference` and commit the result. */}

The events in the `airdress.hook` family. How to read a section, and what
each audience means, is on the [event reference](/events/) page.

## `airdress.hook.breaker_opened`

Owner warn Functions

A hook failed too often and is suspended for a while; its `onBreakerOpen` says whether its point proceeds or is refused meanwhile.

**Audience: owner.** About the airdress as a whole. Only the owner receives it: the owner's devices and the owner's subscriptions.

**Where it goes**

- **The operator's journal**, as one log line at this level, and **the event log**, where `airdress events tail` reads it.
- **Subscriptions** that name it, within its audience.
- **Functions bound to this operator's events** (`source: operator`).

**Versions**

- Version 1: first carried by operator v0.1.133.

**Data**

| Field | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| `hook` | string | yes |  |
| `on_breaker_open` | string | yes | `skip` or `deny`. |
| `point` | string | yes |  |
| `until` | string | yes |  |

<details>
<summary>JSON Schema</summary>

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "A hook failed too often and is suspended for a while; its `onBreakerOpen` says whether its point proceeds or is refused meanwhile.",
  "properties": {
    "hook": {
      "type": "string"
    },
    "on_breaker_open": {
      "description": "`skip` or `deny`.",
      "type": "string"
    },
    "point": {
      "type": "string"
    },
    "until": {
      "type": "string"
    }
  },
  "required": [
    "hook",
    "on_breaker_open",
    "point",
    "until"
  ],
  "title": "HookBreakerOpened",
  "type": "object"
}
```

</details>