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

# wiki.page.published@1 · OpenVibe.Services

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

# WikiPagePublishedPayload `wiki.page.published@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: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/wiki.page.published.v1.json`](/docs/contracts/wiki.page.published.json)

wiki.page.published v1 (OpenVibe.Wiki server/wiki/service.js sync, via openvibe-publishing/index-hooks publicationEvent). Emitted when a page became published, in the transaction of the change. For subscribers other than Search: canonical URL, publication state and Search-shaped indexability, never the body (Search gets that from wiki.index\_document.\*). Envelope: subject { type: page, id: pg\_…, revision: <published revision, 0 if none> }, visibility public when the document is public and the gate lets it be listed, otherwise internal, priority important, actor the person or service:wiki (scheduled and system changes).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `canonical_url` | string | yes |  | - `pattern ^https?://`<br>- `format uri`<br>- `maxLength 2048` |
| `publication_state` | const | yes |  | - `= "published"` |
| `indexability` | object | yes |  | - `no other fields` |
| `indexability.decision` | enum | yes |  | - `one of "index", "noindex"` |
| `indexability.reasons` | array of string | yes |  | - `maxItems 20`<br>- `unique items`<br>- `items: pattern ^[a-z][a-z0-9_]{1,63}$` |
| `space` | string | yes | Space slug. | - `pattern ^[a-z0-9][a-z0-9-]{1,62}$` |
| `slug` | string | yes | Page slug inside the space. | - `minLength 1`<br>- `maxLength 80` |
| `title` | string |  | The page's title as readers see it (optional, 0.366.0): the network's Feed names the page by it, not by its slug. | - `minLength 1`<br>- `maxLength 200` |
| `visibility` | enum | yes | Effective visibility (the page's, narrowed by its space's). | - `one of "public", "members", "vip", "private"` |

## Examples

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

 Valid: members

~~~~
{
  "canonical_url": "https://openvibe.wiki/w/crew/roster",
  "publication_state": "published",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "members_only"
    ]
  },
  "space": "crew",
  "slug": "roster",
  "visibility": "members"
}
~~~~

Valid: public

~~~~
{
  "canonical_url": "https://openvibe.wiki/w/food/ramen",
  "publication_state": "published",
  "indexability": {
    "decision": "index",
    "reasons": []
  },
  "space": "food",
  "slug": "ramen",
  "visibility": "public"
}
~~~~

Valid: vip

~~~~
{
  "canonical_url": "https://openvibe.wiki/w/crew/roster",
  "publication_state": "published",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "members_only"
    ]
  },
  "space": "crew",
  "slug": "roster",
  "visibility": "vip"
}
~~~~

Rejected: no-url

~~~~
{
  "canonical_url": null,
  "publication_state": "published",
  "indexability": {
    "decision": "index",
    "reasons": []
  },
  "space": "food",
  "slug": "ramen",
  "visibility": "public"
}
~~~~

## Validate

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