35 lines
889 B
JSON
35 lines
889 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "ai.syui.log.post",
|
|
"defs": {
|
|
"main": {
|
|
"type": "record",
|
|
"description": "Record containing a blog post.",
|
|
"key": "tid",
|
|
"record": {
|
|
"type": "object",
|
|
"required": ["title", "content", "createdAt"],
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"maxLength": 3000,
|
|
"maxGraphemes": 300,
|
|
"description": "The title of the post."
|
|
},
|
|
"content": {
|
|
"type": "string",
|
|
"maxLength": 1000000,
|
|
"maxGraphemes": 100000,
|
|
"description": "The content of the post."
|
|
},
|
|
"createdAt": {
|
|
"type": "string",
|
|
"format": "datetime",
|
|
"description": "Client-declared timestamp when this post was originally created."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|