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

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

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

# BlogPostUpdatedPayload `blog.post.updated@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: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/blog.post.updated.v1.json`](/docs/contracts/blog.post.updated.json)

blog.post.updated v1 (OpenVibe.Blog server/domain/publication.js afterChange, via openvibe-publishing/index-hooks publicationEvent). Emitted when a published post got a new published revision, visibility or URL, 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 public when the document is public and the gate lets it be listed, otherwise internal, priority important, actor the person or service:blog (scheduled and system changes).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `canonical_url` | string | yes |  | - `pattern ^https?://`<br>- `format uri`<br>- `maxLength 2048` |
| `publication_state` | const | yes |  | - `= "published"` |
| `indexability` | object | yes |  | - `no other fields` |
| `indexability.decision` | enum | yes |  | - `one of "index", "noindex"` |
| `indexability.reasons` | array of string | yes |  | - `maxItems 20`<br>- `unique items`<br>- `items: pattern ^[a-z][a-z0-9_]{1,63}$` |
| `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: thin

~~~~
{
  "canonical_url": "https://openvibe.blog/@alex/hello-world",
  "publication_state": "published",
  "indexability": {
    "decision": "noindex",
    "reasons": [
      "thin_content"
    ]
  },
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "visibility": "public"
}
~~~~

Rejected: bad-decision

~~~~
{
  "canonical_url": "https://openvibe.blog/@alex/hello-world",
  "publication_state": "published",
  "indexability": {
    "decision": "maybe",
    "reasons": []
  },
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "visibility": "public"
}
~~~~

## Validate

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