---
title: "bot.turn.started@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/bot.turn.started"
updated: null
---

# bot.turn.started@1 · OpenVibe.Services

HTML: [bot.turn.started@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/bot.turn.started)

# BotTurnStartedPayload `bot.turn.started@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: bot
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-043](/docs/adr/ADR-043)
- Schema: [`https://openvibe.network/contracts/events/payloads/bot.turn.started.v1.json`](/docs/contracts/bot.turn.started.json)

bot.turn.started v1 (OpenVibe.Bot server/domain/index.js currentTurn). A queue robot's next person in line got their turn. It never names the person (no member ever learns the active driver's subject): guest says whether a signed-out viewer holds it. Envelope: subject { type: robot, id: <robot id> }, visibility internal, priority normal, actor service:bot.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `robot_id` | string | yes |  | - `pattern ^rob_[0-9A-HJKMNP-TV-Z]{26}$` |
| `owner` | string |  | The robot owner's user subject. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `ends_at` | string | yes | When the turn ends unless it pauses (an owner's takeover, or the robot not ready). | - `format date-time` |
| `guest` | boolean | yes | A signed-out viewer holds the turn (the owner let guests take turns). |  |
| `waiting` | integer | yes | How many people are still in line. | - `minimum 0` |

## Examples

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

 Valid: guest

~~~~
{
  "robot_id": "rob_01J8Z4M2Q0R7T9YV3K6N8P1W2X",
  "owner": "usr_01J8Z4M2Q0R7T9YV3K6N8P1W2X",
  "ends_at": "2026-11-23T21:40:00.000Z",
  "guest": true,
  "waiting": 2
}
~~~~

Rejected: names-the-person

~~~~
{
  "robot_id": "rob_01J8Z4M2Q0R7T9YV3K6N8P1W2X",
  "ends_at": "2026-11-23T21:40:00.000Z",
  "guest": false,
  "waiting": 0,
  "subject": "usr_01J8Z4M2Q0R7T9YV3K6N8P1W2X"
}
~~~~

## Validate

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