BlogScheduleRequest blog.schedule-request@1

Generated at from openvibe-contracts v0.53.0 and openvibe-sdk v0.11.0.

Version
1.0.0
Owner
blog
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/blog/schedule-request.v1.json

blog.schedule-request@1: bodies of blog.post.schedule on OpenVibe.Blog. POST /api/v1/posts/:id/schedule: { at, revision?, action? } (at an ISO 8601 time in the future; action publish (default) or unpublish). DELETE /api/v1/posts/:id/schedule cancels pending jobs and takes no body.

Fields

This schema has no named fields.

Examples

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

Valid: publish
{
  "at": "2026-10-01T15:00:00Z",
  "action": "publish"
}
Rejected: bad-action
{
  "at": "2026-10-01T15:00:00Z",
  "action": "delete"
}

Validate

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