NetworkMachineOfflinePayload network.machine.offline@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/events/payloads/network.machine.offline.v1.json
network.machine.offline v1 (OpenVibe.Network, plan L34: the machines hub). A machine of a person went offline: it is no longer connected to Bot. Network republishes Bot's change, so a consumer of the network's events hears about a machine once, in one place. Envelope: subject { type: machine, id: <dev_…> }, visibility internal, actor service:network.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
machine_id | string | yes |
| |
principal_id | string | The machine's node principal on Network, when it has one. |
| |
owner | string | yes | The person the machine belongs to. |
|
at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: machine
{
"machine_id": "dev_01JAB2C3D4E5F6G7H8J9K0MNPS",
"principal_id": "lnk_01JAB2C3D4E5F6G7H8J9K0MNPS",
"owner": "usr_01JAB2C3D4E5F6G7H8J9K0MNPS",
"at": "2026-10-31T09:00:00.000Z"
}Rejected: bad-owner
{
"machine_id": "dev_01JAB2C3D4E5F6G7H8J9K0MNPS",
"principal_id": "lnk_01JAB2C3D4E5F6G7H8J9K0MNPS",
"owner": "usr_x",
"at": "2026-10-31T09:00:00.000Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.machine.offline@1', value); // { valid, errors: [{ path, message }] }