dev.malpercio.cards.item

cards.malpercio.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "dev.malpercio.cards.item",
  "lexicon": 1
}

Validate Record

Validate a record against dev.malpercio.cards.item

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:kmg2eqexpdefljft34crzesc
CID
bafyreia54cmelsysxqall5pd3oe47xeo6ybzw6sbfpf7pyka5buea2suom
Indexed At
2026-10-20 23:53 UTC
AT-URI
at://did:plc:kmg2eqexpdefljft34crzesc/com.atproto.lexicon.schema/dev.malpercio.cards.item

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Issuance of a single card instance or a sealed pack, written by the provider into its own repo. This record is the root of a card's provenance chain and its at-URI is the card's permanent identity. The rkey is a TID, so…

  • 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 fi…

  • An owner-curated collection of their own cards (binder, deck, showcase). Purely user-side; a verifier checks each item resolves to a valid give held by this DID.

  • An appview's signed observation of a card changing hands, written into the appview's own repo. Triggered by a dev.malpercio.cards.item appearing on the firehose. Accepted witnesses form a prev-linked chain per give; exa…

  • A card's verified paint (docs/OVERHAUL.md section 4): model prose, cached and never journaled, so outside the signed tree; the exact card is its strongRef.

Lexicon Garden

@