org.simocracy.sim
Schema Diff
+8 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "org.simocracy.sim:body.sprite" }
- AddedEdge AddedEdge { src: "org.simocracy.sim:body", tgt: "org.simocracy.sim:body.sprite", kind: "prop", name: Some("sprite") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "org.simocracy.sim:body.sprite" }
Additional Notes
- Non-breaking: AddedEdge { src: "org.simocracy.sim:body", tgt: "org.simocracy.sim:body.sprite", kind: "prop", name: Some("sprite") }
1
1
{
2
2
"id": "org.simocracy.sim",
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
"name",
11
11
"settings",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"name": {
16
16
"type": "string",
17
17
"maxLength": 64,
18
18
"description": "Display name of the sim"
19
19
},
20
20
"image": {
21
21
"type": "blob",
22
22
"accept": [
23
23
"image/png",
24
24
"image/jpeg",
25
25
"image/webp"
26
26
],
27
27
"description": "Rendered avatar PNG thumbnail for quick display"
28
28
},
29
+
"sprite": {
30
+
"type": "blob",
31
+
"accept": [
32
+
"image/png"
33
+
],
34
+
"maxSize": 1000000,
35
+
"description": "Animated sprite sheet PNG (128x128, 4 cols x 4 rows of 32x32 frames). Row order: front, left, right, back. Each row has 4 walk-cycle frames."
36
+
},
29
37
"settings": {
30
38
"ref": "org.simocracy.defs#spriteSettings",
31
39
"type": "ref",
32
40
"description": "Sprite appearance settings"
33
41
},
34
42
"createdAt": {
35
43
"type": "string",
36
44
"format": "datetime",
37
45
"description": "Timestamp when the sim was created"
38
46
}
39
47
}
40
48
},
41
49
"description": "An avatar/sim record. One user can have multiple sims."
42
50
}
43
51
},
44
52
"$type": "com.atproto.lexicon.schema",
45
53
"lexicon": 1
46
54
}