---
title: "report.me-stats-publish@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/report.me-stats-publish"
updated: null
---

# report.me-stats-publish@1 · OpenVibe.Services

HTML: [report.me-stats-publish@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/report.me-stats-publish)

# ReportMeStatsPublish `report.me-stats-publish@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: report
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/report/me-stats-publish.v1.json`](/docs/contracts/report.me-stats-publish.json)

report.me-stats-publish@1: the body of PUT /api/v1/me/stats/published, the person's per-section switch (the owner, 2026-11-09: 'you can make them public if you want, but private by default'). Every switch is named, so a request can never leave one to chance; the route answers the same report.me-stats@1 document, recomputed at that moment.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `published` | object | yes |  | - `no other fields` |
| `published.sites` | boolean | yes |  |  |
| `published.activity` | boolean | yes |  |  |
| `published.made` | boolean | yes |  |  |
| `published.ai` | boolean | yes |  |  |
| `published.money` | boolean | yes |  |  |

## Examples

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

 Valid: all

~~~~
{
  "published": {
    "sites": true,
    "activity": false,
    "made": true,
    "ai": false,
    "money": false
  }
}
~~~~

Rejected: missing-ai

~~~~
{
  "published": {
    "sites": true,
    "activity": true,
    "made": true,
    "money": false
  }
}
~~~~

## Validate

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