{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Owner-only encrypted server-private article drafts. Authentication required; owner comes only from the authenticated DID. Never publishes drafts or images to the PDS. Responses use private, no-store and nosniff. Storage unavailable returns Unavailable. Saves use expectedRevision CAS and durable mutationId idempotency; tombstones never resurrect. Explicit Publish/Schedule remain separate actions. Clients resolve unlocked cross-device conflicts by payload.updatedAt (latest edit wins); ties, tombstones, and publication/schedule claims prefer the server.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "UploadPending"
        },
        {
          "name": "Quota"
        },
        {
          "name": "Unavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "app.thesocialwire.articleDraft.defs#document",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "draftId": {
            "description": "Canonical lowercase UUID. This private identifier is not a PDS record.",
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          }
        },
        "required": [
          "draftId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.thesocialwire.articleDraft.get",
  "lexicon": 1
}
