NetworkUserReport network.user-report@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/network/user-report.v1.json
network.user-report@1 (ask 287): one report a person filed about another person on OpenVibe.Network. Reports never resolve themselves; staff holding staff.moderation.logs read the queue (GET /api/v1/staff/user-reports?status=open&target=usr_…&limit=), and a staff decision lives in the moderation audit log. `status` records whether staff have looked, not a verdict.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | integer | yes |
| |
reporter | string | yes |
| |
target | string | yes |
| |
reason | enum | yes |
| |
detail | string | yes |
| |
status | enum | yes |
| |
created_at | string | yes |
| |
updated_at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: open
{
"id": 12,
"reporter": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"target": "usr_01JAB2C3D4E5F6G7H8J9K0MNT2",
"reason": "spam",
"detail": "Sending the same link in every room.",
"status": "open",
"created_at": "2026-11-11T03:30:00Z",
"updated_at": "2026-11-11T03:30:00Z"
}Rejected: bad-status
{
"id": 12,
"reporter": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"target": "usr_01JAB2C3D4E5F6G7H8J9K0MNT2",
"reason": "spam",
"detail": "",
"status": "banned",
"created_at": "2026-11-11T03:30:00Z",
"updated_at": "2026-11-11T03:30:00Z"
}Rejected: extra-field
{
"id": 12,
"reporter": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"target": "usr_01JAB2C3D4E5F6G7H8J9K0MNV1",
"reason": "spam",
"detail": "",
"status": "open",
"created_at": "2026-11-11T03:30:00Z",
"updated_at": "2026-11-11T03:30:00Z",
"extra": true
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.user-report@1', value); // { valid, errors: [{ path, message }] }