---
title: "tips.overlay-config@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/tips.overlay-config"
updated: null
---

# tips.overlay-config@1 · OpenVibe.Services

HTML: [tips.overlay-config@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/tips.overlay-config)

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

tips.overlay-config@1: an overlay config on OpenVibe.Tips (server/domain/overlays.js presentConfig): how a creator's alerts overlay (kind alerts: min\_amount, duration\_ms, show\_message, show\_amount, speak\_message, sound\_url, image\_url, template) or goal widget (kind goal: show\_amounts, show\_percent, optionally one goal) looks. Open overlays using it receive every change at once.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `pattern ^tovc_[0-9A-HJKMNP-TV-Z]{26}$` |
| `creator` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes |  |  |
| `kind` | enum | yes |  | - `one of "alerts", "goal"` |
| `name` | string | yes |  |  |
| `settings` | object | yes |  |  |
| `settings.min_amount` | integer |  |  | - `minimum 1` |
| `settings.duration_ms` | integer |  |  |  |
| `settings.show_message` | boolean |  |  |  |
| `settings.show_amount` | boolean |  |  |  |
| `settings.speak_message` | boolean |  |  |  |
| `settings.sound_url` | string \| null |  |  |  |
| `settings.image_url` | string \| null |  |  |  |
| `settings.template` | string \| null |  |  |  |
| `settings.show_amounts` | boolean |  |  |  |
| `settings.show_percent` | boolean |  |  |  |
| `goal_id` | string \| null | yes |  |  |
| `revision` | integer | yes |  | - `minimum 1` |
| `created_at` | string | yes |  |  |
| `updated_at` | string | yes |  |  |

## Examples

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

 Valid: alerts

~~~~
{
  "id": "tovc_01JAB2C3D4E5F6G7H8J9K0MNQB",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "kind": "alerts",
  "name": "Alerts",
  "settings": {
    "min_amount": 1,
    "duration_ms": 8000,
    "show_message": true,
    "show_amount": true,
    "speak_message": false,
    "sound_url": null,
    "image_url": null,
    "template": "{name} tipped {amount} Vibes"
  },
  "goal_id": null,
  "revision": 1,
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:40.118Z"
}
~~~~

Valid: goal

~~~~
{
  "id": "tovc_01JAB2C3D4E5F6G7H8J9K0MNQC",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "kind": "goal",
  "name": "Goal",
  "settings": {
    "show_amounts": true,
    "show_percent": true
  },
  "goal_id": "tgoal_01JAB2C3D4E5F6G7H8J9K0MNQ9",
  "revision": 1,
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:40.118Z"
}
~~~~

Rejected: bad-kind

~~~~
{
  "id": "tovc_01JAB2C3D4E5F6G7H8J9K0MNQB",
  "creator": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "kind": "ticker",
  "name": "Alerts",
  "settings": {
    "min_amount": 1,
    "duration_ms": 8000,
    "show_message": true,
    "show_amount": true,
    "speak_message": false,
    "sound_url": null,
    "image_url": null,
    "template": "{name} tipped {amount} Vibes"
  },
  "goal_id": null,
  "revision": 1,
  "created_at": "2026-09-25T09:12:40.118Z",
  "updated_at": "2026-09-25T09:12:40.118Z"
}
~~~~

## Validate

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