Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| title | string | |
| slug | string | |
| section | string | Section slug. |
| summary | string | |
| body | string | Full story body. Returned by single-story responses. |
| url | string | |
| tags | array | |
| publishedAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aligned-news/refs/heads/main/json-schema/aligned-news-story-schema.json",
"title": "Story",
"description": "An Aligned News story.",
"type": "object",
"properties": {
"id": { "type": "string", "format": "uuid" },
"title": { "type": "string" },
"slug": { "type": "string" },
"section": { "type": "string", "description": "Section slug." },
"summary": { "type": "string" },
"body": { "type": "string", "description": "Full story body. Returned by single-story responses." },
"url": { "type": "string", "format": "uri" },
"tags": { "type": "array", "items": { "type": "string" } },
"publishedAt": { "type": "string", "format": "date-time" }
},
"required": ["id", "title"]
}