dev.malpercio.cards.transfer

Written by the current owner to hand a card to another DID. The recipient completes the transfer by writing a dev.malpercio.cards.item whose 'via' strongRefs this record. Repos are mutable, so an appview indexing the firehose resolves conflicting transfers of the same give (first seen wins).

Details · record, key tid
Kindrecord
Record keytid
Authoritycards.malpercio.dev
Indexed
cid bafyreianlsyjmwcr5m4eek4j5aemg7p22wjleybvvehlvkdeh6fizg6aza

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Written by the current owner to hand a card to another DID. The recipient completes the transfer by writing a dev.malpercio.cards.item whose 'via' strongRefs this record. Repos are mutable, so an appview indexing the firehose resolves conflicting transfers of the same give (first seen wins).",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "description": "If the recipient hasn't accepted by then, the sender may delete this and keep the card.",
            "format": "datetime",
            "type": "string"
          },
          "give": {
            "description": "Root give, denormalized so indexers can key conflicts without fetching the item.",
            "format": "at-uri",
            "type": "string"
          },
          "item": {
            "description": "The sender's dev.malpercio.cards.item being transferred.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "note": {
            "maxLength": 512,
            "type": "string"
          },
          "recipient": {
            "format": "did",
            "type": "string"
          },
          "trade": {
            "description": "Optional: the counterparty's transfer this is exchanged for. Both sides reference each other for a two-way trade.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "item",
          "give",
          "recipient",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.malpercio.cards.transfer",
  "lexicon": 1
}