org.passingreads.book.rejectGift

passingreads.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Turn down a gift offered to the authenticated user, so it stops appearing in their account state. Deliberately appview-side only: nothing is written to the recipient's repository and the giver is never told, because a gift is an unsolicited message and being able to refuse one must not expose the refusal. The book never left the giver's hands, so refusing only hides the offer — there is nothing to hand back.",
      "errors": [
        {
          "description": "No indexed gift at that URI names the authenticated user as its recipient. Also the answer when a gift exists but was offered to somebody else, so the endpoint can't be used to probe for gifts.",
          "name": "GiftNotFound"
        },
        {
          "description": "The authenticated DID has no PassingReads profile indexed by the appview.",
          "name": "ProfileNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "gift": {
              "description": "The org.passingreads.book.event carrying the #gift being turned down. It must name the authenticated user as its recipient.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "gift"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "rejectedAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "rejectedAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.passingreads.book.rejectGift",
  "lexicon": 1
}

Validate Record

Validate a record against org.passingreads.book.rejectGift

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:oeipalbxet5jghoqe6b6ctu6
CID
bafyreievi2o4gutdz3oxgmbpp6cbmfjmq3b6paht7zy7zuggzke3hibwdm
Indexed At
2026-09-10 17:16 UTC
AT-URI
at://did:plc:oeipalbxet5jghoqe6b6ctu6/com.atproto.lexicon.schema/org.passingreads.book.rejectGift

Version History (2 versions)

Lexicon Garden

@