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

# play.title-result@1 · OpenVibe.Services

HTML: [play.title-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/play.title-result)

# PlayTitleResult `play.title-result@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: play
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [Games ADR-0007](/docs/adr/Games%20ADR-0007)
- Schema: [`https://openvibe.network/contracts/play/title-result.v1.json`](/docs/contracts/play.title-result.json)

The answer to registering or updating a title: the title as anyone reads it, and whether this call created it (201) or updated it (200).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `title` | object | yes |  |  |
| `title.id` | string | yes |  | - `pattern ^[a-z0-9][a-z0-9-]{1,39}$` |
| `title.name` | string | yes |  |  |
| `title.url` | string \| null |  |  |  |
| `title.summary` | string |  |  |  |
| `title.players` | integer |  |  | - `minimum 0` |
| `title.achievements` | array of object | yes |  |  |
| `title.achievements[].id` | string | yes |  | - `pattern ^[a-z0-9][a-z0-9_-]{0,63}$` |
| `title.achievements[].name` | string | yes |  |  |
| `title.achievements[].description` | string |  |  |  |
| `title.achievements[].hidden` | boolean |  |  |  |
| `title.achievements[].unlocked_by` | integer |  |  | - `minimum 0` |
| `title.boards` | array of object | yes |  |  |
| `title.boards[].id` | string | yes |  | - `pattern ^[a-z0-9][a-z0-9_-]{0,63}$` |
| `title.boards[].name` | string | yes |  |  |
| `title.boards[].kind` | enum | yes |  | - `one of "best", "sum"` |
| `title.created_at` | string |  |  | - `format date-time` |
| `title.updated_at` | string |  |  | - `format date-time` |
| `created` | boolean | yes |  |  |

## Examples

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

 Valid: basic

~~~~
{
  "title": {
    "id": "salvage-rush",
    "name": "Salvage Rush",
    "url": null,
    "summary": "",
    "players": 2,
    "achievements": [
      {
        "id": "first-haul",
        "name": "First Haul",
        "description": "",
        "unlocked_by": 2
      }
    ],
    "boards": [
      {
        "id": "best",
        "name": "Best round",
        "kind": "best"
      }
    ],
    "created_at": "2026-10-14T12:00:00.000Z",
    "updated_at": "2026-10-14T12:00:00.000Z"
  },
  "created": true
}
~~~~

Rejected: basic

~~~~
{
  "title": {
    "id": "salvage-rush"
  },
  "created": "yes"
}
~~~~

## Validate

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