60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
{
|
|
"name": "blog_post",
|
|
"description": "Simple blog post with title, body, tags and publish status",
|
|
"tags": [
|
|
"content",
|
|
"blog"
|
|
],
|
|
"category": "content",
|
|
"fieldOrder": [
|
|
"author",
|
|
"body",
|
|
"created_at",
|
|
"excerpt",
|
|
"published",
|
|
"tags",
|
|
"title"
|
|
],
|
|
"fields": {
|
|
"author": {
|
|
"type": "string",
|
|
"description": "Author name"
|
|
},
|
|
"body": {
|
|
"type": "markdown",
|
|
"required": true,
|
|
"description": "Main content (Markdown)",
|
|
"minLength": 1
|
|
},
|
|
"created_at": {
|
|
"type": "datetime",
|
|
"auto": true,
|
|
"readonly": true,
|
|
"description": "Creation timestamp (auto-generated)"
|
|
},
|
|
"excerpt": {
|
|
"type": "string",
|
|
"description": "Short summary for previews",
|
|
"maxLength": 500
|
|
},
|
|
"published": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Whether the post is publicly visible"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Categorisation tags"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"required": true,
|
|
"description": "Title of the blog post",
|
|
"minLength": 1,
|
|
"maxLength": 200
|
|
}
|
|
}
|
|
} |