pub.openletter.draft
A work-in-progress letter, published as a pub.openletter.petition when ready.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | openletter.pub |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.bodymaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A work-in-progress letter, published as a pub.openletter.petition when ready.",
"key": "tid",
"record": {
"properties": {
"banner": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 1000000,
"type": "blob"
},
"body": {
"description": "The draft text, as CommonMark markdown.",
"maxGraphemes": 50000,
"maxLength": 100000,
"type": "string"
},
"contributors": {
"description": "DIDs the author intends as co-authors.",
"items": {
"format": "did",
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"langs": {
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"recipients": {
"items": {
"ref": "pub.openletter.petition#recipient",
"type": "ref"
},
"maxLength": 50,
"type": "array"
},
"summary": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"tags": {
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 10,
"type": "array"
},
"title": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
}
},
"required": [
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "pub.openletter.draft",
"lexicon": 1
}