com.suibari.atsumeat.sticker
Schema Diff
+15 -0
1
1
{
2
2
"id": "com.suibari.atsumeat.sticker",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"image",
11
11
"originalOwner",
12
12
"model",
13
13
"obtainedAt",
14
14
"signature",
15
15
"signedPayload"
16
16
],
17
17
"properties": {
18
18
"name": {
19
19
"type": "string",
20
20
"maxLength": 640,
21
21
"maxGraphemes": 64
22
22
},
23
23
"tags": {
24
24
"type": "array",
25
25
"items": {
26
26
"type": "string",
27
27
"maxLength": 640,
28
28
"maxGraphemes": 64
29
29
},
30
30
"maxLength": 8
31
31
},
32
32
"image": {
33
33
"type": "unknown",
34
34
"description": "The image content, either a string URL (for CDN/Blob) or a BlobRef."
35
35
},
36
36
"model": {
37
37
"type": "string",
38
38
"maxLength": 64,
39
39
"description": "Identifier for the sticker model. 'default' for avatar stickers, 'cid:<cid>' for custom stickers."
40
40
},
41
+
"shape": {
42
+
"type": "string",
43
+
"maxLength": 64,
44
+
"description": "The shape of the sticker canvas.",
45
+
"knownValues": [
46
+
"circle",
47
+
"square",
48
+
"rectangle",
49
+
"star",
50
+
"heart",
51
+
"diamond",
52
+
"butterfly",
53
+
"transparent"
54
+
]
55
+
},
41
56
"message": {
42
57
"type": "string",
43
58
"maxLength": 6400,
44
59
"maxGraphemes": 640
45
60
},
46
61
"imageType": {
47
62
"type": "string",
48
63
"maxLength": 64,
49
64
"description": "Type of the image source.",
50
65
"knownValues": [
51
66
"avatar",
52
67
"custom"
53
68
]
54
69
},
55
70
"signature": {
56
71
"type": "string",
57
72
"maxLength": 2048,
58
73
"description": "Cryptographic signature from the server verifying the sticker's authenticity/provenance."
59
74
},
60
75
"obtainedAt": {
61
76
"type": "string",
62
77
"format": "datetime",
63
78
"description": "The timestamp when this sticker was obtained."
64
79
},
65
80
"subjectDid": {
66
81
"type": "string",
67
82
"format": "did",
68
83
"description": "The DID of the user depicted in the sticker, if applicable (e.g. for avatar stickers)."
69
84
},
70
85
"obtainedFrom": {
71
86
"type": "string",
72
87
"format": "did",
73
88
"description": "The DID of the user from whom this sticker was obtained (for provenance)."
74
89
},
75
90
"originalOwner": {
76
91
"type": "string",
77
92
"format": "did",
78
93
"description": "The DID of the original creator/minter of this sticker."
79
94
},
80
95
"signedPayload": {
81
96
"type": "string",
82
97
"maxLength": 10000,
83
98
"description": "The original JSON payload that was signed by the server."
84
99
}
85
100
}
86
101
},
87
102
"description": "Definition of a sticker"
88
103
}
89
104
},
90
105
"$type": "com.atproto.lexicon.schema",
91
106
"lexicon": 1
92
107
}