---
title: "news.story-create-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/news.story-create-request"
updated: null
---

# news.story-create-request@1 · OpenVibe.Services

HTML: [news.story-create-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/news.story-create-request)

# NewsStoryCreateRequest `news.story-create-request@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: news
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/news/story-create-request.v1.json`](/docs/contracts/news.story-create-request.json)

news.story-create-request@1: the body of news.story.create on OpenVibe.News: POST /api/v1/stories { headline, cluster?, topic?, slug?, body? | paragraphs? } opens a story (editors; a service acts for the editor in X-OV-Subject). The cluster's live, non-duplicate source items become its first sources, numbered by publication date; body or paragraphs (citing those numbers or item ids) becomes revision 1. Refusals: 422 story.no\_headline (missing or over 200 characters), 404 cluster.not\_found, 422 topic.not\_found, 422 story.invalid\_slug, 409 story.slug\_taken, 422 story.claim\_unsourced / story.unknown\_source for a paragraph that cites nothing or a source not attached.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `headline` | string | yes | The working headline; at most 200 characters once whitespace is collapsed. | - `minLength 1` |
| `cluster` | string |  | The cluster (clu\_…) to open the story from; merged clusters are followed. |  |
| `cluster_id` | string |  | Same as cluster. |  |
| `topic` | string \| null |  | An active topic, by id (top\_…) or slug. |  |
| `slug` | string |  | Default: made from the headline. |  |
| `body` | string |  | Paragraphs separated by a blank line, each ending with the source numbers it rests on, e.g. "… said on Monday. \[1, 3\]". |  |
| `paragraphs` | array of object |  |  | - `minItems 1`<br>- `maxItems 60` |
| `paragraphs[].text` | string | yes | At most 3000 characters once whitespace is collapsed. | - `minLength 1` |
| `paragraphs[].sources` | array of one of | yes | The attached sources the paragraph rests on (at least one). | - `minItems 1` |

## Examples

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

 Valid: from-cluster

~~~~
{
  "cluster": "clu_01JAB2X3C4D5E6F7G8H9J0KMNP",
  "headline": "Harbour bridge closes for inspection",
  "topic": "local",
  "paragraphs": [
    {
      "text": "The harbour bridge closed on Tuesday morning after inspectors found cracks in a support.",
      "sources": [
        1
      ]
    }
  ]
}
~~~~

Valid: with-body

~~~~
{
  "headline": "Harbour bridge closes for inspection",
  "body": "The harbour bridge closed on Tuesday morning. [1]\n\nThe council expects the inspection to take two weeks. [2]"
}
~~~~

Rejected: no-headline

~~~~
{
  "cluster": "clu_01JAB2X3C4D5E6F7G8H9J0KMNP",
  "body": "The harbour bridge closed. [1]"
}
~~~~

Rejected: uncited-paragraph

~~~~
{
  "headline": "Harbour bridge closes",
  "paragraphs": [
    {
      "text": "The bridge closed.",
      "sources": []
    }
  ]
}
~~~~

## Validate

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