QuestDaily quest.daily@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- quest
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/quest/daily.v1.json
quest.daily@1: one quest shared by everyone on this UTC date. Progress is private and is not in this answer.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
date | string | yes |
| |
title | string | yes |
| |
story | string | yes |
| |
steps | quest.step-type | yes |
| |
source | enum | yes |
| |
finished_today | integer | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: today
{
"date": "2026-11-08",
"title": "Around the network",
"story": "Visit three places today.",
"steps": [
{
"id": "stream",
"event_type": "live.stream.started",
"site": "openvibe.live",
"sentence": "Do something on openvibe.live",
"href": "https://openvibe.live/",
"weight": 1,
"count": 1,
"verification": "event subject, count within the person's local day",
"status": "approved",
"source": "quest"
},
{
"id": "chat",
"event_type": "chat.room.message.created",
"site": "openvibe.chat",
"sentence": "Do something on openvibe.chat",
"href": "https://openvibe.chat/",
"weight": 1,
"count": 1,
"verification": "event subject, count within the person's local day",
"status": "approved",
"source": "quest"
},
{
"id": "wiki",
"event_type": "wiki.revision.created",
"site": "openvibe.wiki",
"sentence": "Do something on openvibe.wiki",
"href": "https://openvibe.wiki/",
"weight": 1,
"count": 1,
"verification": "event subject, count within the person's local day",
"status": "approved",
"source": "quest"
}
],
"source": "rotation",
"finished_today": 3
}Rejected: two-steps
{
"date": "2026-11-08",
"title": "Around the network",
"story": "Visit three places today.",
"steps": [
{
"id": "stream",
"event_type": "live.stream.started",
"site": "openvibe.live",
"sentence": "Do something on openvibe.live",
"href": "https://openvibe.live/",
"weight": 1,
"count": 1,
"verification": "event subject, count within the person's local day",
"status": "approved",
"source": "quest"
},
{
"id": "chat",
"event_type": "chat.room.message.created",
"site": "openvibe.chat",
"sentence": "Do something on openvibe.chat",
"href": "https://openvibe.chat/",
"weight": 1,
"count": 1,
"verification": "event subject, count within the person's local day",
"status": "approved",
"source": "quest"
}
],
"source": "rotation",
"finished_today": 3
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('quest.daily@1', value); // { valid, errors: [{ path, message }] }