com.gamethesky.fightthesky.run
Schema Diff
+29 -0
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 6 non-breaking changes.
Breaking Changes (2)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "com.gamethesky.fightthesky.run#worn", src: "com.gamethesky.fightthesky.run#worn", tgt: "com.gamethesky.fightthesky.run#worn.image", kind: "prop", name: Some("image") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "com.gamethesky.fightthesky.run#worn", src: "com.gamethesky.fightthesky.run#worn", tgt: "com.gamethesky.fightthesky.run#worn.name", kind: "prop", name: Some("name") }
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn" }
- AddedVertex AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn.image" }
- AddedVertex AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn.name" }
- AddedVertex AddedVertex { vertex_id: "com.gamethesky.fightthesky.run:body.worn" }
- AddedEdge AddedEdge { src: "com.gamethesky.fightthesky.run:body", tgt: "com.gamethesky.fightthesky.run:body.worn", kind: "prop", name: Some("worn") }
- AddedEdge AddedEdge { src: "com.gamethesky.fightthesky.run:body.worn", tgt: "com.gamethesky.fightthesky.run#worn", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn" }AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn.image" }AddedVertex { vertex_id: "com.gamethesky.fightthesky.run#worn.name" }AddedVertex { vertex_id: "com.gamethesky.fightthesky.run:body.worn" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "com.gamethesky.fightthesky.run#worn", src: "com.gamethesky.fightthesky.run#worn", tgt: "com.gamethesky.fightthesky.run#worn.image", kind: "prop", name: Some("image") }
- Breaking: RequiredEdgeAdded { vertex_id: "com.gamethesky.fightthesky.run#worn", src: "com.gamethesky.fightthesky.run#worn", tgt: "com.gamethesky.fightthesky.run#worn.name", kind: "prop", name: Some("name") }
- Non-breaking: AddedEdge { src: "com.gamethesky.fightthesky.run:body", tgt: "com.gamethesky.fightthesky.run:body.worn", kind: "prop", name: Some("worn") }
- Non-breaking: AddedEdge { src: "com.gamethesky.fightthesky.run:body.worn", tgt: "com.gamethesky.fightthesky.run#worn", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"build": {
5
5
"description": "A fighter's build: twelve points at most over four stats of 1–5, and a special. The build changes the sim, so a verifier replays with it and refuses one over budget. Shared by the run record and the fighter record.",
6
6
"properties": {
7
7
"guts": {
8
8
"maximum": 5,
9
9
"minimum": 1,
10
10
"type": "integer"
11
11
},
12
12
"power": {
13
13
"maximum": 5,
14
14
"minimum": 1,
15
15
"type": "integer"
16
16
},
17
17
"reach": {
18
18
"maximum": 5,
19
19
"minimum": 1,
20
20
"type": "integer"
21
21
},
22
22
"special": {
23
23
"knownValues": [
24
24
"post",
25
25
"ratio",
26
26
"rush"
27
27
],
28
28
"maxLength": 16,
29
29
"type": "string"
30
30
},
31
31
"speed": {
32
32
"maximum": 5,
33
33
"minimum": 1,
34
34
"type": "integer"
35
35
}
36
36
},
37
37
"required": [
38
38
"power",
39
39
"speed",
40
40
"reach",
41
41
"guts",
42
42
"special"
43
43
],
44
44
"type": "object"
45
45
},
46
46
"face": {
47
47
"description": "One of the player's own faces, as it fought in a run: which ladder slot, the name under it, and the picture.",
48
48
"properties": {
49
49
"image": {
50
50
"accept": [
51
51
"image/jpeg"
52
52
],
53
53
"description": "The face: a 256×256 JPEG, 64 KB at most, cropped to the middle of the photo. Readers refuse a bigger one.",
54
54
"maxSize": 65536,
55
55
"type": "blob"
56
56
},
57
57
"name": {
58
58
"description": "The name under the face, 40 characters at most.",
59
59
"maxGraphemes": 40,
60
60
"maxLength": 160,
61
61
"type": "string"
62
62
},
63
63
"slot": {
64
64
"description": "The ladder slot the face fought in, 0 the Lurker to 9 the Discourse. The slots are filled by `faces` at their slot numbers and then by the people the player follows in order, so a face sits ahead of them, as it did on the player's screen.",
65
65
"maximum": 9,
66
66
"minimum": 0,
67
67
"type": "integer"
68
68
}
69
69
},
70
70
"required": [
71
71
"slot",
72
72
"name",
73
73
"image"
74
74
],
75
75
"type": "object"
76
76
},
77
77
"ghost": {
78
78
"description": "A ghost fight's opponent: a strong reference to another player's fighter record, pinned to the version fought, plus how the CPU drove it. The verifier fetches that exact version, replays with its build and style, and refuses the run if the version is gone, so an owner editing their fighter changes no old result.",
79
79
"properties": {
80
80
"cid": {
81
81
"description": "The version of that record the fight was played against.",
82
82
"format": "cid",
83
83
"type": "string"
84
84
},
85
85
"skill": {
86
86
"description": "How sharp the ghost's CPU was, the challenger's choice: the sim thinks skill/10 times the difficulty's, so 10 on Normal is as good as the CPU gets. A verifier must replay at the same skill.",
87
87
"maximum": 10,
88
88
"minimum": 1,
89
89
"type": "integer"
90
90
},
91
91
"style": {
92
92
"description": "Advisory: how the ghost fought, copied from its record so a card can say so without fetching it. A verifier uses the record's own style and refuses a run that disagrees.",
93
93
"knownValues": [
94
94
"rusher",
95
95
"turtle",
96
96
"zoner",
97
97
"tricky"
98
98
],
99
99
"maxLength": 16,
100
100
"type": "string"
101
101
},
102
102
"uri": {
103
103
"description": "The opponent's `com.gamethesky.fightthesky.fighter` record, in their repo.",
104
104
"format": "at-uri",
105
105
"type": "string"
106
106
}
107
107
},
108
108
"required": [
109
109
"uri",
110
110
"cid",
111
111
"skill"
112
112
],
113
113
"type": "object"
114
114
},
115
115
"main": {
116
116
"description": "One run of Fight the Sky, published by the player into their own repo: a climb up the ladder, or a single ghost fight (see `ghost`). The record stores the fighter's build and every input rather than a score: the sim is deterministic, so re-running the input log against the same seed with the same build reproduces the run exactly. Owning the record is the identity proof, and replaying it is the score proof — score, wins and the rest are advisory and never trusted by a leaderboard.",
117
117
"key": "tid",
118
118
"record": {
119
119
"properties": {
120
120
"build": {
121
121
"description": "The fighter's build: twelve points at most over four stats of 1–5, and a special. The build changes the sim, so a verifier replays with it and refuses one over budget.",
122
122
"ref": "#build",
123
123
"type": "ref"
124
124
},
125
125
"createdAt": {
126
126
"format": "datetime",
127
127
"type": "string"
128
128
},
129
129
"difficulty": {
130
130
"description": "How hard the run was. A verifier must replay at the same difficulty. Absent means normal. Each difficulty has its own daily board.",
131
131
"knownValues": [
132
132
"granny",
133
133
"easy",
134
134
"normal",
135
135
"hard"
136
136
],
137
137
"maxLength": 16,
138
138
"type": "string"
139
139
},
140
140
"faces": {
141
141
"description": "The player's own photo faces that fought on the ladder, included on purpose (the game asks, off by default) so a replay anywhere shows them; each photo is a public blob in the player's repo. Cosmetic, like `look`: a face takes its ladder slot ahead of the people the player follows, the opponents' play is the sim's, and a verifier ignores this field entirely. Six at most. Never on a ghost fight.",
142
142
"items": {
143
143
"ref": "#face",
144
144
"type": "ref"
145
145
},
146
146
"maxLength": 6,
147
147
"type": "array"
148
148
},
149
149
"ghost": {
150
150
"description": "Present on a ghost fight: who the opponent was and how sharp. A run with this never ranks on a board, whatever its seed.",
151
151
"ref": "#ghost",
152
152
"type": "ref"
153
153
},
154
154
"hits": {
155
155
"description": "Advisory: hits landed.",
156
156
"minimum": 0,
157
157
"type": "integer"
158
158
},
159
159
"inputs": {
160
160
"description": "The whole run as the only input the game takes. Comma-separated `<dtick>.<code>` entries, or `<dtick>.<code>.<v>` for the held ones: dtick is 60 Hz ticks since the previous entry; code 0 is a jab, 1 a kick, 2 the special, 3 throws in the towel (the run ends on that entry), 4 sets the held direction (v is -1 left, 0 none, 1 right; absolute, not relative to facing), 5 crouches (v 1) or stands (v 0), 6 jumps, 7 holds guard (v 1) or lets go (v 0). Only inputs the sim accepted are logged; a verifier refuses a log the sim would not have accepted. Example: `100.4.1,40.0,8.1,30.4.0`.",
161
161
"maxLength": 400000,
162
162
"type": "string"
163
163
},
164
164
"look": {
165
165
"description": "Cosmetic: the fighter's three paint colors, as `rrggbb.rrggbb.rrggbb` (body, trim, gloves). The sim never sees it.",
166
166
"maxLength": 32,
167
167
"type": "string"
168
168
},
169
169
"perfects": {
170
170
"description": "Advisory: fights won without taking a hit.",
171
171
"minimum": 0,
172
172
"type": "integer"
173
173
},
174
174
"score": {
175
175
"description": "Advisory: the final score.",
176
176
"minimum": 0,
177
177
"type": "integer"
178
178
},
179
179
"seed": {
180
180
"description": "Which ladder: a date (YYYY-MM-DD, local to the player) for the daily ladder, or any other string for a practice one or a ghost fight. The sim seeds from the FNV-1a hash of this string.",
181
181
"maxLength": 64,
182
182
"type": "string"
183
183
},
184
184
"simVersion": {
185
185
"description": "Which rules produced these inputs. A verifier must replay under the matching version or refuse the run.",
186
186
"minimum": 1,
187
187
"type": "integer"
188
188
},
189
189
"start": {
190
190
"description": "The ladder slot the run started at: 1 for a full run, any other for practice against that opponent. Absent means 1. Only full runs of a daily ladder rank. A ghost fight is always 1.",
191
191
"maximum": 10,
192
192
"minimum": 1,
193
193
"type": "integer"
194
194
},
195
195
"ticks": {
196
196
"description": "Advisory: the tick the run ended.",
197
197
"minimum": 1,
198
198
"type": "integer"
199
199
},
200
200
"wins": {
201
201
"description": "Advisory: fights won.",
202
202
"minimum": 0,
203
203
"type": "integer"
204
204
},
205
205
"won": {
206
206
"description": "Advisory: the whole ladder was cleared; in a ghost fight, the ghost was beaten.",
207
207
"type": "boolean"
208
+
},
209
+
"worn": {
210
+
"description": "The photo face the player wore themself in this run, included on purpose under the same switch as `faces` (off by default), so a replay anywhere shows it in their corner, with its name, instead of their avatar. A public blob in the player's repo. Cosmetic: a verifier ignores it. Never on a ghost fight.",
211
+
"ref": "#worn",
212
+
"type": "ref"
208
213
}
209
214
},
210
215
"required": [
211
216
"seed",
212
217
"simVersion",
213
218
"inputs",
214
219
"build",
215
220
"score",
216
221
"wins",
217
222
"ticks",
218
223
"createdAt"
219
224
],
220
225
"type": "object"
221
226
},
222
227
"type": "record"
228
+
},
229
+
"worn": {
230
+
"description": "The face the player wore: the name they fought under and the picture.",
231
+
"properties": {
232
+
"image": {
233
+
"accept": [
234
+
"image/jpeg"
235
+
],
236
+
"description": "A 256×256 JPEG, 64 KB at most, cropped to the middle of the photo. Readers refuse a bigger one.",
237
+
"maxSize": 65536,
238
+
"type": "blob"
239
+
},
240
+
"name": {
241
+
"description": "The name they fought under, 40 characters at most.",
242
+
"maxGraphemes": 40,
243
+
"maxLength": 160,
244
+
"type": "string"
245
+
}
246
+
},
247
+
"required": [
248
+
"name",
249
+
"image"
250
+
],
251
+
"type": "object"
223
252
}
224
253
},
225
254
"id": "com.gamethesky.fightthesky.run",
226
255
"lexicon": 1
227
256
}