TodayAgenda today.agenda@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk 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
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 |
| |
to | string | yes |
| |
days | integer | yes |
| |
events | array of object | yes |
| |
events[].id | string | yes |
| |
events[].kind | string |
| ||
events[].channel | string | null |
| ||
events[].title | string | yes |
| |
events[].description | string | null | |||
events[].starts_at | string | yes |
| |
events[].ends_at | string | null |
| ||
events[].tz | string | null |
| ||
events[].status | string |
| ||
events[].visibility | string |
| ||
events[].url | string | null |
| ||
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 }] }