SpaceBuildCreate space.build-create@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
space
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/space/build-create.v1.json

space.build-create@1: the body of POST /api/v1/spaces, the agent asking Space for a new space of its own (OpenVibe.Space's builder API; plan 2026-10-22 §Z stage Z1). It answers space.build-list@1 ({ space }). The name and the description are what the space shows; the space is made from Space's blank template and the agent fills its files.

Fields

FieldTypeRequiredDescriptionConstraints
namestringThe space's name.
  • maxLength 40
descriptionstringWhat the space does, in a line.
  • maxLength 400

Examples

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

Valid: plain
{
  "name": "My Podcast",
  "description": "A place for my episodes."
}
Rejected: too-long
{
  "name": "A name that is far longer than forty characters are allowed to be"
}

Validate

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