{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a draft document.",
      "errors": [
        {
          "name": "DraftNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "tid": {
              "description": "TID of the draft to delete.",
              "type": "string"
            }
          },
          "required": [
            "tid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.unthread.document.deleteDraft",
  "lexicon": 1
}
