---
title: "community.index_document.deleted@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/community.index_document.deleted"
updated: null
---

# community.index\_document.deleted@1 · OpenVibe.Services

HTML: [community.index\_document.deleted@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/community.index_document.deleted)

# CommunityIndexDocumentDeletedPayload `community.index_document.deleted@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: community
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/community.index_document.deleted.v1.json`](/docs/contracts/community.index_document.deleted.json)

community.index\_document.deleted v1 (OpenVibe.Community; roadmap WS-O task 10). A Search tombstone: Search drops the document at this revision or older. Only sent for a document Search was sent before. Envelope: subject { type, id, revision }, visibility internal, actor service:community.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `type` | enum | yes |  | - `one of "thread", "paste"` |
| `id` | string | yes |  | - `pattern ^[A-Za-z0-9_-]{1,80}$` |
| `revision` | integer | yes | Index revision of the tombstone; wins over any document at the same or an older revision. | - `minimum 1`<br>- `maximum 9007199254740991` |

## Examples

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

 Valid: paste

~~~~
{
  "type": "paste",
  "id": "snip-12",
  "revision": 2
}
~~~~

Rejected: extra-field

~~~~
{
  "type": "paste",
  "id": "snip-12",
  "revision": 2,
  "reason": "deleted"
}
~~~~

## Validate

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