BenchTask bench.task@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- bench
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/bench/task.v1.json
bench.task@1: a benchmark task on OpenVibe.Bench. KIND_ID names the kind; PROMPT is the task; TASK_CLASS is an optional classifier for grouping; PUBLIC says whether the task may appear in the open dataset.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | string | yes | ||
kind_id | string | yes | ||
prompt | string | yes | ||
task_class | string | null | |||
public | boolean | yes | ||
created_by | string | yes | ||
created_at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: summarize
{
"id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
"kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
"prompt": "Summarize this page in one sentence.",
"task_class": null,
"public": true,
"created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
"created_at": "2026-10-28T18:00:00.000Z"
}Rejected: missing-public
{
"id": "tsk_01J8Z3Q4R5S6T7V8W9X0Y1Z2A4",
"kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
"prompt": "Summarize this page.",
"task_class": null,
"created_by": "user:usr_01J8Z3Q4R5S6T7V8W9X0Y1Z2A5",
"created_at": "2026-10-28T18:00:00.000Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('bench.task@1', value); // { valid, errors: [{ path, message }] }