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

# network.follow.created@1 · OpenVibe.Services

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

# NetworkFollowCreatedPayload `network.follow.created@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
- Decision: [ADR-030](/docs/adr/ADR-030)
- Schema: [`https://openvibe.network/contracts/events/payloads/network.follow.created.v1.json`](/docs/contracts/network.follow.created.json)

network.follow.created v1 (OpenVibe.Network; roadmap WS-E task 4, ADR-030). A person followed something: today a Live channel, whose target id is the channel owner's subject. Follows are the network's, kept by Network and keyed by subjects; products such as Live keep a projection they can rebuild. Written to Network's outbox in the transaction that stores the follow. A consumer applies the latest revision per (follower, target) and ignores an older one. Following again what is already followed changes nothing and sends nothing. Envelope: subject { type: user, id: <follower> }, visibility subject, actor the follower.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `follower` | string | yes | Who follows. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `target_type` | enum | yes | What kind of thing is followed. channel: a Live channel, named by its owner's subject. | - `one of "channel"` |
| `target_id` | string | yes | The followed target: for a channel, the channel owner's subject. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `notify_email` | boolean |  |  |  |
| `notify_push` | boolean |  |  |  |
| `revision` | integer | yes | Grows with every change of this pair. | - `minimum 1`<br>- `maximum 9007199254740991` |
| `at` | string |  |  | - `format date-time` |

## Examples

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

 Valid: follow

~~~~
{
  "follower": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "target_type": "channel",
  "target_id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR",
  "notify_email": true,
  "notify_push": true,
  "revision": 1,
  "at": "2026-09-26T16:00:00Z"
}
~~~~

Valid: minimal

~~~~
{
  "follower": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "target_type": "channel",
  "target_id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR",
  "revision": 1
}
~~~~

Rejected: live-id

~~~~
{
  "follower": "42",
  "target_type": "channel",
  "target_id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR",
  "revision": 1
}
~~~~

Rejected: unknown-type

~~~~
{
  "follower": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "target_type": "streamer",
  "target_id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPR",
  "revision": 1
}
~~~~

## Validate

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