# dev.malpercio.cards.item

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

- Kind: record
- Record key: tid
- Authority: cards.malpercio.dev
- Lexicon: 1
- Published by [cards.malpercio.dev](https://lexicon.garden/identity/did:plc:kmg2eqexpdefljft34crzesc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item/analytics)

## Record (`dev.malpercio.cards.item`)

Type: record · key tid

### Properties

- `acceptedAt` (string · datetime, required)
- `asset` (blob)
  - Constraints: maxSize: 5000000, accept: image/*
- `assetCid` (string · cid): 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)
  - Constraints: maxSize: 1000000, accept: image/*
- `iconCid` (string · cid)
- `note` (string): Owner's own annotation. Never verified.
  - Constraints: maxLength: 512
- `provider` (string · did, required): Denormalized from the give URI for indexing.
- `title` (string): Display cache; verifiers use the set manifest, not this.
  - Constraints: maxLength: 128
- `via` (ref): The dev.malpercio.cards.transfer that delivered this card to the owner. Omit if received directly from the provider.
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$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
}
```
