BenchJudgementRecordedPayload bench.judgement.recorded@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/events/payloads/bench.judgement.recorded.v1.json
bench.judgement.recorded v1 (OpenVibe.Bench): a judgement was cast on a round. Envelope: source bench, subject { type: user, id: <judge> } or { type: service, id: <judge> }, visibility first-party.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
round_id | string | yes | ||
kind_id | string | yes | ||
judge | string | yes | ||
judge_name | string | null | |||
method | string | yes | ||
outcome | string | null | |||
score | number | null | |||
at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: recorded
{
"round_id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
"kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
"judge": "pair",
"judge_name": null,
"method": "human_vote",
"outcome": "a",
"score": null,
"at": "2026-10-28T18:05:00.000Z"
}Rejected: missing-at
{
"round_id": "rnd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A6",
"kind_id": "knd_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3",
"judge": "pair",
"method": "human_vote",
"outcome": "a",
"score": null
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('bench.judgement.recorded@1', value); // { valid, errors: [{ path, message }] }