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