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

# network.machine.paired@1 · OpenVibe.Services

HTML: [network.machine.paired@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.machine.paired)

# NetworkMachinePairedPayload `network.machine.paired@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/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.paired.v1.json`](/docs/contracts/network.machine.paired.json)

network.machine.paired v1 (OpenVibe.Network, plan L34: the machines hub). A machine was paired with a person's account: it redeemed the one-time code and became theirs. It holds a credential from then on; the code is spent. The machine's device id in Bot is absent until the machine checks in for the first time. Envelope: subject { type: machine, id: <lnk\_…> }, visibility internal, actor service:network.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `machine_id` | string |  | The machine's device id in Bot's registry, when Bot already knows the device. | - `pattern ^dev_[0-9A-HJKMNP-TV-Z]{26}$` |
| `node_id` | string |  | The machine's node id (platform\_node\_principals.node\_id). | - `pattern ^n-[a-z0-9]{26}$` |
| `principal_id` | string | yes | The node principal the pairing created. Also the envelope subject id. | - `pattern ^lnk_[0-9A-HJKMNP-TV-Z]{26}$` |
| `owner` | string | yes | The person the machine belongs to. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `at` | string | yes |  | - `format date-time` |

## Examples

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

 Valid: paired

~~~~
{
  "node_id": "n-01jab2c3d4e5f6g7h8j9k0mnps",
  "principal_id": "lnk_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "owner": "usr_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "at": "2026-10-31T09:00:00.000Z"
}
~~~~

Rejected: missing-principal

~~~~
{
  "owner": "usr_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "at": "2026-10-31T09:00:00.000Z"
}
~~~~

## Validate

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