WikiSpace wiki.space@1
Generated at from
openvibe-contracts v0.53.0 and
openvibe-sdk v0.11.0.
- Version
- 1.0.0
- Owner
- wiki
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/wiki/space.v1.json
wiki.space@1: one wiki space as OpenVibe.Wiki's API shows it (server/http/api.js serializeSpace).
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | string | yes | ||
slug | string | yes |
| |
name | string | yes | ||
description | string | null | |||
kind | enum | yes |
| |
visibility | enum | yes |
| |
created_at | string | yes |
| |
updated_at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: official
{
"id": "spc_01JAB2C3D4E5F6G7H8J9K0MNPQ",
"slug": "openvibe",
"name": "OpenVibe",
"description": "How the network works.",
"kind": "official",
"visibility": "public",
"created_at": "2026-09-01T10:00:00.000Z",
"updated_at": "2026-09-25T18:00:00.000Z"
}Rejected: unknown-kind
{
"id": "spc_01JAB2C3D4E5F6G7H8J9K0MNPQ",
"slug": "openvibe",
"name": "OpenVibe",
"description": "How the network works.",
"kind": "team",
"visibility": "public",
"created_at": "2026-09-01T10:00:00.000Z",
"updated_at": "2026-09-25T18:00:00.000Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('wiki.space@1', value); // { valid, errors: [{ path, message }] }