{
"id": "dev.ocbwoy3.blueboard.post",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"text",
"createdAt",
"parent"
],
"properties": {
"text": {
"type": "string",
"maxLength": 1000,
"description": "The post's text"
},
"parent": {
"type": "string",
"format": "at-uri",
"description": "Determines the parent of the post. Must either be a `dev.ocbwoy3.blueboard.board` or a `dev.ocbwoy3.blueboard.post`."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "The date and time when the post was created"
},
"attachment": {
"type": "blob",
"accept": [
"image/*",
"video/webm"
],
"maxSize": 1000000,
"description": "The post's attachment blob. Must be present if parent is dev.ocbwoy3.blueboard.board, otherwise AppView will ignore it."
}
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "This record defines a post on Blue Board"
}