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

# wiki.space.updated@1 · OpenVibe.Services

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

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

wiki.space.updated v1 (OpenVibe.Wiki server/wiki/service.js spaceEvent). Emitted when a space is created, renamed, changes visibility or settings, has its roles changed, or is deleted, in the transaction of the change. Envelope: subject { type: space, id: spc\_… }, visibility public for a public space that is not deleted, otherwise internal, priority important, actor the person (user) or service.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `slug` | string | yes |  | - `pattern ^[a-z0-9][a-z0-9-]{1,62}$` |
| `name` | string | yes |  | - `minLength 1`<br>- `maxLength 200` |
| `kind` | enum | yes |  | - `one of "official", "user"` |
| `visibility` | enum | yes |  | - `one of "public", "members", "vip", "private"` |
| `deleted` | boolean | yes |  |  |
| `change` | enum | yes | What changed. renamed = a new slug. | - `one of "created", "renamed", "visibility", "settings", "roles", "deleted"` |
| `url` | string | yes | Canonical URL of the space. | - `pattern ^https?://`<br>- `format uri`<br>- `maxLength 2048` |

## Examples

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

 Valid: created

~~~~
{
  "slug": "food",
  "name": "Food",
  "kind": "user",
  "visibility": "public",
  "deleted": false,
  "change": "created",
  "url": "https://openvibe.wiki/w/food"
}
~~~~

Rejected: unknown-change

~~~~
{
  "slug": "food",
  "name": "Food",
  "kind": "user",
  "visibility": "public",
  "deleted": false,
  "change": "archived",
  "url": "https://openvibe.wiki/w/food"
}
~~~~

## Validate

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