pub.openletter.draft

openletter.pub

Documentation

A work-in-progress letter, published as a pub.openletter.petition when ready.

main record

A work-in-progress letter, published as a pub.openletter.petition when ready.

Record Key tid Timestamp-based ID

Properties

banner blob Optional

No description available.

maxSize: 1.0 MB
body string Optional

The draft text, as CommonMark markdown.

maxLength: 100000 bytesmaxGraphemes: 50000 graphemes
contributors array of string did Optional

DIDs the author intends as co-authors.

maxLength: 100 items
createdAt string datetime Required

An RFC 3339 formatted timestamp.

langs array of string language Optional

No description available.

maxLength: 3 items
summary string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
tags array of string Optional

No description available.

maxLength: 10 items
title string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "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."
}

Lexicon Garden

@