cards.sunshine.card

sunshine.cards

Schema Diff

+19 -1

From

CID
bafyreidm7ndjwmh...
Indexed At
2026-10-12 20:15 UTC
View this version

To

CID
bafyreieabrybwor...
Indexed At
2026-10-13 14:01 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 6 non-breaking changes.

Non-Breaking Changes (6)
  • AddedVertex AddedVertex { vertex_id: "cards.sunshine.card:body.collection" }
  • AddedVertex AddedVertex { vertex_id: "cards.sunshine.card:body.colors" }
  • AddedVertex AddedVertex { vertex_id: "cards.sunshine.card:body.colors:items" }
  • AddedEdge AddedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.collection", kind: "prop", name: Some("collection") }
  • AddedEdge AddedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.colors", kind: "prop", name: Some("colors") }
  • AddedEdge AddedEdge { src: "cards.sunshine.card:body.colors", tgt: "cards.sunshine.card:body.colors:items", kind: "items", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "cards.sunshine.card:body.collection" }
  • AddedVertex { vertex_id: "cards.sunshine.card:body.colors" }
  • AddedVertex { vertex_id: "cards.sunshine.card:body.colors:items" }

Additional Notes

  • Non-breaking: AddedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.collection", kind: "prop", name: Some("collection") }
  • Non-breaking: AddedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.colors", kind: "prop", name: Some("colors") }
  • Non-breaking: AddedEdge { src: "cards.sunshine.card:body.colors", tgt: "cards.sunshine.card:body.colors:items", kind: "items", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "A Sunshine Card's public details. The record key is the card's UID.",
6 6
      "key": "any",
7 7
      "record": {
8 8
        "properties": {
9 9
          "back": {
10 10
            "accept": [
11 11
              "image/*"
12 12
            ],
13 +
            "description": "The card's back artwork: portrait, in ID-1 bank card proportions (53.98 × 85.60 mm).",
13 14
            "maxSize": 1000000,
14 15
            "type": "blob"
15 16
          },
17 +
          "collection": {
18 +
            "description": "The name of the collection this card is part of, like 'Autumn Market 2026'. Collections belong to the card's creator: two creators' collections with the same name are different collections.",
19 +
            "maxGraphemes": 64,
20 +
            "maxLength": 640,
21 +
            "type": "string"
22 +
          },
23 +
          "colors": {
24 +
            "description": "The card's colours, most prominent first, each an sRGB hex colour like #f4b400.",
25 +
            "items": {
26 +
              "maxLength": 7,
27 +
              "minLength": 7,
28 +
              "type": "string"
29 +
            },
30 +
            "maxLength": 3,
31 +
            "type": "array"
32 +
          },
16 33
          "counter": {
17 34
            "description": "The tag's read counter at the last accepted tap.",
18 35
            "maximum": 16777215,
19 36
            "minimum": 0,
20 37
            "type": "integer"
21 38
          },
22 39
          "front": {
23 40
            "accept": [
24 41
              "image/*"
25 42
            ],
43 +
            "description": "The card's front artwork: portrait, in ID-1 bank card proportions (53.98 × 85.60 mm).",
26 44
            "maxSize": 1000000,
27 45
            "type": "blob"
28 46
          },
29 47
          "record": {
30 48
            "description": "An associated record, embedded whole.",
31 49
            "type": "unknown"
32 50
          },
33 51
          "uid": {
34 52
            "description": "The tag's serial number, as 14 upper-case hex characters.",
35 53
            "maxLength": 14,
36 54
            "minLength": 14,
37 55
            "type": "string"
38 56
          },
39 57
          "url": {
40 -
            "description": "Where the creator posts about this card.",
58 +
            "description": "The URL anyone can visit when looking at this card collected in someone's account. It may be the same as the URL in the card's NFC (NDEF) record, or something different.",
41 59
            "format": "uri",
42 60
            "type": "string"
43 61
          }
44 62
        },
45 63
        "required": [
46 64
          "uid",
47 65
          "counter",
48 66
          "url"
49 67
        ],
50 68
        "type": "object"
51 69
      },
52 70
      "type": "record"
53 71
    }
54 72
  },
55 73
  "id": "cards.sunshine.card",
56 74
  "lexicon": 1
57 75
}

Compare Other Versions

Lexicon Garden

@