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

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

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

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

work.index\_document.deleted v1 (OpenVibe.Work server/search-index.js, via openvibe-publishing/search-feed). A Search tombstone for a job page (/jobs/<id>) that is no longer listed or whose row is gone. 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: job, id, revision }, visibility internal, actor service:work.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `type` | const | yes |  | - `= "job"` |
| `id` | string | yes |  | - `pattern ^job_[0-9abcdefghjkmnpqrstvwxyz]{26}$` |
| `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: tombstone

~~~~
{
  "type": "job",
  "id": "job_0123456789abcdefghjkmnpqrs",
  "revision": 3
}
~~~~

Rejected: full-document

~~~~
{
  "owner": "work",
  "type": "job",
  "id": "job_0123456789abcdefghjkmnpqrs",
  "revision": 2,
  "deleted": false,
  "visibility": "public",
  "canonical_url": "https://openvibe.work/jobs/job_0123456789abcdefghjkmnpqrs",
  "title": "Senior backend engineer — Example GmbH",
  "summary": "Remote (EU) · full time · Node.js, PostgreSQL",
  "body": "Senior backend engineer — Example GmbH\nRemote (EU) · full time · Node.js, PostgreSQL",
  "facets": {
    "source": "arbeitnow",
    "remote": "true",
    "type": "full time",
    "location": "Berlin"
  },
  "authorship": "imported",
  "provenance": [],
  "publication_state": "published",
  "published_at": "2026-10-09T12:00:00.000Z",
  "updated_at": "2026-10-10T08:00:00.000Z",
  "indexability": {
    "decision": "index",
    "reasons": []
  }
}
~~~~

Rejected: other-type

~~~~
{
  "type": "offer",
  "id": "job_0123456789abcdefghjkmnpqrs",
  "revision": 3
}
~~~~

## Validate

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