dev.malpercio.cards.item

cards.malpercio.dev

Documentation

A card (or sealed pack) held by the repo owner. Not authoritative on its own: validity comes from the chain of strongRefs back to a provider give whose recipient matches the current owner at each hop. Blobs are the owner's local copies and must hash to the CIDs on the root give.

main record

A card (or sealed pack) held by the repo owner. Not authoritative on its own: validity comes from the chain of strongRefs back to a provider give whose recipient matches the current owner at each hop. Blobs are the owner's local copies and must hash to the CIDs on the root give.

Record Key tid Timestamp-based ID

Properties

acceptedAt string datetime Required

An RFC 3339 formatted timestamp.

asset blob Optional

No description available.

maxSize: 5.0 MB
assetCid string cid Optional

Must equal the root give's assetCid.

give string at-uri Required

Root give in the provider repo. Constant for the card's whole life. A plain URI, not a strongRef: the give mutates on pack open and on revocation.

icon blob Optional

No description available.

maxSize: 1.0 MB
iconCid string cid Optional

A content identifier (CID) referencing immutable data.

note string Optional

Owner's own annotation. Never verified.

maxLength: 512 bytes
provider string did Required

Denormalized from the give URI for indexing.

title string Optional

Display cache; verifiers use the set manifest, not this.

maxLength: 128 bytes
via ref com.atproto.repo.strongRef Optional

The dev.malpercio.cards.transfer that delivered this card to the owner. Omit if received directly from the provider.

View raw schema
{
  "description": "A card (or sealed pack) held by the repo owner. Not authoritative on its own: validity comes from the chain of strongRefs back to a provider give whose recipient matches the current owner at each hop. Blobs are the owner's local copies and must hash to the CIDs on the root give.",
  "key": "tid",
  "record": {
    "properties": {
      "acceptedAt": {
        "format": "datetime",
        "type": "string"
      },
      "asset": {
        "accept": [
          "image/*"
        ],
        "maxSize": 5000000,
        "type": "blob"
      },
      "assetCid": {
        "description": "Must equal the root give's assetCid.",
        "format": "cid",
        "type": "string"
      },
      "give": {
        "description": "Root give in the provider repo. Constant for the card's whole life. A plain URI, not a strongRef: the give mutates on pack open and on revocation.",
        "format": "at-uri",
        "type": "string"
      },
      "icon": {
        "accept": [
          "image/*"
        ],
        "maxSize": 1000000,
        "type": "blob"
      },
      "iconCid": {
        "format": "cid",
        "type": "string"
      },
      "note": {
        "description": "Owner's own annotation. Never verified.",
        "maxLength": 512,
        "type": "string"
      },
      "provider": {
        "description": "Denormalized from the give URI for indexing.",
        "format": "did",
        "type": "string"
      },
      "title": {
        "description": "Display cache; verifiers use the set manifest, not this.",
        "maxLength": 128,
        "type": "string"
      },
      "via": {
        "description": "The dev.malpercio.cards.transfer that delivered this card to the owner. Omit if received directly from the provider.",
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      }
    },
    "required": [
      "give",
      "provider",
      "acceptedAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@