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

FieldTypeRequiredDescriptionConstraints
round_idstringyes
kind_idstringyes
judgestringyes
judge_namestring | null
methodstringyes
outcomestring | null
scorenumber | null
atstringyes
  • format date-time

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