Skip to content

Commit cc8ffa0

Browse files
committed
Update jaml.schema.json
1 parent 463fc40 commit cc8ffa0

File tree

1 file changed

+86
-35
lines changed

1 file changed

+86
-35
lines changed

jaml.schema.json

Lines changed: 86 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://seedsearcher.app/jaml.schema.json",
4-
"version": "2.0.0",
3+
"$id": "https://seedfinder.app/jaml.schema.json",
4+
"version": "2.2.0",
55
"title": "JAML - Jimbo's Ante Markup Language",
6-
"description": "Schema for Balatro seed filter configuration files (.jaml). v2.0.0 adds Event type-as-key shorthand and full source support (Judgement, RiffRaff, Seance, SixthSense, Emperor, PurpleSealOrEightBall, RareTag, UncommonTag).",
6+
"description": "Schema for Balatro seed filter configuration files (.jaml)",
77
"type": "object",
88
"properties": {
99
"name": {
@@ -84,7 +84,7 @@
8484
],
8585
"description": "Default antes to check if not specified in clause"
8686
},
87-
"packSlots": {
87+
"boosterPacks": {
8888
"type": "array",
8989
"items": {
9090
"type": "integer",
@@ -101,7 +101,7 @@
101101
],
102102
"description": "Default pack slots (ante 1 limited to 0-3, ante 2+ uses 0-5)"
103103
},
104-
"shopSlots": {
104+
"shopItems": {
105105
"type": "array",
106106
"items": {
107107
"type": "integer",
@@ -147,15 +147,6 @@
147147
"items": {
148148
"$ref": "#/definitions/clause"
149149
}
150-
},
151-
"seeds": {
152-
"type": "array",
153-
"description": "Pre-specified seeds for this filter (optional). These seeds will be loaded into the seed list for viewing while searching runs.",
154-
"items": {
155-
"type": "string",
156-
"pattern": "^[1-9A-Z]{1,8}$",
157-
"description": "Balatro seed (1-8 alphanumeric characters, no zeros)"
158-
}
159150
}
160151
},
161152
"definitions": {
@@ -213,15 +204,75 @@
213204
},
214205
"event": {
215206
"type": "string",
216-
"enum": [
217-
"LuckyMoney",
218-
"LuckyMult",
219-
"MisprintMult",
220-
"WheelOfFortune",
221-
"CavendishExtinct",
222-
"GrosMichelExtinct"
223-
],
224-
"description": "Shorthand for Event type (type-as-key). Example: 'event: LuckyMoney' is equivalent to 'type: Event, value: LuckyMoney'. Use with 'rolls' to specify which occurrences to check."
207+
"description": "Shorthand for Event type (type-as-key). Example: 'event: LuckyMoney'"
208+
},
209+
"joker": {
210+
"type": "string",
211+
"description": "Shorthand for Joker type. Example: 'joker: Blueprint'"
212+
},
213+
"legendaryJoker": {
214+
"type": "string",
215+
"description": "Shorthand for SoulJoker type. Example: 'legendaryJoker: Perkeo'"
216+
},
217+
"voucher": {
218+
"type": "string",
219+
"description": "Shorthand for Voucher type."
220+
},
221+
"tarot": {
222+
"type": "string",
223+
"description": "Shorthand for TarotCard type."
224+
},
225+
"tarotCard": {
226+
"type": "string",
227+
"description": "Shorthand for TarotCard type."
228+
},
229+
"planet": {
230+
"type": "string",
231+
"description": "Shorthand for PlanetCard type."
232+
},
233+
"planetCard": {
234+
"type": "string",
235+
"description": "Shorthand for PlanetCard type."
236+
},
237+
"spectral": {
238+
"type": "string",
239+
"description": "Shorthand for SpectralCard type."
240+
},
241+
"spectralCard": {
242+
"type": "string",
243+
"description": "Shorthand for SpectralCard type."
244+
},
245+
"standardCard": {
246+
"type": "string",
247+
"description": "Shorthand for StandardCard type."
248+
},
249+
"boss": {
250+
"type": "string",
251+
"description": "Shorthand for Boss type."
252+
},
253+
"tag": {
254+
"type": "string",
255+
"description": "Shorthand for Tag type."
256+
},
257+
"smallBlindTag": {
258+
"type": "string",
259+
"description": "Shorthand for SmallBlindTag type."
260+
},
261+
"bigBlindTag": {
262+
"type": "string",
263+
"description": "Shorthand for BigBlindTag type."
264+
},
265+
"erraticRank": {
266+
"type": "string",
267+
"description": "Shorthand for ErraticRank type."
268+
},
269+
"erraticSuit": {
270+
"type": "string",
271+
"description": "Shorthand for ErraticSuit type."
272+
},
273+
"erraticCard": {
274+
"type": "string",
275+
"description": "Shorthand for ErraticCard type."
225276
},
226277
"antes": {
227278
"type": "array",
@@ -312,43 +363,43 @@
312363
"sources": {
313364
"type": "object",
314365
"properties": {
315-
"shopSlots": {
366+
"shopItems": {
316367
"type": "array",
317368
"items": {
318369
"type": "integer"
319370
},
320-
"description": "Shop slot indices (0-based). If empty array [], will be populated from minShopSlot/maxShopSlot if provided."
371+
"description": "Shop slot indices (0-based). If empty array [], will be populated from minshopItem/maxshopItem if provided."
321372
},
322-
"packSlots": {
373+
"boosterPacks": {
323374
"type": "array",
324375
"items": {
325376
"type": "integer"
326377
},
327-
"description": "Pack slot indices (0-based). If empty array [], will be populated from minPackSlot/maxPackSlot if provided."
378+
"description": "Pack slot indices (0-based). If empty array [], will be populated from minboosterPack/maxboosterPack if provided."
328379
},
329-
"minShopSlot": {
380+
"minshopItem": {
330381
"type": "integer",
331382
"minimum": 0,
332383
"maximum": 1023,
333-
"description": "Minimum shop slot index (inclusive). If specified with maxShopSlot, generates shopSlots array [minShopSlot..maxShopSlot]."
384+
"description": "Minimum shop slot index (inclusive). If specified with maxshopItem, generates shopItems array [minshopItem..maxshopItem]."
334385
},
335-
"maxShopSlot": {
386+
"maxshopItem": {
336387
"type": "integer",
337388
"minimum": 0,
338389
"maximum": 1023,
339-
"description": "Maximum shop slot index (inclusive). If specified with minShopSlot, generates shopSlots array [minShopSlot..maxShopSlot]."
390+
"description": "Maximum shop slot index (inclusive). If specified with minshopItem, generates shopItems array [minshopItem..maxshopItem]."
340391
},
341-
"minPackSlot": {
392+
"minboosterPack": {
342393
"type": "integer",
343394
"minimum": 0,
344395
"maximum": 5,
345-
"description": "Minimum pack slot index (inclusive). If specified with maxPackSlot, generates packSlots array [minPackSlot..maxPackSlot]."
396+
"description": "Minimum pack slot index (inclusive). If specified with maxboosterPack, generates boosterPacks array [minboosterPack..maxboosterPack]."
346397
},
347-
"maxPackSlot": {
398+
"maxboosterPack": {
348399
"type": "integer",
349400
"minimum": 0,
350401
"maximum": 5,
351-
"description": "Maximum pack slot index (inclusive). If specified with minPackSlot, generates packSlots array [minPackSlot..maxPackSlot]."
402+
"description": "Maximum pack slot index (inclusive). If specified with minboosterPack, generates boosterPacks array [minboosterPack..maxboosterPack]."
352403
},
353404
"tags": {
354405
"type": "boolean",

0 commit comments

Comments
 (0)