ReportIndexDocumentDeletedPayload report.index_document.deleted@1

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

Version
1.0.0
Owner
report
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/events/payloads/report.index_document.deleted.v1.json

report.index_document.deleted v1 (OpenVibe.Report server/search-index.js, via openvibe-publishing/search-feed). A Search tombstone for a Rundown topic page that left the Rundown. Only sent for a page Search was sent before. Consumed by OpenVibe.Search ('*.index_document.*'). Envelope: subject { type, id, revision }, visibility internal, actor service:report.

Fields

FieldTypeRequiredDescriptionConstraints
typeenumyes
  • one of "topic"
idstringyes
  • pattern ^[a-z0-9][a-z0-9-]{0,89}$
revisionintegeryesIndex revision of the tombstone; wins over any document at the same or an older revision.
  • minimum 1
  • maximum 9007199254740991

Examples

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

Valid: tombstone
{
  "type": "topic",
  "id": "taking-a-break",
  "revision": 3
}
Rejected: full-document
{
  "visibility": "public",
  "authorship": "human",
  "provenance": [],
  "publication_state": "published",
  "published_at": "2026-10-31T12:00:00.000Z",
  "updated_at": "2026-11-02T08:00:00.000Z",
  "indexability": {
    "decision": "index",
    "reasons": []
  },
  "deleted": false,
  "revision": 1,
  "owner": "report",
  "type": "topic",
  "id": "taking-a-break",
  "canonical_url": "https://openvibe.report/rundown/t/taking-a-break",
  "title": "Taking a break",
  "summary": "Streamers debate stepping away: fresh air, robot faces and emotional breaks.",
  "body": "Taking a break\nStreamers debate stepping away.",
  "facets": {
    "kind": "life",
    "takes": 4
  }
}
Rejected: other-type
{
  "type": "episode",
  "id": "taking-a-break",
  "revision": 3
}

Validate

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