addedInput schema / $schema
Added value: +"http://json-schema.org/draft-07/schema#"
addedInput schema / properties / detail
Added value: +{
+ "description": "How much detail to return: \"compact\" (default) gives conclusions and the numbers needed to reason; \"evidence\" adds ranges, benchmarks and per-row detail; \"debug\" adds provenance and every intermediate. Ask for more only when the reasoning actually needs it — model context is the expensive resource.",
+ "enum": [
+ "compact",
+ "evidence",
+ "debug"
+ ],
+ "type": "string"
+}
addedInput schema / properties / log
Added value: +{
+ "anyOf": [
+ {
+ "description": "The battle log text, exactly as exported (lines beginning with |), e.g. from Showdown or a Champions client export.",
+ "type": "string"
+ },
+ {
+ "description": "The battle log text, exactly as exported (lines beginning with |).",
+ "type": "string"
+ }
+ ]
+}
addedInput schema / properties / mode
Added value: +{
+ "description": "Which operation to run: \"replay\", \"infer\", \"scout\".",
+ "enum": [
+ "replay",
+ "infer",
+ "scout"
+ ],
+ "type": "string"
+}
addedInput schema / properties / observations
Added value: +{
+ "description": "What the player saw, applied in order; later observations narrow earlier results.",
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "kind": {
+ "const": "speed",
+ "type": "string"
+ },
+ "referenceSpeed": {
+ "description": "The Speed of the member it raced against.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "relation": {
+ "description": "\"outsped\" means it moved first; \"outspeeds\" means your member moved first.",
+ "enum": [
+ "outsped",
+ "outspeeds"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "referenceSpeed",
+ "relation"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "const": "damageDealt",
+ "type": "string"
+ },
+ "move": {
+ "description": "The move it used.",
+ "type": "string"
+ },
+ "percent": {
+ "description": "Damage as a percentage of the target’s HP.",
+ "type": "number"
+ },
+ "target": {
+ "properties": {
+ "ability": {
+ "type": "string"
+ },
+ "championsPoints": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "evs": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "item": {
+ "type": "string"
+ },
+ "level": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "nature": {
+ "type": "string"
+ },
+ "species": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "species"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "move",
+ "target",
+ "percent"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "attacker": {
+ "properties": {
+ "ability": {
+ "type": "string"
+ },
+ "championsPoints": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "evs": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "item": {
+ "type": "string"
+ },
+ "level": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "nature": {
+ "type": "string"
+ },
+ "species": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "species"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "damageTaken",
+ "type": "string"
+ },
+ "move": {
+ "description": "The move that hit it.",
+ "type": "string"
+ },
+ "percentTaken": {
+ "description": "Damage it took, as a percentage of its own HP.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "kind",
+ "move",
+ "attacker",
+ "percentTaken"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "ability": {
+ "description": "An ability it is known to have.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "ability",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "ability"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "item": {
+ "description": "An item it is known to hold.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "item",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "item"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / regulation
Added value: +{
+ "anyOf": [
+ {
+ "description": "Regulation id, e.g. \"m-c\"; scopes which curated meta set anchors the prior.",
+ "type": "string"
+ },
+ {
+ "description": "Regulation id, e.g. \"m-c\"; scopes the meta prior for the inference.",
+ "type": "string"
+ }
+ ]
+}
addedInput schema / properties / species
Added value: +{
+ "anyOf": [
+ {
+ "description": "The opponent’s species as observed, e.g. \"Sneasler\", \"Salamence-Mega\"; resolves case- and punctuation-insensitively.",
+ "type": "string"
+ },
+ {
+ "description": "The opponent species to scout, e.g. \"Sneasler\"; must appear on the opposing side of the log.",
+ "type": "string"
+ }
+ ]
+}
addedInput schema / properties / team
Added value: +{
+ "description": "Your team with its real sets — the Speed reference and the attackers’ damage math need them.",
+ "items": {
+ "properties": {
+ "ability": {
+ "description": "Ability, canonical spelling when known.",
+ "type": "string"
+ },
+ "championsPoints": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "Pokémon Champions stat points keyed by stat id, 0-32 each, 66 total; present when the spread was parsed as point-scale — values that all fit 0-32 and total at most 66, or an explicit SP line.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "evs": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "EVs keyed by stat id, 0-252; present when the spread was parsed as EV-scale.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "item": {
+ "description": "Held item, canonical spelling when known.",
+ "type": "string"
+ },
+ "ivs": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "IVs from an IVs line, keyed by stat id.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "level": {
+ "description": "Level when the paste stated one; Champions always plays at 50.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "moves": {
+ "description": "Moves in paste order, canonical spelling when known.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "nature": {
+ "description": "Nature as supplied.",
+ "type": "string"
+ },
+ "species": {
+ "description": "Species as the dataset resolves it, e.g. \"Rotom-Wash\", \"Salamence-Mega\"; the spelling supplied is kept when the species is unknown.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "species"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / required
Added value: +[
+ "mode"
+]