---
title: "quest.step-type@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/quest.step-type"
updated: null
---

# quest.step-type@1 · OpenVibe.Services

HTML: [quest.step-type@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/quest.step-type)

# QuestStepType `quest.step-type@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: quest
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/quest/step-type.v1.json`](/docs/contracts/quest.step-type.json)

quest.step-type@1: a verified Events action that may be selected for a daily quest. A contributed type stays pending until staff review.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `minLength 2`<br>- `maxLength 90` |
| `event_type` | string | yes |  | - `minLength 3`<br>- `maxLength 160` |
| `site` | string | yes |  | - `format hostname` |
| `sentence` | string | yes |  | - `minLength 1`<br>- `maxLength 120` |
| `href` | string | yes |  | - `pattern ^https://`<br>- `format uri` |
| `weight` | integer | yes |  | - `minimum 1`<br>- `maximum 5` |
| `count` | const |  |  | - `= 1` |
| `verification` | string |  |  |  |
| `status` | enum | yes |  | - `one of "pending", "approved", "rejected"` |
| `source` | string |  |  |  |
| `project_id` | string |  |  |  |
| `created_at` | string |  |  | - `format date-time` |
| `reviewed_at` | string \| null |  |  | - `format date-time` |

## Examples

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

 Valid: built-in

~~~~
{
  "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"
}
~~~~

Rejected: no-topic

~~~~
{
  "id": "broken",
  "site": "openvibe.live",
  "sentence": "Go live",
  "href": "https://openvibe.live/",
  "weight": 1,
  "status": "pending"
}
~~~~

## Validate

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