{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "allOf": [
    {
      "else": {
        "properties": {
          "scenario": {
            "properties": {
              "ranges": {
                "items": {
                  "properties": {
                    "combos": {
                      "items": {
                        "properties": {
                          "cards": {
                            "pattern": "^(?:[2-9TJQKA][cdhs]){2}$"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "if": {
        "properties": {
          "scenario": {
            "properties": {
              "gameVariant": {
                "const": "omaha4"
              }
            },
            "required": [
              "gameVariant"
            ]
          }
        },
        "required": [
          "scenario"
        ]
      },
      "then": {
        "properties": {
          "productMetadata": {
            "properties": {
              "omahaSolver": {
                "type": "object"
              }
            },
            "required": [
              "omahaSolver"
            ]
          },
          "scenario": {
            "properties": {
              "bettingStructure": {
                "const": "pot_limit"
              },
              "ranges": {
                "items": {
                  "properties": {
                    "combos": {
                      "items": {
                        "properties": {
                          "cards": {
                            "pattern": "^(?:[2-9TJQKA][cdhs]){4}$"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "required": [
              "bettingStructure"
            ]
          }
        }
      }
    }
  ],
  "definitions": {
    "ActionTreeCapBoundaryAllInMode": {
      "oneOf": [
        {
          "enum": [
            "nextBlockedAggression"
          ],
          "type": "string"
        },
        {
          "enum": [
            "finalAllowedAggression"
          ],
          "type": "string"
        }
      ]
    },
    "ActionTreeConfig": {
      "additionalProperties": false,
      "properties": {
        "newSolutionOptions": {
          "allOf": [
            {
              "$ref": "#/definitions/ActionTreeNewSolutionOptionsConfig"
            }
          ],
          "default": {
            "maxLimps": null
          }
        },
        "populationOptions": {
          "allOf": [
            {
              "$ref": "#/definitions/ActionTreePopulationOptionsConfig"
            }
          ],
          "default": {
            "addAllInPctPotPostflop": 10000.0,
            "addAllInPctPotPreflop": 10000.0,
            "betSizeMergePctPostflop": 5.0,
            "betSizeMergePctPreflop": 5.0,
            "callToAllInThreshold": 0.8,
            "convertCapToAllIn": false,
            "excludedAnteBb": 0.0,
            "forceAllInPctStackPostflop": 80.0,
            "forceAllInPctStackPreflop": 40.0,
            "maxConsecutiveCallsPostflop": 2,
            "maxConsecutiveCallsPreflop": 3,
            "preflopCalls": {}
          }
        },
        "rules": {
          "default": [],
          "description": "Street/position rules defining allowed aggression sizes. Check/call/fold depend on state and population options.",
          "items": {
            "$ref": "#/definitions/ActionTreeRuleConfig"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "ActionTreeNewSolutionOptionsConfig": {
      "additionalProperties": false,
      "properties": {
        "maxLimps": {
          "default": null,
          "description": "Optional maximum number of limps when generating a new preflop tree; examples use 0.",
          "format": "uint",
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "ActionTreePopulationOptionsConfig": {
      "additionalProperties": false,
      "properties": {
        "addAllInPctPotPostflop": {
          "default": 10000.0,
          "description": "Pot-percentage threshold for adding all-in. Examples use 0 to avoid extra all-in sizes.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "addAllInPctPotPreflop": {
          "default": 10000.0,
          "description": "Pot-percentage threshold for adding all-in. Examples use 0 to avoid extra all-in sizes.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "betSizeMergePctPostflop": {
          "default": 5.0,
          "description": "Merge nearby bet sizes within this percentage tolerance; 0 disables merging.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "betSizeMergePctPreflop": {
          "default": 5.0,
          "description": "Merge nearby bet sizes within this percentage tolerance; 0 disables merging.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "callToAllInThreshold": {
          "default": 0.8,
          "description": "Fraction of remaining stack at which a call becomes all-in.",
          "format": "double",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "capBoundaryAllInMode": {
          "allOf": [
            {
              "$ref": "#/definitions/ActionTreeCapBoundaryAllInMode"
            }
          ],
          "description": "New configs should select finalAllowedAggression. Other value exists for older saved setups."
        },
        "convertCapToAllIn": {
          "default": false,
          "description": "Convert the configured finite cap boundary to an all-in.",
          "type": "boolean"
        },
        "excludedAnteBb": {
          "default": 0.0,
          "description": "Ante amount excluded when sizing percentage bets.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "forceAllInPctStackPostflop": {
          "default": 80.0,
          "description": "Stack percentage threshold for converting a size to all-in. Percent units, not a 0..1 fraction.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "forceAllInPctStackPreflop": {
          "default": 40.0,
          "description": "Stack percentage threshold for converting a size to all-in. Percent units, not a 0..1 fraction.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "maxConsecutiveCallsPostflop": {
          "default": 2,
          "description": "Maximum consecutive calls admitted by tree population.",
          "format": "uint",
          "minimum": 0.0,
          "type": "integer"
        },
        "maxConsecutiveCallsPreflop": {
          "default": 3,
          "description": "Maximum consecutive calls admitted by tree population.",
          "format": "uint",
          "minimum": 0.0,
          "type": "integer"
        },
        "preflopCalls": {
          "additionalProperties": {
            "$ref": "#/definitions/PreflopCallAdmissionConfig"
          },
          "default": {},
          "description": "Position-keyed limp/cold-call admission settings; normally omit for starter configs.",
          "type": "object"
        }
      },
      "type": "object"
    },
    "ActionTreePotTypeConfig": {
      "additionalProperties": false,
      "properties": {
        "3BP": {
          "type": "boolean"
        },
        "4BP": {
          "type": "boolean"
        },
        "SRP": {
          "type": "boolean"
        },
        "URP": {
          "type": "boolean"
        }
      },
      "required": [
        "3BP",
        "4BP",
        "SRP",
        "URP"
      ],
      "type": "object"
    },
    "ActionTreePreflopContext": {
      "enum": [
        "rfi",
        "isolation",
        "limp_reraise"
      ],
      "type": "string"
    },
    "ActionTreeRuleConfig": {
      "additionalProperties": false,
      "properties": {
        "betActions": {
          "default": [],
          "description": "Aggression-size rows, NOT streets. Postflop: bet/raise/reraise/third-and-later raise. Preflop: unused/open raise/3bet/4bet. Empty rows offer no sizes.",
          "items": {
            "items": {
              "$ref": "#/definitions/ActionTreeSizeConfig"
            },
            "type": "array"
          },
          "type": "array"
        },
        "cap": {
          "default": 0,
          "description": "0 means no extra cap. Postflop cap 1 admits only the opening bet; preflop cap 2 admits only the opening raise.",
          "format": "uint",
          "minimum": 0.0,
          "type": "integer"
        },
        "cold4betSizes": {
          "default": null,
          "description": "Optional cold four-bet sizes.",
          "items": {
            "$ref": "#/definitions/ActionTreeSizeConfig"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "donkSizes": {
          "default": null,
          "description": "Optional lead sizes into the preceding street aggressor.",
          "items": {
            "$ref": "#/definitions/ActionTreeSizeConfig"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "isolationSizes": {
          "default": null,
          "description": "Optional opening sizes after a limp.",
          "items": {
            "$ref": "#/definitions/ActionTreeSizeConfig"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "playerCount": {
          "default": null,
          "description": "0/null/omitted for any number of players; otherwise restrict rule to that count.",
          "format": "uint8",
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        },
        "positions": {
          "description": "Exactly 10 flags: bu,co,mp,ep,u3,u2,u1,reserved,bb,sb. All true selects every position.",
          "items": {
            "type": "boolean"
          },
          "maxItems": 10,
          "minItems": 10,
          "type": "array"
        },
        "potType": {
          "anyOf": [
            {
              "$ref": "#/definitions/ActionTreePotTypeConfig"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Pot contexts: URP unraised, SRP single-raised, 3BP three-bet, 4BP four-bet or more."
        },
        "relativePosition": {
          "default": null,
          "description": "null/omitted for any; 0 IP, 1 OOP.",
          "format": "uint8",
          "maximum": 1,
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        },
        "squeezeSizes": {
          "default": null,
          "description": "Optional three-bet sizes after a raise and call.",
          "items": {
            "$ref": "#/definitions/ActionTreeSizeConfig"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "streets": {
          "description": "Exactly 4 flags: preflop, flop, turn, river.",
          "items": {
            "type": "boolean"
          },
          "maxItems": 4,
          "minItems": 4,
          "type": "array"
        }
      },
      "required": [
        "positions",
        "streets"
      ],
      "type": "object"
    },
    "ActionTreeSizeConfig": {
      "additionalProperties": false,
      "properties": {
        "facingPositions": {
          "default": [],
          "description": "Empty or 10 position flags in the same order as rule.positions.",
          "items": {
            "type": "boolean"
          },
          "type": "array"
        },
        "firstLimperPositions": {
          "description": "Isolation only: empty or 10 flags selecting the first voluntary limper.",
          "items": {
            "type": "boolean"
          },
          "type": "array"
        },
        "perCaller": {
          "default": null,
          "description": "Optional additional sizing per caller. Use a size compatible with the base size; omit for fixed sizes.",
          "type": [
            "string",
            "null"
          ]
        },
        "preflopContext": {
          "anyOf": [
            {
              "$ref": "#/definitions/ActionTreePreflopContext"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional opening-raise, isolation or limp-reraise scope."
        },
        "relativePosition": {
          "default": null,
          "description": "null/omitted any; 0 IP, 1 OOP.",
          "format": "uint8",
          "maximum": 1,
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        },
        "size": {
          "description": "Integer pot percent (50%), total street BB target (2.5bb), raise multiplier (3x), geometric streets (2e), Min or All-in. Legal stack/pot limits apply.",
          "examples": [
            "50%",
            "2.5bb",
            "3x",
            "2e",
            "Min",
            "All-in"
          ],
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "size"
      ],
      "type": "object"
    },
    "BettingStructure": {
      "enum": [
        "no_limit",
        "pot_limit",
        "pot_fold"
      ],
      "type": "string"
    },
    "GameVariant": {
      "enum": [
        "holdem",
        "omaha4"
      ],
      "type": "string"
    },
    "OmahaPrivateBuckets": {
      "additionalProperties": false,
      "description": "Private bucket counts for flop, turn and river. Starter examples use 30 on each street.",
      "properties": {
        "flop": {
          "format": "uint32",
          "minimum": 0.0,
          "type": "integer"
        },
        "river": {
          "format": "uint32",
          "minimum": 0.0,
          "type": "integer"
        },
        "turn": {
          "format": "uint32",
          "minimum": 0.0,
          "type": "integer"
        }
      },
      "required": [
        "flop",
        "river",
        "turn"
      ],
      "type": "object"
    },
    "OmahaRiverSetting": {
      "enum": [
        "none",
        "small",
        "large"
      ],
      "type": "string"
    },
    "OmahaSolveOptions": {
      "additionalProperties": false,
      "properties": {
        "solver": {
          "$ref": "#/definitions/OmahaSolverKind"
        }
      },
      "required": [
        "solver"
      ],
      "type": "object"
    },
    "OmahaSolverKind": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "postflop"
              ],
              "type": "string"
            },
            "privateBuckets": {
              "$ref": "#/definitions/OmahaPrivateBuckets"
            }
          },
          "required": [
            "kind",
            "privateBuckets"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "preflop"
              ],
              "type": "string"
            },
            "privateBuckets": {
              "$ref": "#/definitions/OmahaPrivateBuckets"
            },
            "river": {
              "$ref": "#/definitions/OmahaRiverSetting"
            },
            "turn": {
              "$ref": "#/definitions/OmahaTurnSetting"
            }
          },
          "required": [
            "kind",
            "privateBuckets",
            "river",
            "turn"
          ],
          "type": "object"
        }
      ]
    },
    "OmahaTurnSetting": {
      "enum": [
        "none",
        "small",
        "medium",
        "large",
        "perfect"
      ],
      "type": "string"
    },
    "PayoffConfig": {
      "additionalProperties": false,
      "properties": {
        "rake": {
          "allOf": [
            {
              "$ref": "#/definitions/RakeConfig"
            }
          ],
          "default": {
            "cap": null,
            "rate": 0.0
          }
        },
        "sevenTwoBounty": {
          "anyOf": [
            {
              "$ref": "#/definitions/SevenTwoBountyConfig"
            },
            {
              "type": "null"
            }
          ]
        },
        "winnerMatrix": {
          "default": null,
          "description": "Optional per-winner/per-player utility transfer matrix; omit for normal chip EV.",
          "items": {
            "items": {
              "format": "double",
              "type": "number"
            },
            "type": "array"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "PlayerConfig": {
      "additionalProperties": false,
      "properties": {
        "ante": {
          "default": null,
          "description": "Dead forced root contribution, deducted from stack; does not reduce the amount to call.",
          "format": "double",
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "blind": {
          "default": null,
          "description": "Live forced root contribution, deducted from stack and included in the pot. Use 0 postflop.",
          "format": "double",
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "label": {
          "description": "Seat label shown in readouts.",
          "type": "string"
        },
        "position": {
          "default": null,
          "description": "Position code: bu (button), co, mp, ep, u3, u2, u1, bb or sb. Omit to use seat-based defaults.",
          "type": [
            "string",
            "null"
          ]
        },
        "stack": {
          "description": "Root stack including this seat's root blind and ante. Postflop: remaining stack and zero root posts. BB when big_blind=1.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "label",
        "stack"
      ],
      "type": "object"
    },
    "PreflopCallAdmissionConfig": {
      "additionalProperties": false,
      "properties": {
        "coldCall2Bet": {
          "default": [],
          "items": {
            "type": "boolean"
          },
          "type": "array"
        },
        "coldCall3BetPlus": {
          "default": [],
          "items": {
            "type": "boolean"
          },
          "type": "array"
        },
        "limp": {
          "default": [],
          "items": {
            "type": "boolean"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "RakeConfig": {
      "additionalProperties": false,
      "properties": {
        "cap": {
          "default": null,
          "description": "Optional rake cap in BB. Zero disables rake.",
          "format": "double",
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "policy": {
          "allOf": [
            {
              "$ref": "#/definitions/RakePolicy"
            }
          ],
          "description": "Rake admission policy; supported modes depend on the selected solver."
        },
        "rate": {
          "default": 0.0,
          "description": "Fraction of pot, e.g. 0.05 for 5%.",
          "format": "double",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "RakePolicy": {
      "enum": [
        "showdown",
        "no_flop_no_drop",
        "gg_network",
        "full"
      ],
      "type": "string"
    },
    "RangeConfig": {
      "additionalProperties": false,
      "anyOf": [
        {
          "properties": {
            "uniform_all": {
              "const": true
            }
          },
          "required": [
            "uniform_all"
          ]
        },
        {
          "properties": {
            "combos": {
              "contains": {
                "properties": {
                  "weight": {
                    "exclusiveMinimum": 0
                  }
                },
                "required": [
                  "weight"
                ]
              },
              "minItems": 1
            }
          },
          "required": [
            "combos"
          ]
        }
      ],
      "description": "Exactly specified private-card weights or the full legal range. uniform_all=true ignores combos.",
      "properties": {
        "combos": {
          "default": [],
          "description": "Exact combos only, not AA/AKs/22+ shorthand. Use distinct hands; weights are 0..1.",
          "items": {
            "$ref": "#/definitions/WeightedCombo"
          },
          "type": "array"
        },
        "uniform_all": {
          "default": false,
          "description": "true assigns every legal combo weight 1 and ignores combos. Otherwise supply combos.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ScenarioConfig": {
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "street": {
                "const": "preflop"
              }
            },
            "required": [
              "street"
            ]
          },
          "then": {
            "properties": {
              "board": {
                "maxItems": 0,
                "minItems": 0
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "street": {
                "const": "flop"
              }
            },
            "required": [
              "street"
            ]
          },
          "then": {
            "properties": {
              "board": {
                "maxItems": 3,
                "minItems": 3
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "street": {
                "const": "turn"
              }
            },
            "required": [
              "street"
            ]
          },
          "then": {
            "properties": {
              "board": {
                "maxItems": 4,
                "minItems": 4
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "street": {
                "const": "river"
              }
            },
            "required": [
              "street"
            ]
          },
          "then": {
            "properties": {
              "board": {
                "maxItems": 5,
                "minItems": 5
              }
            }
          }
        }
      ],
      "description": "Poker setup. Player and range indexes correspond. Use big_blind=1 for BB-denominated amounts.",
      "properties": {
        "actionTree": {
          "anyOf": [
            {
              "$ref": "#/definitions/ActionTreeConfig"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Explicit betting rules. Include intended postflop continuation for a preflop solve. Cannot be combined with additions."
        },
        "bettingStructure": {
          "$ref": "#/definitions/BettingStructure",
          "description": "no_limit for ordinary NLH; pot_limit is required for PLO. pot_fold is a specialized flop-only fixed-action game."
        },
        "big_blind": {
          "description": "Big blind in the same amount units as stacks and pot. Keep 1.0 for standard BB inputs. Rounded to 0.01.",
          "examples": [
            1.0
          ],
          "format": "double",
          "minimum": 0.01,
          "type": "number"
        },
        "board": {
          "description": "Distinct two-character cards. Length: preflop 0, flop 3, turn 4, river 5.",
          "items": {
            "pattern": "^[2-9TJQKA][cdhs]$",
            "type": "string"
          },
          "maxItems": 5,
          "type": "array",
          "uniqueItems": true
        },
        "dead_money": {
          "description": "Existing root pot, excluding the forced posts listed on players. In BB when big_blind=1.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "first_player": {
          "default": null,
          "description": "Zero-based player index acting first at the root; must be less than players.length. Omit to use normal position order.",
          "format": "uint",
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        },
        "gameVariant": {
          "$ref": "#/definitions/GameVariant",
          "description": "holdem for NLH (default), omaha4 for four-card PLO. Select matching --solver before the command."
        },
        "name": {
          "description": "Scenario name; --name sets the display name.",
          "minLength": 1,
          "type": "string"
        },
        "payoff": {
          "allOf": [
            {
              "$ref": "#/definitions/PayoffConfig"
            }
          ],
          "default": {
            "rake": {
              "cap": null,
              "rate": 0.0
            },
            "winnerMatrix": null
          }
        },
        "players": {
          "description": "2 to 9 seats in action order. ranges must have the same length.",
          "items": {
            "$ref": "#/definitions/PlayerConfig"
          },
          "maxItems": 9,
          "minItems": 2,
          "type": "array"
        },
        "ranges": {
          "description": "One range for each player, in matching order. Each must retain legal hands.",
          "items": {
            "$ref": "#/definitions/RangeConfig"
          },
          "maxItems": 9,
          "minItems": 2,
          "type": "array"
        },
        "saveEv": {
          "default": [],
          "description": "Street EV storage flags: preflop, flop, turn, river. Positive enables, 0 disables. Use [1000,1000,1000,1000] to retain all streets.",
          "examples": [
            [
              1000,
              1000,
              1000,
              1000
            ]
          ],
          "items": {
            "format": "int32",
            "type": "integer"
          },
          "maxItems": 4,
          "type": "array"
        },
        "saveStrategy": {
          "default": null,
          "description": "Exactly four booleans in preflop/flop/turn/river order. Omitted/null defaults to all true.",
          "items": {
            "type": "boolean"
          },
          "maxItems": 4,
          "minItems": 4,
          "type": [
            "array",
            "null"
          ]
        },
        "street": {
          "$ref": "#/definitions/Street",
          "description": "Starting street; board length must be 0, 3, 4 or 5 respectively."
        },
        "training": {
          "$ref": "#/definitions/TrainingConfig"
        }
      },
      "required": [
        "big_blind",
        "board",
        "dead_money",
        "name",
        "players",
        "ranges",
        "street",
        "training"
      ],
      "type": "object"
    },
    "SevenTwoBountyConfig": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "BB paid by each other seat for a unique main-pot win with 72o. NLH only.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "tablePlayers": {
          "format": "uint",
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "amount"
      ],
      "type": "object"
    },
    "SolveProductMetadata": {
      "additionalProperties": false,
      "properties": {
        "omahaSolver": {
          "anyOf": [
            {
              "$ref": "#/definitions/OmahaSolveOptions"
            },
            {
              "type": "null"
            }
          ],
          "description": "Required for PLO. Match kind to starting street and include privateBuckets."
        }
      },
      "type": "object"
    },
    "Street": {
      "enum": [
        "preflop",
        "flop",
        "turn",
        "river"
      ],
      "type": "string"
    },
    "TrainingConfig": {
      "additionalProperties": false,
      "properties": {
        "iterations": {
          "description": "Required stored training setting. CLI create --iterations controls actual initial work and defaults to 0; run requires --iterations or --add.",
          "format": "uint",
          "minimum": 0.0,
          "type": "integer"
        },
        "seed": {
          "description": "Unsigned random seed. Use an integer; multithreaded runs need not be bit-for-bit deterministic.",
          "format": "uint64",
          "minimum": 0.0,
          "type": "integer"
        },
        "targetAverageVpip": {
          "description": "Optional preflop-only target VPIP fraction, not a percentage.",
          "format": "double",
          "maximum": 1,
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "threadCount": {
          "default": null,
          "description": "CPU thread count, default 1. Must be positive.",
          "format": "uint",
          "minimum": 1,
          "type": [
            "integer",
            "null"
          ]
        },
        "eval_samples": {
          "default": null,
          "description": "Optional evaluation sample count; examples use 0. Does not replace a run iteration target.",
          "format": "uint",
          "minimum": 0.0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "iterations",
        "seed"
      ],
      "type": "object"
    },
    "WeightedCombo": {
      "additionalProperties": false,
      "properties": {
        "cards": {
          "description": "Concatenated exact cards: 2 for NLH (AsKh), 4 for PLO (AsKhQcTd). No repeated cards within a hand.",
          "examples": [
            "AsKh",
            "AsKhQcTd"
          ],
          "pattern": "^(?:[2-9TJQKA][cdhs]){2}(?:(?:[2-9TJQKA][cdhs]){2})?$",
          "type": "string"
        },
        "weight": {
          "description": "Frequency from 0 to 1, not a percentage. Board-blocked hands cannot participate.",
          "format": "double",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "cards",
        "weight"
      ],
      "type": "object"
    }
  },
  "description": "Starter schema for the settings used in the manual examples. Run squid config schema for all settings accepted by your installed version. Check each setup with solve estimate.",
  "properties": {
    "id": {
      "default": null,
      "description": "Optional new solve id; --id overrides it. Use a new id, not an existing solve.",
      "minLength": 1,
      "pattern": "^[A-Za-z0-9_-]+$",
      "type": [
        "string",
        "null"
      ]
    },
    "productMetadata": {
      "$ref": "#/definitions/SolveProductMetadata",
      "description": "Use {} for ordinary NLH. For PLO, use the omahaSolver settings from the PLO example."
    },
    "scenario": {
      "$ref": "#/definitions/ScenarioConfig"
    }
  },
  "required": [
    "productMetadata",
    "scenario"
  ],
  "title": "SquidSolver Pro 2.1.1 starter configuration",
  "type": "object"
}
