SpaceBuildList space.build-list@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-list.v1.json

space.build-list@1: the spaces of one person, as their agent sees them (OpenVibe.Space's builder API; plan 2026-10-22 §Z stage Z1). GET /api/v1/spaces answers { spaces }; GET /api/v1/spaces/:id answers { space }.

Fields

This schema has no named fields.

Examples

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

Valid: many
{
  "spaces": [
    {
      "id": "spc_01JAD2C3D4E5F6G7H8J9K0MNPQ",
      "slug": "my-podcast",
      "name": "My Podcast",
      "description": "",
      "published": false,
      "url": "https://openvibe.space/spaces/my-podcast/edit",
      "updated_at": "2026-11-07T09:30:00.000Z"
    }
  ]
}
Valid: one
{
  "space": {
    "id": "spc_01JAD2C3D4E5F6G7H8J9K0MNPQ",
    "slug": "my-podcast",
    "name": "My Podcast",
    "published": false,
    "url": "https://openvibe.space/spaces/my-podcast/edit"
  }
}
Rejected: unknown-field
{
  "spaces": [],
  "other": 1
}

Validate

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