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

# video.playlist@1 · OpenVibe.Services

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

# VideoPlaylist `video.playlist@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: media-hub
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/video/playlist.v1.json`](/docs/contracts/video.playlist.json)

video.playlist@1: one playlist on openvibe.video as the API returns it. \`owner\` is present on reads of one playlist: a person (kind user, with their username when known) or an app, agent or service (never named).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes | A playlist id (vpl\_ + ULID). | - `pattern ^vpl_[0-9A-HJKMNP-TV-Z]{26}$` |
| `title` | string | yes |  | - `minLength 1`<br>- `maxLength 120` |
| `description` | string | yes |  | - `maxLength 2000` |
| `visibility` | enum | yes |  | - `one of "public", "unlisted", "private"` |
| `item_count` | integer | yes |  | - `minimum 0` |
| `created_at` | string | yes | ISO 8601 time. |  |
| `updated_at` | string | yes | ISO 8601 time. |  |
| `owner` | object |  |  |  |
| `owner.kind` | enum | yes |  | - `one of "user", "app", "agent", "service"` |
| `owner.username` | string \| null |  |  |  |

## Examples

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

 Valid: app-owner

~~~~
{
  "id": "vpl_01K7A1B2C3D4E5F6G7H8J9K0MN",
  "title": "Best of the week",
  "description": "",
  "visibility": "public",
  "item_count": 2,
  "created_at": "2026-10-12T19:00:00.000Z",
  "updated_at": "2026-10-12T19:05:00.000Z",
  "owner": {
    "kind": "app"
  }
}
~~~~

Valid: basic

~~~~
{
  "id": "vpl_01K7A1B2C3D4E5F6G7H8J9K0MN",
  "title": "Best of the week",
  "description": "",
  "visibility": "public",
  "item_count": 2,
  "created_at": "2026-10-12T19:00:00.000Z",
  "updated_at": "2026-10-12T19:05:00.000Z"
}
~~~~

Valid: with-owner

~~~~
{
  "id": "vpl_01K7A1B2C3D4E5F6G7H8J9K0MN",
  "title": "Best of the week",
  "description": "",
  "visibility": "public",
  "item_count": 2,
  "created_at": "2026-10-12T19:00:00.000Z",
  "updated_at": "2026-10-12T19:05:00.000Z",
  "owner": {
    "kind": "user",
    "username": "kim"
  }
}
~~~~

Rejected: bad-id

~~~~
{
  "id": "pl_1",
  "title": "Best of the week",
  "description": "",
  "visibility": "public",
  "item_count": 2,
  "created_at": "2026-10-12T19:00:00.000Z",
  "updated_at": "2026-10-12T19:05:00.000Z"
}
~~~~

Rejected: bad-visibility

~~~~
{
  "id": "vpl_01K7A1B2C3D4E5F6G7H8J9K0MN",
  "title": "Best of the week",
  "description": "",
  "visibility": "friends",
  "item_count": 2,
  "created_at": "2026-10-12T19:00:00.000Z",
  "updated_at": "2026-10-12T19:05:00.000Z"
}
~~~~

## Validate

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