---
title: "news.story.retracted@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/news.story.retracted"
updated: null
---

# news.story.retracted@1 · OpenVibe.Services

HTML: [news.story.retracted@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/news.story.retracted)

# NewsStoryRetractedPayload `news.story.retracted@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: news
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/news.story.retracted.v1.json`](/docs/contracts/news.story.retracted.json)

news.story.retracted v1 (OpenVibe.News server/domain/publication.js afterChange; the envelope is built there, not by index-hooks publicationEvent). An editor retracted a published story (news.story.retract, stories.js retract), in the transaction that stored the published retraction flag: the story stays at its URL with the retraction notice, is noindex, and leaves sitemaps and Search (news.index\_document.deleted follows when Search had it). A retracted story stays retracted; unpublishing it later is news.story.unpublished. note is the public retraction notice and flag\_id the news\_editorial\_flags row that holds it. The payload carries no topic. Envelope: subject { type: story, id: sty\_…, revision: <published revision> }, visibility public when the gate still lets the story be listed (a retraction is noindex, not hidden), otherwise internal, priority important (the envelope default; News sets none), actor the editor { type: user } (also when a service acts for a signed-in editor), otherwise the calling service.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `canonical_url` | string | yes | Where the story, with its retraction notice, stays. | - `pattern ^https?://`<br>- `format uri`<br>- `maxLength 2048` |
| `publication_state` | const | yes |  | - `= "retracted"` |
| `indexability` | object | yes | Search-shaped gate decision: always noindex, with retracted among the reasons. | - `no other fields` |
| `indexability.decision` | const | yes |  | - `= "noindex"` |
| `indexability.reasons` | array of string | yes |  | - `minItems 1`<br>- `maxItems 20`<br>- `unique items`<br>- `items: pattern ^[a-z][a-z0-9_]{1,63}$` |
| `note` | string | yes | The public retraction notice, whitespace collapsed. | - `minLength 10`<br>- `maxLength 2000` |
| `flag_id` | string | yes | The retraction's news\_editorial\_flags row (kind retraction, status published). | - `pattern ^flg_[0-9A-HJKMNP-TV-Z]{26}$` |

## Examples

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

 Valid: retracted-and-unsourced

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-launches-for-jupiter",
  "publication_state": "retracted",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "retracted",
      "unsourced"
    ]
  },
  "note": "The launch date we reported was wrong; the mission has not launched.",
  "flag_id": "flg_01K5S2H7K9N1Q3S5V7X9Z1B3D5"
}
~~~~

Valid: retracted

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-the-launch-in-numbers",
  "publication_state": "retracted",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "retracted"
    ]
  },
  "note": "Our sources described a rehearsal, not the launch.",
  "flag_id": "flg_01K5S2G6J8M0P2R4T6V8X0Z2B4"
}
~~~~

Rejected: indexed-retraction

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-launches-for-jupiter",
  "publication_state": "retracted",
  "indexability": {
    "decision": "index",
    "reasons": []
  },
  "note": "Our sources described a rehearsal, not the launch.",
  "flag_id": "flg_01K5S2G6J8M0P2R4T6V8X0Z2B4"
}
~~~~

Rejected: missing-flag

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-launches-for-jupiter",
  "publication_state": "retracted",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "retracted"
    ]
  },
  "note": "Our sources described a rehearsal, not the launch."
}
~~~~

Rejected: no-retracted-reason

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-launches-for-jupiter",
  "publication_state": "retracted",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "unsourced"
    ]
  },
  "note": "Our sources described a rehearsal, not the launch.",
  "flag_id": "flg_01K5S2G6J8M0P2R4T6V8X0Z2B4"
}
~~~~

Rejected: note-too-short

~~~~
{
  "canonical_url": "https://openvibe.news/stories/europa-clipper-launches-for-jupiter",
  "publication_state": "retracted",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "retracted"
    ]
  },
  "note": "Wrong.",
  "flag_id": "flg_01K5S2G6J8M0P2R4T6V8X0Z2B4"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('news.story.retracted@1', value);   // { valid, errors: [{ path, message }] }
~~~~
