NetworkMachineRevokedPayload network.machine.revoked@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.revoked.v1.json
network.machine.revoked v1 (OpenVibe.Network, plan L34: the machines hub). A machine of a person was revoked: it is no longer theirs and its credential is dead. The machine's credential and its hash are never carried. A second revoke changes nothing and emits nothing. 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 had one. |
| |
owner | string | yes | The person the machine belonged to. |
|
reason | string | Why it was revoked, when the caller gave one. Absent otherwise. |
| |
at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: revoked
{
"machine_id": "dev_01JAB2C3D4E5F6G7H8J9K0MNPS",
"principal_id": "lnk_01JAB2C3D4E5F6G7H8J9K0MNPS",
"owner": "usr_01JAB2C3D4E5F6G7H8J9K0MNPS",
"reason": "the owner removed it",
"at": "2026-10-31T09:00:00.000Z"
}Rejected: missing-owner
{
"machine_id": "dev_01JAB2C3D4E5F6G7H8J9K0MNPS",
"at": "2026-10-31T09:00:00.000Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.machine.revoked@1', value); // { valid, errors: [{ path, message }] }