ReviewsEntitySplitRequest reviews.entity-split-request@1
Generated at from
openvibe-contracts v0.53.0 and
openvibe-sdk v0.11.0.
- Version
- 1.0.0
- Owner
- reviews
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/reviews/entity-split-request.v1.json
reviews.entity-split-request@1: the body of reviews.entity.split on OpenVibe.Reviews: POST /api/v1/entities/:ref/split { note? } undoes the merge of :ref, decided by the editor named in X-OV-Subject (403 reviews.person_required / reviews.editor_required): the merged_into link ends (audited) and the pre-merge attribution is restored exactly. Refusals: 404 entity.not_found, 409 split.not_merged, 409 split.no_merge_link.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
note | string | null | Cut to 500 characters. |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: bare
{}Valid: split
{
"note": "Different models after all"
}Rejected: note-number
{
"note": 42
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('reviews.entity-split-request@1', value); // { valid, errors: [{ path, message }] }