ai.syui.card.user

syui.ai

Schema Diff

+7 -2

From

CID
bafyreidc5vpct4w...
Indexed At
2026-01-18 04:58 UTC
View this version

To

CID
bafyreihjdv3oebo...
Indexed At
2026-01-25 07:01 UTC
View this version
1 1
{
2 2
  "id": "ai.syui.card.user",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "literal:self",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "card",
11 11
          "createdAt",
12 12
          "updatedAt"
13 13
        ],
14 14
        "properties": {
15 15
          "card": {
16 16
            "type": "array",
17 17
            "items": {
18 18
              "type": "object",
19 19
              "required": [
20 20
                "id",
21 21
                "cp",
22 22
                "rare",
23 -
                "cid"
23 +
                "cid",
24 +
                "unique"
24 25
              ],
25 26
              "properties": {
26 27
                "cp": {
27 28
                  "type": "integer",
28 29
                  "description": "Card power"
29 30
                },
30 31
                "id": {
31 32
                  "type": "integer",
32 33
                  "description": "Card type ID"
33 34
                },
34 35
                "cid": {
35 36
                  "type": "string",
36 -
                  "description": "Unique card instance ID (TID format)"
37 +
                  "description": "Unique card instance ID"
37 38
                },
38 39
                "rare": {
39 40
                  "type": "integer",
40 41
                  "description": "Rarity level"
42 +
                },
43 +
                "unique": {
44 +
                  "type": "boolean",
45 +
                  "description": "Unique card flag"
41 46
                }
42 47
              }
43 48
            }
44 49
          },
45 50
          "createdAt": {
46 51
            "type": "string",
47 52
            "format": "datetime"
48 53
          },
49 54
          "updatedAt": {
50 55
            "type": "string",
51 56
            "format": "datetime"
52 57
          }
53 58
        }
54 59
      },
55 60
      "description": "User card collection"
56 61
    }
57 62
  },
58 63
  "$type": "com.atproto.lexicon.schema",
59 64
  "lexicon": 1
60 65
}

Compare Other Versions

Lexicon Garden

@