pub.oysters.post
A submission to an Oysters board: a link, a text post, or both.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | oysters.pub |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.textmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A submission to an Oysters board: a link, a text post, or both.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "When the author made the submission. Client-declared, so an appview ranks on its own receipt time.",
"format": "datetime",
"type": "string"
},
"langs": {
"description": "BCP-47 language codes for title and text.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"tags": {
"description": "Author-chosen topic tags, lowercased. Boards may recognise only a subset.",
"items": {
"maxGraphemes": 32,
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"maxLength": 5,
"type": "array"
},
"text": {
"description": "The body, in plain text. Present on text posts and on link posts that add context.",
"maxGraphemes": 10000,
"maxLength": 40000,
"type": "string"
},
"title": {
"description": "The headline shown in the feed.",
"maxGraphemes": 120,
"maxLength": 480,
"minLength": 1,
"type": "string"
},
"url": {
"description": "The link being submitted. A post carries a url, a text body, or both; the lexicon cannot express that either-or, so consumers must not assume url is present.",
"format": "uri",
"type": "string"
}
},
"required": [
"title",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "pub.oysters.post",
"lexicon": 1
}