{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a single draft document by TID.",
      "errors": [
        {
          "name": "DraftNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.unthread.document.putDraft#draftView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "tid": {
            "description": "TID of the draft to retrieve.",
            "type": "string"
          }
        },
        "required": [
          "tid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "at.unthread.document.getDraft",
  "lexicon": 1
}
