BlogScheduleFailedPayload blog.schedule.failed@1
Generated at from
openvibe-contracts v0.33.0 and
openvibe-sdk v0.5.0.
- Version
- 1.0.0
- Owner
- blog
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/events/payloads/blog.schedule.failed.v1.json
blog.schedule.failed v1 (OpenVibe.Blog server/domain/posts.js runScheduled). A scheduled publish or unpublish gave up after its retries; a scheduled post goes back to draft. Envelope: subject { type: post, id: pst_…, revision?: <scheduled revision> }, visibility internal, priority important, actor service:blog.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
job_id | string | yes |
| |
action | enum | yes |
| |
revision | integer | null | yes | The revision a publish was to make live; null for an unpublish. |
|
run_at | string | yes | When the job was last due. |
|
attempts | integer | yes |
| |
error | string | null | yes | The last error. |
|
blog_id | string | null | yes | null when the post no longer exists. |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: publish
{
"job_id": "job_01JAB2C3D4E5F6G7H8J9K0MNPZ",
"action": "publish",
"revision": 2,
"run_at": "2026-09-23T09:00:00.000Z",
"attempts": 5,
"error": "post.not_found: No such post",
"blog_id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT"
}Rejected: epoch-run-at
{
"job_id": "job_01JAB2C3D4E5F6G7H8J9K0MNPZ",
"action": "publish",
"revision": 2,
"run_at": 1790154000000,
"attempts": 5,
"error": "boom",
"blog_id": "blg_01JAB2C3D4E5F6G7H8J9K0MNPT"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('blog.schedule.failed@1', value); // { valid, errors: [{ path, message }] }