Raw schema
{
"type": "object",
"properties": {
"blogId": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Blog to add the post to"
},
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Post title, 1 to 300 characters"
},
"content": {
"type": "string",
"maxLength": 100000,
"minLength": 1,
"description": "Post body in the chosen format, Markdown or HTML, up to 100,000 characters"
},
"format": {
"type": "string",
"enum": [
"markdown",
"html"
],
"description": "markdown or html; content is treated as HTML when omitted"
},
"locale": {
"type": "string",
"maxLength": 50,
"description": "Post language, an ISO 639-1 code such as en or it; required with originalArticleId"
},
"originalArticleId": {
"type": "string",
"maxLength": 200,
"description": "Makes this article the `locale` version in an existing article's translation group. It is the original article's id, never a sibling translation's id; absent means a new original."
},
"slug": {
"type": "string",
"maxLength": 300,
"description": "URL slug such as my-first-post, up to 300 characters"
},
"description": {
"type": "string",
"maxLength": 1000,
"description": "Short summary shown in listings and search results, up to 1,000 characters"
},
"author": {
"type": "string",
"maxLength": 200,
"description": "Author name shown on the post, up to 200 characters"
},
"categories": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 50,
"description": "Up to 50 category names, each up to 100 characters"
},
"published": {
"type": "boolean",
"description": "true publishes the post on the blog; false or omitted keeps it a draft"
}
},
"required": [
"blogId",
"title",
"content"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}