# dev.malpercio.cards.item

> Published by [cards.malpercio.dev](https://lexicon.garden/identity/did:plc:kmg2eqexpdefljft34crzesc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kmg2eqexpdefljft34crzesc/dev.malpercio.cards.item/examples)

## Definitions

### `dev.malpercio.cards.item`

**Type**: `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.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `acceptedAt` | `string` (datetime) | Yes |  |
| `asset` | `blob` | No |  |
| `assetCid` | `string` (cid) | No | Must equal the root give's assetCid. |
| `give` | `string` (at-uri) | Yes | 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` | No |  |
| `iconCid` | `string` (cid) | No |  |
| `note` | `string` | No | Owner's own annotation. Never verified. |
| `provider` | `string` (did) | Yes | Denormalized from the give URI for indexing. |
| `title` | `string` | No | Display cache; verifiers use the set manifest, not this. |
| `via` | `ref` → `com.atproto.repo.strongRef` | No | The dev.malpercio.cards.transfer that delivered this card to the owner. Omit if received directly from the provider. |

## Raw 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
}
```
