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

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

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

# BlogPostCreatedPayload `blog.post.created@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.created.v1.json`](/docs/contracts/blog.post.created.json)

blog.post.created v1 (OpenVibe.Blog server/domain/posts.js create). A post exists as a draft (its first revision). Envelope: subject { type: post, id: pst\_…, revision: 1 }, visibility internal, priority low, actor the person or the calling service.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `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}$` |
| `state` | const | yes |  | - `= "draft"` |
| `visibility` | enum | yes |  | - `one of "public", "unlisted", "members", "private"` |
| `authorship` | enum | yes | openvibe-publishing authorship mode (not Search's vocabulary). | - `one of "human", "ai", "hybrid", "imported"` |
| `workflow` | object |  | The OpenVibe.AI workflow and run behind ai and hybrid posts; absent for human posts. | - `no other fields` |
| `workflow.id` | string | yes |  | - `pattern ^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+$` |
| `workflow.runId` | string | yes |  | - `minLength 1` |
| `workflow.version` | integer \| string |  |  |  |
| `workflow.model` | string |  |  |  |

## Examples

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

 Valid: ai

~~~~
{
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "state": "draft",
  "visibility": "public",
  "authorship": "ai",
  "workflow": {
    "id": "blog.draft_post",
    "runId": "run_01JAB2C3D4E5F6G7H8J9K0MNPY",
    "version": 2
  }
}
~~~~

Valid: human

~~~~
{
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "state": "draft",
  "visibility": "public",
  "authorship": "human"
}
~~~~

Rejected: published-state

~~~~
{
  "blog": {
    "id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT",
    "handle": "alex"
  },
  "state": "published",
  "visibility": "public",
  "authorship": "human"
}
~~~~

## Validate

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