dev.malpercio.cards.transfer

cards.malpercio.dev

Documentation

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).

main record

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).

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

expiresAt string datetime Optional

If the recipient hasn't accepted by then, the sender may delete this and keep the card.

give string at-uri Required

Root give, denormalized so indexers can key conflicts without fetching the item.

note string Optional

No description available.

maxLength: 512 bytes
recipient string did Required

A decentralized identifier (DID).

trade ref com.atproto.repo.strongRef Optional

Optional: the counterparty's transfer this is exchanged for. Both sides reference each other for a two-way trade.

View raw schema
{
  "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"
}

Lexicon Garden

@