ReportAiLeaderboard report.ai-leaderboard@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
report
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/report/ai-leaderboard.v1.json

report.ai-leaderboard@1: public OpenVibe.Report AI comparison response, with source dates and sample sizes for reported measurements.

Fields

FieldTypeRequiredDescriptionConstraints
$schemaconstyes
  • = "report.ai-leaderboard@1"
generated_atstringyes
  • format date-time
countintegeryes
  • minimum 0
rowsarray of objectyes
rows[].idstringyes
rows[].kindstringyes
rows[].makerstring | null
rows[].weightsstring | null
rows[].ratingobjectyes
rows[].benchmarkobjectyes
rows[].rankobjectyes
rows[].sourceobjectyes
next_cursorstring | nullyes

Examples

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

Valid: default
{
  "$schema": "report.ai-leaderboard@1",
  "generated_at": "2026-11-08T00:00:00.000Z",
  "count": 1,
  "rows": [
    {
      "id": "vendor/model",
      "kind": "chat",
      "rating": {
        "value": 1200,
        "interval": [
          1180,
          1220
        ],
        "source": "OpenVibe.Bench",
        "date": "2026-11-08T00:00:00.000Z",
        "sample_size": 40
      },
      "benchmark": {
        "value": null,
        "reason": "No benchmark score."
      },
      "rank": {
        "min": 1,
        "max": 1
      },
      "source": {
        "name": "OpenVibe.Bench"
      }
    }
  ],
  "next_cursor": null
}
Rejected: missing-rows
{
  "$schema": "report.ai-leaderboard@1",
  "generated_at": "2026-11-08T00:00:00.000Z",
  "count": 0,
  "next_cursor": null
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('report.ai-leaderboard@1', value);   // { valid, errors: [{ path, message }] }