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

# today.agenda@1 · OpenVibe.Services

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

# TodayAgenda `today.agenda@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: today
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/today/agenda.v1.json`](/docs/contracts/today.agenda.json)

today.agenda@1: a person's agenda on OpenVibe.Today (GET /api/v1/me/agenda): their own events, the events they set a reminder on, and the public or followers-only events of the channels they follow, from two hours ago to \`days\` ahead. follows\_unavailable says the followed part could not be read (Network down, or a service asking with no fresh follows for the person).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `from` | string | yes |  | - `format date-time` |
| `to` | string | yes |  | - `format date-time` |
| `days` | integer | yes |  | - `minimum 1`<br>- `maximum 60` |
| `events` | array of object | yes |  | - `maxItems 2000` |
| `events[].id` | string | yes |  | - `minLength 1`<br>- `maxLength 64` |
| `events[].kind` | string |  |  | - `maxLength 40` |
| `events[].channel` | string \| null |  |  | - `maxLength 64` |
| `events[].title` | string | yes |  | - `maxLength 300` |
| `events[].description` | string \| null |  |  |  |
| `events[].starts_at` | string | yes |  | - `format date-time` |
| `events[].ends_at` | string \| null |  |  | - `format date-time` |
| `events[].tz` | string \| null |  |  | - `maxLength 64` |
| `events[].status` | string |  |  | - `maxLength 20` |
| `events[].visibility` | string |  |  | - `maxLength 20` |
| `events[].url` | string \| null |  |  | - `maxLength 2000` |
| `events[].own` | boolean |  | The person made it. |  |
| `events[].reminded` | boolean |  | The person set a reminder on it. |  |
| `follows_unavailable` | boolean | yes |  |  |

## Examples

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

 Valid: one-day

~~~~
{
  "from": "2026-11-02T08:00:00.000Z",
  "to": "2026-11-03T10:00:00.000Z",
  "days": 1,
  "follows_unavailable": false,
  "events": [
    {
      "id": "evt_01JABCDEFGHJKMNPQRSTVWXYZ0",
      "kind": "stream",
      "channel": "japaneseoldguy",
      "title": "Tokyo walk",
      "starts_at": "2026-11-02T12:00:00.000Z",
      "ends_at": null,
      "tz": "Asia/Tokyo",
      "status": "scheduled",
      "visibility": "public",
      "url": "https://openvibe.live/@japaneseoldguy",
      "own": false,
      "reminded": true
    }
  ]
}
~~~~

Rejected: no-follows-flag

~~~~
{
  "from": "2026-11-02T08:00:00.000Z",
  "to": "2026-11-03T10:00:00.000Z",
  "days": 1,
  "events": []
}
~~~~

## Validate

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