{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "Unauthenticated"
        },
        {
          "name": "DraftNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "draft": {
              "ref": "app.bivri.feed.defs#draftView",
              "type": "ref"
            }
          },
          "required": [
            "draft"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "id": {
            "description": "Bivri-owned Draft identifier.",
            "maxLength": 36,
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Get private metadata for one Draft when the authenticated member is a Party. A missing Draft and a Draft outside the caller's Parties both return DraftNotFound so existence is not disclosed. Draft bytes use a separate authorized path.",
  "id": "app.bivri.feed.getDraft",
  "lexicon": 1
}
