cards.sunshine.card
Schema Diff
+2 -5
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 0 non-breaking changes.
Breaking Changes (2)
- RemovedVertex RemovedVertex { vertex_id: "cards.sunshine.card:body.heteroriented" }
- RemovedEdge RemovedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.heteroriented", kind: "prop", name: Some("heteroriented") }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "cards.sunshine.card:body.heteroriented" }
Additional Notes
- Breaking: RemovedEdge { src: "cards.sunshine.card:body", tgt: "cards.sunshine.card:body.heteroriented", kind: "prop", name: Some("heteroriented") }
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
},
16
17
"collection": {
17
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.",
18
19
"maxGraphemes": 64,
19
20
"maxLength": 640,
20
21
"type": "string"
21
22
},
22
23
"colors": {
23
24
"description": "The card's colours, most prominent first, each an sRGB hex colour like #f4b400.",
24
25
"items": {
25
26
"maxLength": 7,
26
27
"minLength": 7,
27
28
"type": "string"
28
29
},
29
30
"maxLength": 3,
30
31
"type": "array"
31
32
},
32
33
"counter": {
33
34
"description": "The tag's read counter at the last accepted tap.",
34
35
"maximum": 16777215,
35
36
"minimum": 0,
36
37
"type": "integer"
37
38
},
38
39
"front": {
39
40
"accept": [
40
41
"image/*"
41
42
],
43
+
"description": "The card's front artwork: portrait, in ID-1 bank card proportions (53.98 × 85.60 mm).",
42
44
"maxSize": 1000000,
43
45
"type": "blob"
44
-
},
45
-
"heteroriented": {
46
-
"default": false,
47
-
"description": "Whether the back is the opposite orientation to the front (true) or the same orientation (false).",
48
-
"type": "boolean"
49
46
},
50
47
"record": {
51
48
"description": "An associated record, embedded whole.",
52
49
"type": "unknown"
53
50
},
54
51
"uid": {
55
52
"description": "The tag's serial number, as 14 upper-case hex characters.",
56
53
"maxLength": 14,
57
54
"minLength": 14,
58
55
"type": "string"
59
56
},
60
57
"url": {
61
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.",
62
59
"format": "uri",
63
60
"type": "string"
64
61
}
65
62
},
66
63
"required": [
67
64
"uid",
68
65
"counter",
69
66
"url"
70
67
],
71
68
"type": "object"
72
69
},
73
70
"type": "record"
74
71
}
75
72
},
76
73
"id": "cards.sunshine.card",
77
74
"lexicon": 1
78
75
}