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

# wiki.revision@1 · OpenVibe.Services

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

# WikiRevision `wiki.revision@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/wiki/revision.v1.json`](/docs/contracts/wiki.revision.json)

wiki.revision@1: one revision of a wiki page (server/http/api.js serializeRevision): its number, kind, parent, fields, Markdown body and authorship (human, AI-assisted or AI with the workflow and run). History lists leave the body out.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `number` | integer | yes |  | - `minimum 1` |
| `id` | string | yes |  |  |
| `kind` | string | yes |  |  |
| `parent_number` | integer \| null |  |  |  |
| `reverted_to` | integer \| null |  |  |  |
| `title` | string | yes |  |  |
| `summary` | string \| null |  |  |  |
| `infobox` | array |  |  |  |
| `body` | string |  |  |  |
| `authorship` | object \| null |  |  |  |
| `author` | string \| null | yes |  |  |
| `message` | string \| null |  |  |  |
| `created_at` | string \| integer | yes |  |  |
| `published` | boolean |  |  |  |
| `citation_count` | integer |  |  |  |
| `proposal` | object \| null |  |  |  |

## Examples

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

 Valid: edit

~~~~
{
  "number": 3,
  "id": "rev_01JAB2C3D4E5F6G7H8J9K0MNPR",
  "kind": "edit",
  "parent_number": 2,
  "reverted_to": null,
  "title": "Restreaming",
  "summary": "Sending one stream to several platforms.",
  "infobox": [],
  "body": "Restreaming sends one encoder feed to several platforms.",
  "authorship": {
    "mode": "human"
  },
  "author": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "message": "clarify",
  "created_at": "2026-09-24T10:00:00.000Z"
}
~~~~

Rejected: zero

~~~~
{
  "number": 0,
  "id": "x",
  "kind": "edit",
  "title": "t",
  "author": null,
  "created_at": "x"
}
~~~~

## Validate

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