---
title: "wiki.watch.triggered@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/wiki.watch.triggered"
updated: null
---

# wiki.watch.triggered@1 · OpenVibe.Services

HTML: [wiki.watch.triggered@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/wiki.watch.triggered)

# WikiWatchTriggeredPayload `wiki.watch.triggered@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: wiki
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/wiki.watch.triggered.v1.json`](/docs/contracts/wiki.watch.triggered.json)

wiki.watch.triggered v1 (OpenVibe.Wiki server/wiki/service.js notifyWatchers). One event per change to a watched page, listing the watchers who may read the page (never the actor); not emitted when nobody is left. Envelope: subject { type: page, id: pg\_…, revision: <revision or 0> }, visibility internal, priority important, actor the person or service.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `action` | enum | yes | revised = a new draft revision; proposed = an AI proposal awaits approval; the rest follow wiki.page.\*. | - `one of "published", "updated", "unpublished", "deleted", "revised", "proposed"` |
| `space` | string | yes | Space slug. | - `pattern ^[a-z0-9][a-z0-9-]{1,62}$` |
| `slug` | string | yes | Page slug. | - `minLength 1`<br>- `maxLength 80` |
| `title` | string | yes |  | - `maxLength 200` |
| `revision` | integer \| null | yes |  | - `minimum 1` |
| `url` | string | yes |  | - `pattern ^https?://`<br>- `format uri`<br>- `maxLength 2048` |
| `recipients` | array of string | yes | Watchers to notify. | - `minItems 1`<br>- `unique items`<br>- `items: pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |

## Examples

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

 Valid: published

~~~~
{
  "action": "published",
  "space": "food",
  "slug": "ramen",
  "title": "Ramen",
  "revision": 2,
  "url": "https://openvibe.wiki/w/food/ramen",
  "recipients": [
    "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  ]
}
~~~~

Rejected: no-recipients

~~~~
{
  "action": "revised",
  "space": "food",
  "slug": "ramen",
  "title": "Ramen",
  "revision": 3,
  "url": "https://openvibe.wiki/w/food/ramen",
  "recipients": []
}
~~~~

## Validate

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