pub.openletter.petition
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "An open letter that others can endorse or object to.",
"key": "tid",
"record": {
"properties": {
"banner": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"description": "A banner image for the letter.",
"maxSize": 1000000,
"type": "blob"
},
"body": {
"description": "The full text of the letter, as CommonMark markdown.",
"maxGraphemes": 50000,
"maxLength": 100000,
"minLength": 1,
"type": "string"
},
"contributors": {
"description": "DIDs the author claims as co-authors; each is confirmed by a matching pub.openletter.contribution.",
"items": {
"format": "did",
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"langs": {
"description": "The language(s) the letter is written in.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"recipients": {
"description": "The parties the letter is addressed to.",
"items": {
"ref": "#recipient",
"type": "ref"
},
"maxLength": 50,
"type": "array"
},
"summary": {
"description": "A short tagline shown in previews and listings.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"tags": {
"description": "Free-form tags for browsing.",
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 10,
"type": "array"
},
"title": {
"description": "The headline of the open letter.",
"maxGraphemes": 300,
"maxLength": 3000,
"minLength": 1,
"type": "string"
}
},
"required": [
"title",
"body",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"recipient": {
"description": "A party an open letter is addressed to.",
"properties": {
"did": {
"description": "The recipient's ATProto identity, if they have one.",
"format": "did",
"type": "string"
},
"name": {
"description": "The recipient's name, e.g. \"The City Council of Springfield\".",
"maxGraphemes": 256,
"maxLength": 2560,
"minLength": 1,
"type": "string"
},
"url": {
"description": "A web page for the recipient.",
"format": "uri",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"id": "pub.openletter.petition",
"lexicon": 1
}
Metadata
- DID
-
did:plc:vrxdl7yd3vz2hzdosqaywvb3 - CID
-
bafyreiapay5ap3u5udywp4aohr6pyte4wqqsui37owmnem6akpti3b2j3i - Indexed At
- 2026-06-09 11:42 UTC
- AT-URI
-
at://did:plc:vrxdl7yd3vz2hzdosqaywvb3/com.atproto.lexicon.schema/pub.openletter.petition
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.openletter.draft record
A work-in-progress letter, published as a pub.openletter.petition when ready.
-
pub.openletter.contribution record
A co-author's attestation that they helped write a petition, paired with the petition's contributors list.
-
pub.openletter.endorsement record
A signer's support for a petition.
-
pub.openletter.objection record
A signer's dissent against a petition.