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

# games.announcement@1 · OpenVibe.Services

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

# GamesAnnouncement `games.announcement@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: games
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/games/announcement.v1.json`](/docs/contracts/games.announcement.json)

games.announcement@1: what a mod announces through games.world.announce on OpenVibe.Games. Not an HTTP route: the mod runtime binding ModApi.announce(text) (apps/server/src/mods/runtime.ts), driven by the announcements section of the mod's games-content@1 pack (validated strictly: text 1-200 characters, repeated every everySeconds, 60 to 86400). The text is whitespace-collapsed and cut to 200 characters; an empty one is dropped.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `text` | string | yes |  | - `minLength 1`<br>- `maxLength 200` |
| `everySeconds` | integer | yes |  | - `minimum 60`<br>- `maximum 86400` |

## Examples

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

 Valid: harbor

~~~~
{
  "text": "The harbor lights come on at dusk.",
  "everySeconds": 900
}
~~~~

Rejected: too-often

~~~~
{
  "text": "spam",
  "everySeconds": 5
}
~~~~

## Validate

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