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

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

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

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

host.index\_document.deleted v1 (OpenVibe.Host server/catalog/search-index.js, via openvibe-publishing/search-feed). A Search tombstone for a hosting catalog page (a plan, a provider or a domain ending) that is hidden, gone or deleted. Only sent for a page Search was sent before, and only when the tombstone's revision moved. Consumed by OpenVibe.Search ('\*.index\_document.\*'). Envelope: subject { type: plan|provider|tld, id, revision }, visibility internal, actor service:host.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `type` | enum | yes |  | - `one of "plan", "provider", "tld"` |
| `id` | string | yes |  | - `pattern ^((hpl\|hpv)_[0-9A-HJKMNP-TV-Z]{26}\|tld-(xn--)?[a-z0-9]+(-[a-z0-9]+)*(\.(xn--)?[a-z0-9]+(-[a-z0-9]+)*)*)$` |
| `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: plan

~~~~
{
  "type": "plan",
  "id": "hpl_01M4PJ8C3ZNPWVVZM9N5XXH45J",
  "revision": 3
}
~~~~

Rejected: wrong-type

~~~~
{
  "type": "site",
  "id": "hpl_01M4PJ8C3ZNPWVVZM9N5XXH45J",
  "revision": 3
}
~~~~

## Validate

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