Raw schema
{
"type": "object",
"properties": {
"deckA": {
"type": "object",
"properties": {
"name": {
"description": "A short label used in the result.",
"type": "string",
"maxLength": 80
},
"cards": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"gameplayCardId": {
"type": "string",
"description": "Gameplay card id, e.g. 'PK_000360'."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "Copies in the deck."
}
},
"required": [
"gameplayCardId",
"count"
]
},
"description": "Exactly 20 total cards, with no more than two copies of one gameplay card."
},
"energyTypes": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"grass",
"fire",
"water",
"lightning",
"psychic",
"fighting",
"darkness",
"metal",
"dragon",
"colorless"
]
},
"description": "Energy Zone types configured for this deck."
}
},
"required": [
"cards",
"energyTypes"
],
"description": "First deck to compare."
},
"deckB": {
"type": "object",
"properties": {
"name": {
"description": "A short label used in the result.",
"type": "string",
"maxLength": 80
},
"cards": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"gameplayCardId": {
"type": "string",
"description": "Gameplay card id, e.g. 'PK_000360'."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "Copies in the deck."
}
},
"required": [
"gameplayCardId",
"count"
]
},
"description": "Exactly 20 total cards, with no more than two copies of one gameplay card."
},
"energyTypes": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"grass",
"fire",
"water",
"lightning",
"psychic",
"fighting",
"darkness",
"metal",
"dragon",
"colorless"
]
},
"description": "Energy Zone types configured for this deck."
}
},
"required": [
"cards",
"energyTypes"
],
"description": "Second deck to compare."
},
"games": {
"description": "Number of simulated games. Defaults to 20; maximum 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"seed": {
"description": "Base random seed. Reusing the same inputs and seed reproduces the result.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"locale": {
"description": "Locale for card names in the sample log. Defaults to 'en'.",
"type": "string"
}
},
"required": [
"deckA",
"deckB"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}