---
title: "network.status-incident@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/network.status-incident"
updated: null
---

# network.status-incident@1 · OpenVibe.Services

HTML: [network.status-incident@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.status-incident)

# NetworkStatusIncident `network.status-incident@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: network
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/network/status-incident.v1.json`](/docs/contracts/network.status-incident.json)

network.status-incident@1 (roadmap WS-N task 12): one incident or maintenance window on openvibe.network/status, public. An incident moves investigating → identified → monitoring → resolved; a maintenance window scheduled → in\_progress → completed. Each change adds an update with its message; the newest state is the incident's. Services are registry ids. Messages are plain text written for people (no internal hostnames, secrets or personal data).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `pattern ^inc_[0-9A-HJKMNP-TV-Z]{26}$` |
| `kind` | enum | yes |  | - `one of "incident", "maintenance"` |
| `title` | string | yes |  | - `minLength 3`<br>- `maxLength 140` |
| `severity` | enum |  | Incidents only. | - `one of "minor", "major", "critical"` |
| `state` | enum | yes |  | - `one of "investigating", "identified", "monitoring", "resolved", "scheduled", "in_progress", "completed"` |
| `services` | array of string | yes |  | - `maxItems 40`<br>- `items: pattern ^[a-z][a-z0-9-]{1,39}$` |
| `starts_at` | string | yes |  | - `format date-time` |
| `ends_at` | string \| null |  | When it ended, or a maintenance window's planned end. | - `format date-time` |
| `updates` | array of object | yes |  | - `minItems 1`<br>- `maxItems 100`<br>- `items: no other fields` |
| `updates[].at` | string | yes |  | - `format date-time` |
| `updates[].state` | enum | yes |  | - `one of "investigating", "identified", "monitoring", "resolved", "scheduled", "in_progress", "completed"` |
| `updates[].message` | string | yes |  | - `minLength 1`<br>- `maxLength 2000` |
| `created_at` | string | yes |  | - `format date-time` |
| `updated_at` | string | yes |  | - `format date-time` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: incident

~~~~
{
  "id": "inc_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "kind": "incident",
  "title": "Live streams stall on start",
  "severity": "major",
  "state": "identified",
  "services": [
    "live"
  ],
  "starts_at": "2026-09-26T16:00:00Z",
  "ends_at": null,
  "updates": [
    {
      "at": "2026-09-26T16:00:00Z",
      "state": "investigating",
      "message": "New streams take a minute to start."
    },
    {
      "at": "2026-09-26T16:10:00Z",
      "state": "identified",
      "message": "A restart left the ingest socket unbound; rebinding."
    }
  ],
  "created_at": "2026-09-26T16:00:00Z",
  "updated_at": "2026-09-26T16:10:00Z"
}
~~~~

Valid: maintenance

~~~~
{
  "id": "inc_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "kind": "maintenance",
  "title": "Media storage move",
  "state": "scheduled",
  "services": [
    "media"
  ],
  "starts_at": "2026-09-28T03:00:00Z",
  "ends_at": "2026-09-28T04:00:00Z",
  "updates": [
    {
      "at": "2026-09-26T16:00:00Z",
      "state": "scheduled",
      "message": "Uploads pause for up to an hour."
    }
  ],
  "created_at": "2026-09-26T16:00:00Z",
  "updated_at": "2026-09-26T16:00:00Z"
}
~~~~

Rejected: unknown-state

~~~~
{
  "id": "inc_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "kind": "incident",
  "title": "x",
  "state": "broken",
  "services": [],
  "starts_at": "2026-09-26T16:00:00Z",
  "updates": [],
  "created_at": "2026-09-26T16:00:00Z",
  "updated_at": "2026-09-26T16:00:00Z"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('network.status-incident@1', value);   // { valid, errors: [{ path, message }] }
~~~~
