pub.openletter.draft

openletter.pub

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

Validate Record

Validate a record against pub.openletter.draft

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vrxdl7yd3vz2hzdosqaywvb3
CID
bafyreie3dkcydttb2tqil7udvyn6aqxskfhstauwborombfbw3db7cz76a
Indexed At
2026-06-09 11:42 UTC
AT-URI
at://did:plc:vrxdl7yd3vz2hzdosqaywvb3/com.atproto.lexicon.schema/pub.openletter.draft

Referenced Schemas (1)

Lexicon Garden

@