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

# blog.post.deleted@1 · OpenVibe.Services

HTML: [blog.post.deleted@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/blog.post.deleted)

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

blog.post.deleted v1 (OpenVibe.Blog server/domain/publication.js afterChange, via openvibe-publishing/index-hooks publicationEvent). Emitted when a post was soft-deleted, in the transaction of the change. For subscribers other than Search: canonical URL, publication state and Search-shaped indexability, never the body (Search gets that from blog.index\_document.\*). Envelope: subject { type: post, id: pst\_…, revision: <published revision, 0 if none> }, visibility internal, priority important, actor the person or service:blog (scheduled and system changes).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `canonical_url` | string \| null | yes | null: the event carries a tombstone, which has no URL. |  |
| `publication_state` | const | yes |  | - `= "deleted"` |
| `indexability` | object \| null | yes | The last gate decision, or null when there is none. |  |
| `blog` | object | yes |  | - `no other fields` |
| `blog.id` | string | yes |  | - `pattern ^blg_[0-9A-HJKMNP-TV-Z]{26}$` |
| `blog.handle` | string | yes |  | - `pattern ^[a-z0-9][a-z0-9_-]{1,39}$` |
| `visibility` | enum | yes | The post's own visibility (members = entitlement-gated). | - `one of "public", "unlisted", "members", "private"` |

## Examples

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

 Valid: tombstone

~~~~
{
  "canonical_url": null,
  "publication_state": "deleted",
  "indexability": null,
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "visibility": "members"
}
~~~~

Rejected: unpublished-state

~~~~
{
  "canonical_url": null,
  "publication_state": "unpublished",
  "indexability": null,
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "visibility": "members"
}
~~~~

## Validate

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