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

FieldTypeRequiredDescriptionConstraints
datestringyes
  • format date
titlestringyes
  • minLength 1
  • maxLength 80
storystringyes
  • minLength 1
  • maxLength 180
stepsquest.step-typeyes
  • minItems 3
  • maxItems 3
sourceenumyes
  • one of "ai", "rotation"
finished_todayintegeryes
  • minimum 0

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 }] }