# Alert

A typed alert ready for routing to notifications or an API.

Canonical URL: https://opennodeflow.dev/wiki/reference-app-core-type-alert/
JSON reference: https://opennodeflow.dev/wiki/reference-app-core-type-alert/index.json
Source snapshot: 2026-10-23

# Alert

Describes a notification-ready alert object. It provides structural validation only: matching this schema does not send a notification, prove an incident exists or establish a severity policy.

## Fields
- **title** (required string): short heading.
- **severity** (required string): exactly info, warning or critical.
- **message** (required string): human-readable explanation.
- **deviceId** (optional string): associated device identity.
- Additional properties are rejected.

## Example
`{"title":"Example threshold","severity":"warning","message":"Example device exceeded its configured limit","deviceId":"meter-example"}`

Omitting deviceId is valid. An unknown severity such as error, missing message or an extra metadata field is rejected. This schema does not enforce nonempty title/message, a specific device-ID format or maximum string length. It does not automatically redact sensitive information in messages.

## Using and testing
Select Alert as an asset socket type and pin the intended immutable version. Types at different versions remain distinct graph contracts even when their schemas appear similar. Typed alerts may feed ordinary object inputs; arbitrary object outputs do not become typed alerts by wiring alone. The type test bench expects `{"value": <alert>}`. Compose alert is a demo producer; route its result to an output or a separately authored delivery node.

The type declares no graph sockets, configuration, code execution, control route or network/state operation. Publication creates a new schema version without mutating old definitions or workflow pins. Alert content is ordinary execution data; keep credentials and unnecessary personal/customer information out of title/message.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `app.core.type.alert` |
| Kind | type |
| Family | app-core |
| Pack | See library discovery |

[Integration guide](/wiki/first-workflow/) · [Browse the catalog](/wiki/integration-catalog/)



## Configuration schema


```json
{}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
