# airdress.schedule.*

{/* 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.schedule` family. How to read a section, and what
each audience means, is on the [event reference](/events/) page.

## `airdress.schedule.token_minted`

Owner debug

A scheduled fire minted its per-fire token. Never the token. One per fire: chatty, and credential plumbing, so not on the bus.

**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.
- Not functions bound to this operator's events: it is kept off that path as too frequent or too internal. A subscription with a function target still receives it.

**Versions**

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

**Data**

| Field | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| `scope` | string | yes |  |
| `ttl_secs` | integer (uint64) | yes |  |

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

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "A scheduled fire minted its per-fire token. Never the token. One per fire: chatty, and credential plumbing, so not on the bus.",
  "properties": {
    "scope": {
      "type": "string"
    },
    "ttl_secs": {
      "format": "uint64",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "scope",
    "ttl_secs"
  ],
  "title": "ScheduleTokenMinted",
  "type": "object"
}
```

</details>

## `airdress.schedule.token_refused`

Owner warn

A scheduled fire could not mint the token its request carries; the fire is recorded `token_unavailable`. Not on the bus: credential plumbing.

**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.
- Not functions bound to this operator's events: it is kept off that path as too frequent or too internal. A subscription with a function target still receives it.

**Versions**

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

**Data**

| Field | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| `error` | string | yes |  |
| `scope` | string | yes |  |

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

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "A scheduled fire could not mint the token its request carries; the fire is recorded `token_unavailable`. Not on the bus: credential plumbing.",
  "properties": {
    "error": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "scope"
  ],
  "title": "ScheduleTokenRefused",
  "type": "object"
}
```

</details>