DesignIndexDocumentDeletedPayload design.index_document.deleted@1

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

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

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

Fields

FieldTypeRequiredDescriptionConstraints
typeenumyes
  • one of "icon", "theme"
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": "icon",
  "id": "arrow-down",
  "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": "design",
  "type": "icon",
  "id": "arrow-down",
  "canonical_url": "https://openvibe.design/icons/arrow-down",
  "title": "Arrow down icon",
  "summary": "The arrow-down icon of the OpenVibe icon set: SVG, PNG, a web font, React and Android.",
  "body": "arrow-down\narrow down",
  "facets": {
    "kind": "icon"
  }
}
Rejected: other-type
{
  "type": "component",
  "id": "arrow-down",
  "revision": 3
}

Validate

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