{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dummynation.ahfgames.com/scripting/scripts.schema.json",
  "title": "Dummynation scripts",
  "description": "Scripts are event-driven rules for Dummynation scenarios and mods. Each script waits for a trigger (an event such as a new game starting or a war being declared), checks a condition, and runs a list of actions. Functions are reusable calculations that scripts call.\n\nThis schema describes the scripts.json file saved with a custom scenario, and everything inside it: scripts, functions, typed values, conditions, actions, and the full catalogs of commands, expression methods and triggers. The same definitions appear in the SCRIPT, SCRIPT_SOURCE and SCRIPT_FUNCTION roots of a scenario patch (see $defs/scriptPatch).\n\nThe in-game script editor reads and writes this format, so building a script there and inspecting the saved file is the quickest way to learn it. Saved files keep scripts in the compact source format (the source property) and functions as JSON. Both forms describe the same tree, and either is accepted when loading.",
  "$comment": "Generated by ScriptSchemaExport from the game's script catalogs (engine version 32). Regenerate it instead of editing it by hand.",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string",
      "description": "Optional link to this schema, so editors such as Visual Studio Code offer completion and validation."
    },
    "source": {
      "$ref": "#/$defs/compactSources",
      "description": "Scripts in compact source form. This is how the game saves them."
    },
    "sources": {
      "$ref": "#/$defs/compactSources",
      "description": "Additional compact source modules, loaded after source."
    },
    "scripts": {
      "type": "array",
      "description": "Scripts as JSON trees. Each one replaces any script with the same id read before it.",
      "items": {
        "$ref": "#/$defs/script"
      }
    },
    "functions": {
      "type": "array",
      "description": "Reusable functions. Their ids must be unique.",
      "items": {
        "$ref": "#/$defs/function"
      }
    },
    "state": {
      "$ref": "#/$defs/runtimeState",
      "description": "Saved runtime state, written by the game. Leave it out when authoring a scenario."
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "scripts": [
        {
          "id": "welcome",
          "trigger": "GAME_STARTED",
          "runPolicy": "ONCE",
          "actions": [
            {
              "kind": "MESSAGE",
              "text": "{\"en\":\"Welcome, commander.\",\"es\":\"Bienvenido, comandante.\"}"
            }
          ]
        },
        {
          "id": "reward_growth",
          "trigger": "COUNTRY_DAILY_UPDATE",
          "cooldownDays": 30,
          "condition": {
            "kind": "VALUE",
            "left": {
              "kind": "CALL",
              "type": "BOOLEAN",
              "value": "is_large",
              "args": [
                {
                  "kind": "PARAM",
                  "type": "COUNTRY",
                  "param": "COUNTRY"
                }
              ]
            }
          },
          "actions": [
            {
              "kind": "COMMAND",
              "command": {
                "id": "country.modify_data",
                "values": {
                  "country": {
                    "kind": "PARAM",
                    "type": "COUNTRY",
                    "param": "COUNTRY"
                  },
                  "field": {
                    "kind": "CONSTANT",
                    "type": "STRING",
                    "value": "money"
                  },
                  "operation": {
                    "kind": "CONSTANT",
                    "type": "STRING",
                    "value": "ADD"
                  },
                  "amount": {
                    "kind": "CONSTANT",
                    "type": "NUMBER",
                    "value": "1000"
                  }
                }
              }
            }
          ]
        }
      ],
      "functions": [
        {
          "id": "is_large",
          "returnType": "BOOLEAN",
          "parameters": [
            {
              "name": "country",
              "type": "COUNTRY"
            }
          ],
          "condition": {
            "kind": "VALUE",
            "left": {
              "kind": "CALL",
              "type": "BOOLEAN",
              "value": "number.greater_equal",
              "args": [
                {
                  "kind": "CALL",
                  "type": "NUMBER",
                  "value": "country.population",
                  "args": [
                    {
                      "kind": "VARIABLE",
                      "type": "COUNTRY",
                      "value": "country"
                    }
                  ]
                },
                {
                  "kind": "CONSTANT",
                  "type": "NUMBER",
                  "value": "50000000"
                }
              ]
            }
          }
        }
      ]
    }
  ],
  "$defs": {
    "compactSource": {
      "type": "string",
      "title": "Compact script source",
      "description": "One or more scripts written as typed S-expressions, the format the game uses to save scripts. It maps one-to-one to the JSON tree but is much shorter.\n\nDocument: (dscript 1 SCRIPT...). The (dscript 1 ...) wrapper with format version 1 is recommended; a plain sequence of (script ...) forms is also accepted. Whitespace is free, // starts a comment that runs to the end of the line, and atoms are either bare words without spaces or parentheses, or JSON-style quoted strings (\"...\" with \\\" \\\\ \\n \\t \\uXXXX escapes). A lone - means \"none\" wherever an optional part is allowed.\n\nScript: (script ID ENABLED TRIGGER RUN_POLICY COOLDOWN_DAYS MAX_RUNS [DEFS] CONDITION ACTION...). ENABLED is 1/0 or true/false, RUN_POLICY is REPEAT or ONCE, and the two numbers are whole days and runs (0 = no limit).\n\nDefinitions: (defs (NAME TYPE LITERAL)...) right after MAX_RUNS declares constants that the script reuses with (@ NAME) or (ref NAME), useful for long texts or point lists.\n\nTypes are lowercase value type names (country, number, point...) plus the short forms bool, num, str, effect (CUSTOM_EFFECT), effect_instance (CUSTOM_EFFECT_INSTANCE), points (LIST of POINT) and list.TYPE for other lists.\n\nValues: (TYPE LITERAL) or (const TYPE LITERAL) for constants; (param TYPE NAME) for trigger parameters; (var TYPE NAME) for local variables; (shared TYPE NAME) for shared variables; (registry TYPE NAME) for registries; (engine TYPE ID) for engine values; (call TYPE METHOD_OR_FUNCTION_ID ARG...) for method and function calls; (query OPERATION VARIABLE COLLECTION CONDITION MAP) for collection queries, with - for an unused variable or map; (points \"x,y;x,y\") or (path64 PAYLOAD) for point lists, where path64 is an encoded form the game writes for long integer paths.\n\nConditions: true; (? BOOLEAN_VALUE) to test a value; (! CONDITION) for NOT; (& CONDITION...) for AND, (| CONDITION...) for OR and (^ CONDITION...) for XOR; (every VARIABLE COLLECTION CONDITION...) and (any VARIABLE COLLECTION CONDITION...); (count VARIABLE COLLECTION TEST CONDITION...), where TEST is a BOOLEAN value that can read the local variable count. Any condition may end with (do ACTION...) setup statements, which run before it is evaluated.\n\nActions: (noop); (patch TEXT); (message TEXT), (warn TEXT) and (alert TEXT); (let NAME VALUE) for a local variable; (global NAME VALUE) for a shared variable; (store OPERATION REGISTRY KEY VALUE) with set, append, remove or clear; (if CONDITION ACTION...); (each VARIABLE COLLECTION ACTION...); and (cmd COMMAND_ID ENTRY...).\n\nCommand entries: (arg FIELD VALUE) for each field; (land KIND VALUE SOURCE OWNER_FILTER) for land selections, using - for parts that are not needed; (stroke X Y SIZE HARDNESS NOISE OPERATION VALUE MIDDLE WEAK) for the paint strokes of map.paint_* commands.\n\n(match-data ID INDEX) is reserved for values that servers supply to online matches.\n\nLoading reports errors with their line and column. Each script fully replaces the script with the same id; its run count and cooldown are kept.",
      "minLength": 1,
      "examples": [
        "(dscript 1 (script welcome 1 GAME_STARTED ONCE 0 1 true (message \"Welcome to the scenario.\")))",
        "(dscript 1\n  // Reward large countries once a month.\n  (script reward_growth 1 COUNTRY_DAILY_UPDATE REPEAT 30 0\n    (? (call bool number.greater_equal (call num country.population (param country COUNTRY)) (num 50000000)))\n    (cmd country.modify_data (arg country (param country COUNTRY)) (arg field (str money)) (arg operation (str ADD)) (arg amount (num 1000)))))",
        "(dscript 1 (script route 1 GAME_STARTED ONCE 0 1 true (cmd map.render_path (arg path (points \"120,90;160,105;220,92\")) (arg width (num 3)) (arg color (color ffffffc0)) (arg mode (str geometry)) (arg smooth (bool true)))))"
      ]
    },
    "compactSources": {
      "description": "Compact source given as one string, a list of strings, or an object whose string values (normally under $add) are loaded in order.",
      "anyOf": [
        {
          "$ref": "#/$defs/compactSource"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/compactSource"
          }
        },
        {
          "type": "object",
          "properties": {
            "$add": {
              "anyOf": [
                {
                  "$ref": "#/$defs/compactSource"
                },
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/compactSource"
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/$defs/compactSource"
                  }
                }
              ]
            }
          },
          "additionalProperties": {
            "$ref": "#/$defs/compactSource"
          }
        }
      ]
    },
    "scriptPatch": {
      "type": "object",
      "title": "Scripting roots of a scenario patch",
      "description": "A scenario patch is a JSON object whose roots edit different parts of a scenario. These three roots edit scripts; other roots are ignored by this schema. Roots are applied in this order: SCRIPT_FUNCTION, SCRIPT_SOURCE, SCRIPT.",
      "properties": {
        "SCRIPT": {
          "$ref": "#/$defs/scriptPatchRoot"
        },
        "SCRIPT_SOURCE": {
          "$ref": "#/$defs/compactSources",
          "description": "Adds or replaces complete scripts written in compact source. Each script replaces the one with the same id as a whole; there are no partial edits in this form."
        },
        "SCRIPT_FUNCTION": {
          "$ref": "#/$defs/functionPatchRoot"
        }
      },
      "examples": [
        {
          "SCRIPT": {
            "welcome": {
              "trigger": "GAME_STARTED",
              "runPolicy": "ONCE",
              "actions": [
                {
                  "kind": "MESSAGE",
                  "text": "Welcome to the scenario."
                }
              ]
            },
            "old_rule": null
          }
        },
        {
          "SCRIPT_SOURCE": "(dscript 1 (script welcome 1 GAME_STARTED ONCE 0 1 true (message \"Welcome to the scenario.\")))"
        }
      ]
    },
    "scriptPatchRoot": {
      "type": "object",
      "description": "SCRIPT edits scripts by id. Each property name is an id: an object edits that script (creating it if needed), and null or false removes it. Edits are partial: fields you leave out keep their current values, unless the entry sets $replace to true.",
      "properties": {
        "$add": {
          "description": "More scripts to add or edit: a list of definitions with an id, or an object keyed by id.",
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/script"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/$defs/scriptPatchEntry"
              }
            }
          ]
        },
        "$remove": {
          "description": "Ids of scripts to remove.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "$clear": {
          "type": "boolean",
          "description": "true removes every existing script before the other edits."
        }
      },
      "additionalProperties": {
        "anyOf": [
          {
            "$ref": "#/$defs/scriptPatchEntry"
          },
          {
            "type": "null"
          },
          {
            "const": false
          }
        ]
      }
    },
    "scriptPatchEntry": {
      "type": "object",
      "description": "Partial script edit. Only the fields present are changed.",
      "$ref": "#/$defs/scriptBody",
      "properties": {
        "id": {
          "type": "string",
          "description": "Renames the script."
        },
        "$replace": {
          "type": "boolean",
          "description": "true replaces the whole definition, so omitted fields return to their defaults."
        },
        "$remove": {
          "type": "boolean",
          "description": "true removes the script."
        },
        "$delete": {
          "type": "boolean",
          "description": "Same as $remove."
        }
      },
      "unevaluatedProperties": false
    },
    "functionPatchRoot": {
      "type": "object",
      "description": "SCRIPT_FUNCTION edits functions by id. Each property name is an id: an object edits that function (creating it if needed), and null or false removes it. Edits are partial: fields you leave out keep their current values, unless the entry sets $replace to true.",
      "properties": {
        "$add": {
          "description": "More functions to add or edit: a list of definitions with an id, or an object keyed by id.",
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/function"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/$defs/functionPatchEntry"
              }
            }
          ]
        },
        "$remove": {
          "description": "Ids of functions to remove.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "$clear": {
          "type": "boolean",
          "description": "true removes every existing function before the other edits."
        }
      },
      "additionalProperties": {
        "anyOf": [
          {
            "$ref": "#/$defs/functionPatchEntry"
          },
          {
            "type": "null"
          },
          {
            "const": false
          }
        ]
      }
    },
    "functionPatchEntry": {
      "type": "object",
      "description": "Partial function edit. Only the fields present are changed.",
      "$ref": "#/$defs/functionBody",
      "properties": {
        "id": {
          "type": "string",
          "description": "Renames the function."
        },
        "$replace": {
          "type": "boolean",
          "description": "true replaces the whole definition, so omitted fields return to their defaults."
        },
        "$remove": {
          "type": "boolean",
          "description": "true removes the function."
        },
        "$delete": {
          "type": "boolean",
          "description": "Same as $remove."
        }
      },
      "unevaluatedProperties": false
    },
    "script": {
      "type": "object",
      "title": "Script",
      "description": "A rule: when TRIGGER fires and CONDITION passes, run ACTIONS in order. Omitted fields use their defaults.",
      "$ref": "#/$defs/scriptBody",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "Unique script id. Commands such as script.set_enabled refer to it."
        }
      },
      "required": ["id"],
      "unevaluatedProperties": false
    },
    "scriptBody": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "default": true,
          "description": "Disabled scripts never run. Disabling a script also removes the map overlays it drew."
        },
        "trigger": {
          "$ref": "#/$defs/trigger",
          "description": "The event that starts this script. It decides which trigger parameters (PARAM values) are available. Default: DAILY_UPDATE."
        },
        "runPolicy": {
          "$ref": "#/$defs/runPolicy",
          "default": "REPEAT"
        },
        "cooldownDays": {
          "type": "integer",
          "minimum": 0,
          "default": 0,
          "description": "Minimum game days between two successful runs. 0 means no cooldown. Like runPolicy and maxRuns, it counts all runs of the script together, not per country: use a registry keyed by country for per-country limits."
        },
        "maxRuns": {
          "type": "integer",
          "minimum": 0,
          "default": 0,
          "description": "Maximum number of successful runs. 0 means unlimited."
        },
        "condition": {
          "description": "Checked each time the trigger fires; the actions run only when it passes. Omit it (or use null in a patch) to always pass.",
          "anyOf": [
            {
              "$ref": "#/$defs/condition"
            },
            {
              "type": "null"
            }
          ]
        },
        "actions": {
          "type": "array",
          "description": "Actions run from first to last. Later actions can use variables and objects created by earlier ones.",
          "items": {
            "$ref": "#/$defs/action"
          }
        }
      }
    },
    "runPolicy": {
      "description": "REPEAT allows any number of runs (subject to cooldownDays and maxRuns); ONCE allows one successful run in total.",
      "oneOf": [
        {
          "const": "REPEAT",
          "description": "Run every time the trigger fires and the condition passes."
        },
        {
          "const": "ONCE",
          "description": "Run only the first time the condition passes."
        }
      ]
    },
    "function": {
      "type": "object",
      "title": "Function",
      "description": "A reusable calculation with typed parameters and a typed result. Call it from any value with {\"kind\":\"CALL\",\"value\":\"FUNCTION_ID\",\"args\":[...]}, passing arguments in parameter order. Functions have no trigger and cannot call themselves, directly or indirectly.",
      "$ref": "#/$defs/functionBody",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "Unique function id, used as the value of CALL nodes. Choose ids that do not clash with built-in method ids."
        }
      },
      "required": ["id"],
      "unevaluatedProperties": false
    },
    "functionBody": {
      "type": "object",
      "properties": {
        "returnType": {
          "$ref": "#/$defs/valueType",
          "description": "Type of the result. Default: BOOLEAN. BOOLEAN functions return their condition; every other type returns value."
        },
        "returnElementType": {
          "$ref": "#/$defs/valueType",
          "description": "Item type of the result when returnType is LIST."
        },
        "parameters": {
          "type": "array",
          "description": "Inputs, in call order. Inside the function each parameter is a local variable: read it with {\"kind\":\"VARIABLE\",\"value\":\"NAME\"}.",
          "items": {
            "$ref": "#/$defs/functionParameter"
          }
        },
        "actions": {
          "type": "array",
          "description": "Setup statements run before the result is computed, for example to store intermediate local variables. They must not change the game: functions are calculations.",
          "items": {
            "$ref": "#/$defs/action"
          }
        },
        "condition": {
          "$ref": "#/$defs/condition",
          "description": "Result of a BOOLEAN function. Omit it to return true."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "Result of a function whose returnType is not BOOLEAN. Its type must match returnType."
        }
      }
    },
    "functionParameter": {
      "type": "object",
      "description": "One function input.",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "Parameter name. It becomes a local variable inside the function."
        },
        "type": {
          "$ref": "#/$defs/valueType",
          "description": "Parameter type."
        },
        "elementType": {
          "$ref": "#/$defs/valueType",
          "description": "Item type when type is LIST."
        },
        "param": {
          "type": "string",
          "description": "Internal link to a trigger parameter. Not used by functions."
        }
      },
      "required": ["name"],
      "additionalProperties": false
    },
    "valueType": {
      "title": "Value type",
      "description": "Every value has a type. Commands, method arguments and function parameters declare the type they expect, and the editor and validator check that values match.",
      "oneOf": [
        {
          "const": "ANY",
          "description": "Any type. Used by fields and parameters that accept every kind of value, such as a restart key. Values should declare their real type."
        },
        {
          "const": "BOOLEAN",
          "description": "true or false. Constant: \"true\" or \"false\"."
        },
        {
          "const": "NUMBER",
          "description": "A decimal number. Constant: numeric text such as \"12\", \"-0.5\" or \"1e6\"; text that is not a number reads as 0."
        },
        {
          "const": "STRING",
          "description": "Text. Text shown to players accepts placeholders and localized language maps (see textTemplate)."
        },
        {
          "const": "COLOR",
          "description": "An RGBA color. Constant: hexadecimal RRGGBB or RRGGBBAA (alpha last), with or without #, or the name of a skin color. Invalid text reads as white."
        },
        {
          "const": "COUNTRY",
          "description": "A country. Constant: the country key (for example United_States_of_America), its numeric index, the code or name of a country in the scenario, null/none/water (no country) or uninhabitable."
        },
        {
          "const": "COUNTRY_CLAIMS",
          "description": "Claims. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "POINT",
          "description": "A map position, in cells. Constant: \"x,y\". Whole numbers select the center of a cell; decimals such as \"120.25,90.75\" select an exact position."
        },
        {
          "const": "LAND_COVER",
          "description": "A land cover (terrain) type. Constant, case-insensitive: Broadleaf_Evergreen_Forest, Broadleaf_Deciduous_Forest, Needleleaf_Evergreen_Forest, Needleleaf_Deciduous_Forest, Mixed_Forest, Tree_Open, Shrub, Herbaceous, Herbaceous_with_Sparse_Tree__Shrub, Sparse_vegetation, Cropland, Paddy_field, Cropland__Other_Vegetation_Mosaic, Mangrove, Wetland, Bare_area_consolidated, Bare_area_unconsolidated, Urban, Snow__Ice, Water_bodies, Unnavigable, Wasteland, Sea_Ice."
        },
        {
          "const": "SQUAD",
          "description": "A squad (army). Constant: the squad's numeric id, which only exists in a running game: squads normally come from trigger parameters, methods and queries."
        },
        {
          "const": "SQUAD_TYPE",
          "description": "A squad type. Constant, case-insensitive: MILITIA, CONTROLLABLE, GUARD, TRAINABLE, ALL."
        },
        {
          "const": "SQUAD_TASK",
          "description": "The kind of task a squad performs. Constant, case-insensitive: ATTACK, DEFEND, RETREAT, PATROL, GOTO, NONE."
        },
        {
          "const": "AI_TYPE",
          "description": "An AI personality. Constant, case-insensitive: IMPERIALIST, AGGRESSIVE, DEFENSIVE, PEACEFUL."
        },
        {
          "const": "UNIT",
          "description": "A unit type. Constant: the unit id."
        },
        {
          "const": "TECHNOLOGY",
          "description": "A technology. Constant: the technology id."
        },
        {
          "const": "RESEARCH",
          "description": "A research branch. Constant: the research id."
        },
        {
          "const": "TECH_SCHOOL",
          "description": "A technology school. Constant, case-insensitive: MILITARY, ECONOMIC, SOCIAL."
        },
        {
          "const": "AOE",
          "description": "An area effect. Constant: the area effect id."
        },
        {
          "const": "AOE_TYPE",
          "description": "An area-effect operation. Constant, case-insensitive: ADD, PERCENT, NUCLEAR."
        },
        {
          "const": "CUSTOM_EFFECT",
          "description": "An effect type, such as those created in the effects editor. Constant: the effect id."
        },
        {
          "const": "CUSTOM_EFFECT_INSTANCE",
          "description": "An effect applied to a country, with its level. Read from methods; there is no constant form."
        },
        {
          "const": "BONUS",
          "description": "Bonus. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "BONUS_TYPE",
          "description": "A built-in bonus type. Constant, case-insensitive: RESEARCH_COST, EXCHANGE_RATE, GLOBAL_MARKET_ISOLATION, POPULATION_GROWTH, GDP_GROWTH, RESEARCH_GROWTH, MILITARY_GROWTH, MONEY_PRODUCTION, SOCIAL_EFFECT, GDP_EFFECT, BUDGET_ALLOCATION, INVESTMENT_YIELD, FINANCIAL_MICROMANAGEMENT, UNIT_POWER, UNIT_ATTACK, UNIT_PIERCING, UNIT_DEFENSE, UNIT_SPEED, UNIT_TIME, UNIT_COST, UNIT_CONSUMPTION, UNIT_SCALING, UNIT_COST_SCALING_HIGH, UNIT_COST_SCALING_LOW, UNIT_RESEARCH, CONSCRIPTION, PERSONNEL, TRAINING_PARALLELISM, BATTLE_HOME_ADVANTAGE, BATTLE_HOME_ADVANTAGE_DECAY, BATTLE_STAT_IMPACT, BATTLE_POWER_DIFFERENTIAL, CLAIM_DECAY, LOYALTY, LOYALTY_DECAY, MILITIA_SPAWN, MILITIA_SPAWN_DECAY, MILITIA_SPAWN_DECAY_FREEDOM, MILITIA_SPAWN_CLAIMS, DIPLOMACY_STRENGTH, DIPLOMACY_SPREAD, DIPLOMACY_SPREAD_FREEDOM, DIPLOMACY_ACTION_MONEY, COMBAT_EXPERIENCE, COMBAT_EXPERIENCE_DURATION, AMMUNITION_SHORTAGE, AMMUNITION_SHORTAGE_DURATION, MORALE, MORALE_DURATION, INTERNATIONAL_STANDING, INTERNATIONAL_STANDING_DURATION, PRESTIGE, IMMIGRATION, EMIGRATION, BATTLE_SELF_DEFENSE."
        },
        {
          "const": "BONUS_ENTRY",
          "description": "Bonus. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "TYPE_BONUS",
          "description": "Bonus entry. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COUNTRY_BONUS",
          "description": "Country bonus. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COUNTRY_TECH",
          "description": "A technology as researched by one country. Constant: \"COUNTRY_INDEX:TECH_ID\"."
        },
        {
          "const": "COUNTRY_RESEARCH",
          "description": "A research branch as progressed by one country. Constant: \"COUNTRY_INDEX:RESEARCH_ID\"."
        },
        {
          "const": "IDEOLOGY",
          "description": "An ideology. Constant: the ideology id. Accepted wherever COUNTRY_IDEOLOGY is, and the other way round."
        },
        {
          "const": "COUNTRY_IDEOLOGY",
          "description": "An ideology as held by one country. Constant: \"COUNTRY_INDEX:IDEOLOGY_ID\"."
        },
        {
          "const": "IDEOLOGY_EFFECT",
          "description": "Ideology effect. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "IDEOLOGY_PERK",
          "description": "Ideology perk. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "IDEOLOGY_BONUS",
          "description": "Ideology bonus. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "LEADER",
          "description": "A country leader. Normally read from trigger parameters and methods."
        },
        {
          "const": "BATTLE",
          "description": "A battle between two squads. Constant: \"SQUAD1_ID:SQUAD2_ID\", which only exists in a running game."
        },
        {
          "const": "INVASION",
          "description": "An invasion carried out by a squad. Constant: the invading squad's id."
        },
        {
          "const": "DATE",
          "description": "A calendar date. Constant: YYYY-MM-DD."
        },
        {
          "const": "GAME",
          "description": "The running game. Read it with the engine value game."
        },
        {
          "const": "WORLD_ECONOMY",
          "description": "World economy totals. Read it with the engine value economy."
        },
        {
          "const": "MAP",
          "description": "The world map. Read it with the engine value map."
        },
        {
          "const": "MAP_REGIONS",
          "description": "Regions. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "MAP_SUBREGIONS",
          "description": "Subregions. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "MAP_CONTINENTS",
          "description": "Continents. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "RNG",
          "description": "A random number generator."
        },
        {
          "const": "REGISTRY",
          "description": "A registry: a saved key-value table written with SET_REGISTRY. Read it with a REGISTRY value."
        },
        {
          "const": "RANKINGS",
          "description": "The world rankings. Read it with the engine value rankings."
        },
        {
          "const": "COUNTRY_RANKINGS",
          "description": "Rankings. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COUNTRY_RANKING",
          "description": "Country ranking. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "BUDGET",
          "description": "Budget. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COUNTRY_AI",
          "description": "Country AI. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COUNTRY_CALCULATIONS",
          "description": "Calculations. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "RANKING",
          "description": "Ranking. Read from trigger parameters and methods; there is no constant form."
        },
        {
          "const": "COALITION",
          "description": "A coalition of countries. Constant: its name or numeric index."
        },
        {
          "const": "LIST",
          "description": "A list of items whose type is given by elementType. Only lists of points have a constant form, \"x,y;x,y;...\"; other lists come from methods, queries, registries and engine values."
        },
        {
          "const": "GOAL_TYPE",
          "description": "A scenario goal. Constant, case-insensitive: GDP, POPULATION, AREA, MILITARY, POWER, NONE."
        },
        {
          "const": "COUNTRY_OR_COALITION",
          "description": "Accepts a COUNTRY or a COALITION. Only used by command fields: a coalition applies the command to each of its current members."
        }
      ]
    },
    "trigger": {
      "title": "Trigger",
      "description": "The event that starts a script. Each trigger provides its own parameters, read with PARAM values.",
      "oneOf": [
        {
          "const": "GAME_STARTED",
          "description": "New game started. Runs when a new game starts: use it for setup such as overlays, widgets or starting conditions. No parameters."
        },
        {
          "const": "GAME_ENDED",
          "description": "Game ended. Runs after the result has been decided. Parameters: WINNER (COUNTRY)."
        },
        {
          "const": "DAILY_UPDATE",
          "description": "Daily update. Runs once per game day. Parameters: DAY (NUMBER), DATE (DATE)."
        },
        {
          "const": "COUNTRY_DAILY_UPDATE",
          "description": "Daily country update. Runs once per game day for every country, so its cost grows with the number of countries. Keep the condition cheap, and prefer an event trigger when one matches. Parameters: COUNTRY (COUNTRY), DAY (NUMBER), DATE (DATE)."
        },
        {
          "const": "COUNTRY_DIED",
          "description": "Country died. Parameters: COUNTRY (COUNTRY)."
        },
        {
          "const": "COUNTRY_REVIVED",
          "description": "Country revived. Parameters: COUNTRY (COUNTRY)."
        },
        {
          "const": "COUNTRY_ADDED",
          "description": "Country added. Parameters: COUNTRY (COUNTRY)."
        },
        {
          "const": "COUNTRY_REMOVED",
          "description": "Country removed. Parameters: COUNTRY (COUNTRY)."
        },
        {
          "const": "PLAYER_COUNTRY_CHANGED",
          "description": "Player country changed. Parameters: COUNTRY (COUNTRY)."
        },
        {
          "const": "CLAIM_ADDED",
          "description": "Claim added. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "CLAIM_REMOVED",
          "description": "Claim removed. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "DIPLOMACY_STATUS_CHANGED",
          "description": "Diplomacy status changed. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY), PREVIOUS (NUMBER), VALUE (NUMBER)."
        },
        {
          "const": "ALLIANCE_STARTED",
          "description": "Alliance started. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "ALLIANCE_ENDED",
          "description": "Alliance ended. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "WAR_STARTED",
          "description": "War started. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "WAR_ENDED",
          "description": "War ended. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "COUNTRY_LIBERATED",
          "description": "Country liberated. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "COUNTRY_PUPPETED",
          "description": "Country puppeted. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY), PREVIOUS (COUNTRY)."
        },
        {
          "const": "COUNTRY_UNPUPPETED",
          "description": "Country released from master. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "SQUAD_CREATED",
          "description": "Squad created. Parameters: SQUAD (SQUAD), OWNER (COUNTRY), X (NUMBER), Y (NUMBER), LOCATION_COUNTRY (COUNTRY), SQUAD_TYPE (SQUAD_TYPE), TASK (SQUAD_TASK)."
        },
        {
          "const": "SQUAD_REMOVED",
          "description": "Squad removed. Parameters: SQUAD (SQUAD), OWNER (COUNTRY), X (NUMBER), Y (NUMBER), LOCATION_COUNTRY (COUNTRY), SQUAD_TYPE (SQUAD_TYPE), TASK (SQUAD_TASK)."
        },
        {
          "const": "SQUAD_SPLIT",
          "description": "Squad split. Parameters: SQUAD (SQUAD), OWNER (COUNTRY), X (NUMBER), Y (NUMBER), LOCATION_COUNTRY (COUNTRY), SQUAD_TYPE (SQUAD_TYPE), TASK (SQUAD_TASK)."
        },
        {
          "const": "SQUAD_MOVED",
          "description": "Squad moved. Parameters: SQUAD (SQUAD), OWNER (COUNTRY), X (NUMBER), Y (NUMBER), PREVIOUS_X (NUMBER), PREVIOUS_Y (NUMBER), LOCATION_COUNTRY (COUNTRY), SQUAD_TYPE (SQUAD_TYPE), TASK (SQUAD_TASK)."
        },
        {
          "const": "SQUAD_DIED",
          "description": "Squad died. Parameters: SQUAD (SQUAD), OWNER (COUNTRY), DAY (NUMBER), X (NUMBER), Y (NUMBER), LOCATION_COUNTRY (COUNTRY), SQUAD_TYPE (SQUAD_TYPE), TASK (SQUAD_TASK)."
        },
        {
          "const": "TECH_RESEARCHED",
          "description": "Technology researched. Parameters: COUNTRY (COUNTRY), TECH (TECHNOLOGY), COUNTRY_TECH (COUNTRY_TECH)."
        },
        {
          "const": "AOE_DEVELOPED",
          "description": "Area effect developed. Parameters: COUNTRY (COUNTRY), AOE (AOE), POINT (POINT), X (NUMBER), Y (NUMBER), PERCENT (NUMBER)."
        },
        {
          "const": "UNIT_RESEARCHED",
          "description": "Unit researched. Parameters: COUNTRY (COUNTRY), UNIT (UNIT)."
        },
        {
          "const": "POINT_ANNEXED",
          "description": "Point annexed. Parameters: ATTACKER (COUNTRY), DEFENDER (COUNTRY), POINT (POINT), X (NUMBER), Y (NUMBER), POPULATION (NUMBER), LOOT (NUMBER), ORIGIN (INVASION)."
        },
        {
          "const": "BATTLE_STARTED",
          "description": "Battle started. Parameters: BATTLE (BATTLE), SQUAD1 (SQUAD), SQUAD2 (SQUAD), COUNTRY1 (COUNTRY), COUNTRY2 (COUNTRY)."
        },
        {
          "const": "BATTLE_UPDATED",
          "description": "Battle updated. Parameters: BATTLE (BATTLE), SQUAD1 (SQUAD), SQUAD2 (SQUAD), COUNTRY1 (COUNTRY), COUNTRY2 (COUNTRY), CASUALTIES1 (NUMBER), CASUALTIES2 (NUMBER), CASUALTIES (NUMBER), PERCENT (NUMBER)."
        },
        {
          "const": "BATTLE_ENDED",
          "description": "Battle ended. Parameters: BATTLE (BATTLE), SQUAD1 (SQUAD), SQUAD2 (SQUAD), COUNTRY1 (COUNTRY), COUNTRY2 (COUNTRY)."
        },
        {
          "const": "INVASION_STARTED",
          "description": "Invasion started. Parameters: INVASION (INVASION), SQUAD (SQUAD), ATTACKER (COUNTRY), DEFENDER (COUNTRY)."
        },
        {
          "const": "INVASION_UPDATED",
          "description": "Invasion updated. Parameters: INVASION (INVASION), SQUAD (SQUAD), ATTACKER (COUNTRY), DEFENDER (COUNTRY), LOOT (NUMBER), CONQUESTS (NUMBER), LAST_CONQUESTS (NUMBER), REMAINING_INVASION (NUMBER), REMAINING_RESISTANCE (NUMBER), CLEAR (NUMBER)."
        },
        {
          "const": "INVASION_ENDED",
          "description": "Invasion ended. Parameters: INVASION (INVASION), SQUAD (SQUAD), ATTACKER (COUNTRY), DEFENDER (COUNTRY), LOOT (NUMBER), CONQUESTS (NUMBER), LAST_CONQUESTS (NUMBER), REMAINING_INVASION (NUMBER), REMAINING_RESISTANCE (NUMBER), CLEAR (NUMBER)."
        },
        {
          "const": "IDEOLOGY_CHANGED",
          "description": "Ideology changed. Parameters: COUNTRY (COUNTRY), PREVIOUS (COUNTRY_IDEOLOGY), IDEOLOGY (COUNTRY_IDEOLOGY)."
        },
        {
          "const": "LEADER_CHANGED",
          "description": "Leader changed. Parameters: COUNTRY (COUNTRY), PREVIOUS (LEADER), LEADER (LEADER), NEXT_LEADER (LEADER)."
        },
        {
          "const": "GAME_ENDING",
          "description": "Game ending. Runs just before a normal victory or defeat is decided. script.cancel_game_end cancels it while this trigger runs, so the scenario can continue or end later with script.end_game. Parameters: WINNER (COUNTRY), COALITION (COALITION)."
        },
        {
          "const": "WAR_DECLARED",
          "description": "War declared by aggressor. Parameters: COUNTRY (COUNTRY), TARGET (COUNTRY)."
        },
        {
          "const": "COALITION_MEMBERSHIP_CHANGED",
          "description": "Coalition membership changed. No parameters."
        }
      ]
    },
    "triggerParameter": {
      "title": "Trigger parameter",
      "description": "Data supplied by the trigger that started the script. Only the parameters of that trigger are available; their types can differ between triggers (see each parameter).",
      "oneOf": [
        {
          "const": "WINNER",
          "description": "Winner. In text placeholders: ${param.winner}. Type COUNTRY. Provided by GAME_ENDED, GAME_ENDING."
        },
        {
          "const": "COUNTRY",
          "description": "Country. In text placeholders: ${param.country}. Type COUNTRY. Provided by COUNTRY_DAILY_UPDATE, COUNTRY_DIED, COUNTRY_REVIVED, COUNTRY_ADDED, COUNTRY_REMOVED, PLAYER_COUNTRY_CHANGED, CLAIM_ADDED, CLAIM_REMOVED, DIPLOMACY_STATUS_CHANGED, ALLIANCE_STARTED, ALLIANCE_ENDED, WAR_STARTED, WAR_ENDED, COUNTRY_LIBERATED, COUNTRY_PUPPETED, COUNTRY_UNPUPPETED, TECH_RESEARCHED, AOE_DEVELOPED, UNIT_RESEARCHED, IDEOLOGY_CHANGED, LEADER_CHANGED, WAR_DECLARED."
        },
        {
          "const": "TARGET",
          "description": "Target. In text placeholders: ${param.target}. Type COUNTRY. Provided by CLAIM_ADDED, CLAIM_REMOVED, DIPLOMACY_STATUS_CHANGED, ALLIANCE_STARTED, ALLIANCE_ENDED, WAR_STARTED, WAR_ENDED, COUNTRY_LIBERATED, COUNTRY_PUPPETED, COUNTRY_UNPUPPETED, WAR_DECLARED."
        },
        {
          "const": "SQUAD",
          "description": "Squad. In text placeholders: ${param.squad}. Type SQUAD. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED, INVASION_STARTED, INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "OWNER",
          "description": "Owner. In text placeholders: ${param.owner}. Type COUNTRY. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED."
        },
        {
          "const": "X",
          "description": "X. In text placeholders: ${param.x}. Type NUMBER. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED, AOE_DEVELOPED, POINT_ANNEXED."
        },
        {
          "const": "Y",
          "description": "Y. In text placeholders: ${param.y}. Type NUMBER. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED, AOE_DEVELOPED, POINT_ANNEXED."
        },
        {
          "const": "POINT",
          "description": "Point. In text placeholders: ${param.point}. Type POINT. Provided by AOE_DEVELOPED, POINT_ANNEXED."
        },
        {
          "const": "LOCATION_COUNTRY",
          "description": "LocationCountry. In text placeholders: ${param.locationCountry}. Type COUNTRY. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED."
        },
        {
          "const": "PREVIOUS_X",
          "description": "PreviousX. In text placeholders: ${param.previousX}. Type NUMBER. Provided by SQUAD_MOVED."
        },
        {
          "const": "PREVIOUS_Y",
          "description": "PreviousY. In text placeholders: ${param.previousY}. Type NUMBER. Provided by SQUAD_MOVED."
        },
        {
          "const": "DAY",
          "description": "Day. In text placeholders: ${param.day}. Type NUMBER. Provided by DAILY_UPDATE, COUNTRY_DAILY_UPDATE, SQUAD_DIED."
        },
        {
          "const": "DATE",
          "description": "Date. In text placeholders: ${param.date}. Type DATE. Provided by DAILY_UPDATE, COUNTRY_DAILY_UPDATE."
        },
        {
          "const": "SQUAD_TYPE",
          "description": "SquadType. In text placeholders: ${param.squadType}. Type SQUAD_TYPE. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED."
        },
        {
          "const": "TASK",
          "description": "Task. In text placeholders: ${param.task}. Type SQUAD_TASK. Provided by SQUAD_CREATED, SQUAD_REMOVED, SQUAD_SPLIT, SQUAD_MOVED, SQUAD_DIED."
        },
        {
          "const": "TECH",
          "description": "Tech. In text placeholders: ${param.tech}. Type TECHNOLOGY. Provided by TECH_RESEARCHED."
        },
        {
          "const": "COUNTRY_TECH",
          "description": "CountryTech. In text placeholders: ${param.countryTech}. Type COUNTRY_TECH. Provided by TECH_RESEARCHED."
        },
        {
          "const": "AOE",
          "description": "Area effect. In text placeholders: ${param.aoe}. Type AOE. Provided by AOE_DEVELOPED."
        },
        {
          "const": "UNIT",
          "description": "Unit. In text placeholders: ${param.unit}. Type UNIT. Provided by UNIT_RESEARCHED."
        },
        {
          "const": "ATTACKER",
          "description": "Attacker. In text placeholders: ${param.attacker}. Type COUNTRY. Provided by POINT_ANNEXED, INVASION_STARTED, INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "DEFENDER",
          "description": "Defender. In text placeholders: ${param.defender}. Type COUNTRY. Provided by POINT_ANNEXED, INVASION_STARTED, INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "POPULATION",
          "description": "Population. In text placeholders: ${param.population}. Type NUMBER. Provided by POINT_ANNEXED."
        },
        {
          "const": "LOOT",
          "description": "Loot. In text placeholders: ${param.loot}. Type NUMBER. Provided by POINT_ANNEXED, INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "ORIGIN",
          "description": "Origin. In text placeholders: ${param.origin}. Type INVASION. Provided by POINT_ANNEXED."
        },
        {
          "const": "BATTLE",
          "description": "Battle. In text placeholders: ${param.battle}. Type BATTLE. Provided by BATTLE_STARTED, BATTLE_UPDATED, BATTLE_ENDED."
        },
        {
          "const": "SQUAD1",
          "description": "Squad 1. In text placeholders: ${param.squad1}. Type SQUAD. Provided by BATTLE_STARTED, BATTLE_UPDATED, BATTLE_ENDED."
        },
        {
          "const": "SQUAD2",
          "description": "Squad 2. In text placeholders: ${param.squad2}. Type SQUAD. Provided by BATTLE_STARTED, BATTLE_UPDATED, BATTLE_ENDED."
        },
        {
          "const": "COUNTRY1",
          "description": "Country 1. In text placeholders: ${param.country1}. Type COUNTRY. Provided by BATTLE_STARTED, BATTLE_UPDATED, BATTLE_ENDED."
        },
        {
          "const": "COUNTRY2",
          "description": "Country 2. In text placeholders: ${param.country2}. Type COUNTRY. Provided by BATTLE_STARTED, BATTLE_UPDATED, BATTLE_ENDED."
        },
        {
          "const": "CASUALTIES1",
          "description": "Casualties1. In text placeholders: ${param.casualties1}. Type NUMBER. Provided by BATTLE_UPDATED."
        },
        {
          "const": "CASUALTIES2",
          "description": "Casualties2. In text placeholders: ${param.casualties2}. Type NUMBER. Provided by BATTLE_UPDATED."
        },
        {
          "const": "CASUALTIES",
          "description": "Casualties. In text placeholders: ${param.casualties}. Type NUMBER. Provided by BATTLE_UPDATED."
        },
        {
          "const": "PERCENT",
          "description": "Percent. In text placeholders: ${param.percent}. Type NUMBER. Provided by AOE_DEVELOPED, BATTLE_UPDATED."
        },
        {
          "const": "INVASION",
          "description": "Invasion. In text placeholders: ${param.invasion}. Type INVASION. Provided by INVASION_STARTED, INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "CONQUESTS",
          "description": "Conquests. In text placeholders: ${param.conquests}. Type NUMBER. Provided by INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "LAST_CONQUESTS",
          "description": "LastConquests. In text placeholders: ${param.lastConquests}. Type NUMBER. Provided by INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "REMAINING_INVASION",
          "description": "RemainingInvasion. In text placeholders: ${param.remainingInvasion}. Type NUMBER. Provided by INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "REMAINING_RESISTANCE",
          "description": "RemainingResistance. In text placeholders: ${param.remainingResistance}. Type NUMBER. Provided by INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "CLEAR",
          "description": "Clear. In text placeholders: ${param.clear}. Type NUMBER. Provided by INVASION_UPDATED, INVASION_ENDED."
        },
        {
          "const": "PREVIOUS",
          "description": "Previous. In text placeholders: ${param.previous}. Its type depends on the trigger: COUNTRY in COUNTRY_PUPPETED; COUNTRY_IDEOLOGY in IDEOLOGY_CHANGED; LEADER in LEADER_CHANGED; NUMBER in DIPLOMACY_STATUS_CHANGED."
        },
        {
          "const": "VALUE",
          "description": "Value. In text placeholders: ${param.value}. Type NUMBER. Provided by DIPLOMACY_STATUS_CHANGED."
        },
        {
          "const": "IDEOLOGY",
          "description": "Ideology. In text placeholders: ${param.ideology}. Type COUNTRY_IDEOLOGY. Provided by IDEOLOGY_CHANGED."
        },
        {
          "const": "LEADER",
          "description": "Leader. In text placeholders: ${param.leader}. Type LEADER. Provided by LEADER_CHANGED."
        },
        {
          "const": "NEXT_LEADER",
          "description": "NextLeader. In text placeholders: ${param.nextLeader}. Type LEADER. Provided by LEADER_CHANGED."
        },
        {
          "const": "COALITION",
          "description": "Coalition. In text placeholders: ${param.coalition}. Type COALITION. Provided by GAME_ENDING."
        }
      ]
    },
    "valueKind": {
      "description": "Where the value comes from. Default: CONSTANT.",
      "oneOf": [
        {
          "const": "CONSTANT",
          "description": "A fixed literal written in value, interpreted according to type."
        },
        {
          "const": "PARAM",
          "description": "A parameter of the trigger that started the script, named by param."
        },
        {
          "const": "VARIABLE",
          "description": "A local variable: one stored earlier in this run with SET_VARIABLE, a function parameter, a loop variable, or a variable created by a command."
        },
        {
          "const": "GLOBAL_VARIABLE",
          "description": "A shared variable stored with SET_GLOBAL_VARIABLE. Shared variables are visible to every script and are saved with the game."
        },
        {
          "const": "REGISTRY",
          "description": "A registry (a saved key-value table) by name. Read its entries with the REGISTRY methods."
        },
        {
          "const": "GLOBAL",
          "description": "A value provided by the game engine, such as the current day or the list of countries."
        },
        {
          "const": "COLLECTION_QUERY",
          "description": "Filters, searches or aggregates a list, described by query."
        },
        {
          "const": "CALL",
          "description": "Calls an expression method or one of your functions, with arguments in args."
        }
      ]
    },
    "value": {
      "type": "object",
      "title": "Value",
      "description": "A typed expression. Values appear wherever a script reads data: command fields, method arguments, conditions and variables. Every node has a kind (where the value comes from) and a type (what it produces); the other fields depend on the kind.",
      "properties": {
        "kind": {
          "$ref": "#/$defs/valueKind"
        },
        "type": {
          "$ref": "#/$defs/valueType",
          "description": "Type this value produces. Default for constants: STRING."
        },
        "elementType": {
          "$ref": "#/$defs/valueType",
          "description": "Item type when type is LIST, for example POINT for a point list."
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "kind": {
                "const": "CONSTANT"
              }
            }
          },
          "then": {
            "$ref": "#/$defs/constantValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "PARAM"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/paramValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "VARIABLE"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/namedValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "GLOBAL_VARIABLE"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/namedValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "REGISTRY"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/namedValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "GLOBAL"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/engineValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "COLLECTION_QUERY"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/queryValue"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "CALL"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/callValue"
          }
        }
      ],
      "unevaluatedProperties": false,
      "examples": [
        {
          "kind": "CONSTANT",
          "type": "NUMBER",
          "value": "12"
        },
        {
          "kind": "PARAM",
          "type": "COUNTRY",
          "param": "COUNTRY"
        },
        {
          "kind": "CALL",
          "type": "NUMBER",
          "value": "country.population",
          "args": [
            {
              "kind": "PARAM",
              "type": "COUNTRY",
              "param": "COUNTRY"
            }
          ]
        },
        {
          "kind": "CONSTANT",
          "type": "LIST",
          "elementType": "POINT",
          "value": "120,90;140.25,95.75"
        }
      ]
    },
    "constantValue": {
      "description": "A literal. value always holds text, which is read according to type: see each value type for its literal format. Numbers and booleans are therefore written as strings, for example \"12\" or \"true\". Only lists of points can be written as constants (\"x,y;x,y\"); an empty value is an empty or missing value.",
      "properties": {
        "value": {
          "type": "string",
          "default": "",
          "description": "The literal, as text."
        }
      }
    },
    "paramValue": {
      "description": "Reads a parameter of the trigger that started the script. The trigger must provide it.",
      "properties": {
        "param": {
          "$ref": "#/$defs/triggerParameter"
        },
        "value": {
          "type": "string",
          "description": "Older files name the parameter here (its lowercase id) instead of in param."
        },
        "name": {
          "type": "string",
          "description": "Older spelling of value."
        }
      },
      "examples": [
        {
          "kind": "PARAM",
          "type": "COUNTRY",
          "param": "COUNTRY"
        }
      ]
    },
    "namedValue": {
      "description": "Reads a local variable, a shared variable or a registry by name.",
      "properties": {
        "value": {
          "type": "string",
          "minLength": 1,
          "description": "Variable or registry name. Names start with a letter or underscore and continue with letters, digits or underscores."
        }
      }
    },
    "engineValue": {
      "description": "Reads a value provided by the game engine. These are not saved script state: for that, use GLOBAL_VARIABLE.",
      "properties": {
        "value": {
          "description": "Engine value id.",
          "oneOf": [
            {
              "const": "day",
              "description": "NUMBER: days elapsed since the start of the game."
            },
            {
              "const": "date",
              "description": "DATE: the current game date."
            },
            {
              "const": "delta",
              "description": "NUMBER: length of the current simulation step."
            },
            {
              "const": "player",
              "description": "COUNTRY: the local player's country. It differs between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer."
            },
            {
              "const": "water",
              "description": "COUNTRY: the empty country used for water and unowned land (same as null)."
            },
            {
              "const": "null",
              "description": "COUNTRY: the empty country."
            },
            {
              "const": "uninhabitable",
              "description": "COUNTRY: the country that owns uninhabitable land."
            },
            {
              "const": "countries",
              "description": "LIST of COUNTRY: every country slot of the map."
            },
            {
              "const": "active_countries",
              "description": "LIST of COUNTRY: the countries currently in the game."
            },
            {
              "const": "squads",
              "description": "LIST of SQUAD: every squad in the world."
            },
            {
              "const": "coalitions",
              "description": "LIST of COALITION: every coalition."
            },
            {
              "const": "rankings",
              "description": "RANKINGS: the world rankings."
            },
            {
              "const": "economy",
              "description": "WORLD_ECONOMY: world economy totals."
            },
            {
              "const": "game",
              "description": "GAME: the running game."
            },
            {
              "const": "map",
              "description": "MAP: the world map."
            },
            {
              "const": "activecountries",
              "description": "Alias of active_countries."
            },
            {
              "const": "all_squads",
              "description": "Alias of squads."
            },
            {
              "const": "allsquads",
              "description": "Alias of squads."
            },
            {
              "const": "world_economy",
              "description": "Alias of economy."
            }
          ]
        }
      }
    },
    "queryValue": {
      "description": "Runs a collection query. Its type and elementType follow from the query operation.",
      "properties": {
        "query": {
          "$ref": "#/$defs/collectionQuery"
        }
      },
      "required": ["query"]
    },
    "callValue": {
      "description": "Calls an expression method or a function. Arguments are values in signature order. To chain, nest calls: a method that reads from an object takes that object as its first argument.",
      "properties": {
        "value": {
          "description": "Method id (see methodId) or the id of one of your functions.",
          "anyOf": [
            {
              "$ref": "#/$defs/methodId"
            },
            {
              "type": "string",
              "minLength": 1,
              "description": "Id of a function defined in this scenario."
            }
          ]
        },
        "args": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/value"
          },
          "description": "Arguments, in the order of the method's signature or the function's parameters."
        }
      },
      "required": ["value"],
      "allOf": [
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["ai.main_template", "ai.type"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["AI_TYPE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "registry.get"
              }
            }
          },
          "then": {
            "properties": {
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "aoe.type"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["AOE_TYPE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "squad.battle_with"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BATTLE", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.bonus"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BONUS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["bonus.buff", "bonus.by_type"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BONUS_ENTRY", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["bonus_entry.type", "country_bonus.type", "ideology_bonus.type", "type_bonus.type"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BONUS_TYPE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "aoe.exists",
                  "aoe.is_null",
                  "aoe_type.exists",
                  "aoe_type.is_null",
                  "battle.exists",
                  "battle.has_ended",
                  "battle.is_null",
                  "bonus.exists",
                  "bonus.is_null",
                  "bonus_entry.exists",
                  "bonus_entry.is_enabled",
                  "bonus_entry.is_null",
                  "bonus_type.exists",
                  "bonus_type.is_null",
                  "effect.active",
                  "effect.bidirectional",
                  "effect.exists",
                  "effect.is_null",
                  "effect_type.exists",
                  "effect_type.is_null",
                  "budget.exists",
                  "budget.is_null",
                  "coalition.exists",
                  "coalition.is_null",
                  "country.exists",
                  "country.has_enemies",
                  "country.is_alive",
                  "country.is_any_player",
                  "country.is_dead",
                  "country.is_invaded",
                  "country.is_invading",
                  "country.is_landlocked",
                  "country.is_null",
                  "country.is_online",
                  "country.is_player",
                  "country.is_puppet",
                  "country.is_synthetic",
                  "ai.can_attack",
                  "ai.can_reclaim",
                  "ai.exists",
                  "ai.is_aggressive",
                  "ai.is_awake",
                  "ai.is_defensive",
                  "ai.is_imperialist",
                  "ai.is_null",
                  "ai.is_peaceful",
                  "ai.is_player_ai",
                  "ai.is_player_ai_delay",
                  "ai_type.exists",
                  "ai_type.is_null",
                  "calculations.exists",
                  "calculations.is_null",
                  "claims.has_claimers",
                  "claims.has_claims",
                  "claims.has_homeland",
                  "claims.has_homelanders",
                  "country_research.exists",
                  "country_research.is_available",
                  "country_research.is_null",
                  "country_tech.exists",
                  "country_tech.is_available",
                  "country_tech.is_completed",
                  "country_tech.is_null",
                  "date.exists",
                  "date.is_null",
                  "boolean.not",
                  "chance",
                  "country_ideology.exists",
                  "country_ideology.is_null",
                  "not",
                  "economy.exists",
                  "economy.in_recession",
                  "economy.is_null",
                  "economy.recovering",
                  "economy.target_in_recession",
                  "economy.worsening",
                  "game.paused",
                  "ideology.exists",
                  "ideology.is_active",
                  "ideology.is_null",
                  "ideology_effect.exists",
                  "ideology_effect.is_null",
                  "ideology_perk.exists",
                  "ideology_perk.is_null",
                  "invasion.exists",
                  "invasion.is_finished",
                  "invasion.is_null",
                  "invasion.is_paused",
                  "invasion.is_started",
                  "land_cover.exists",
                  "land_cover.is_land",
                  "land_cover.is_null",
                  "land_cover.is_water",
                  "leader.exists",
                  "leader.is_active",
                  "leader.is_null",
                  "list.first_boolean",
                  "list.is_empty",
                  "list.is_not_empty",
                  "point.exists",
                  "point.is_null",
                  "country_ranking.exists",
                  "country_ranking.is_null",
                  "ranking.exists",
                  "ranking.is_null",
                  "country_rankings.exists",
                  "country_rankings.is_null",
                  "research.exists",
                  "research.is_null",
                  "squad.exists",
                  "squad.has_effect",
                  "squad.is_alive",
                  "squad.is_battling",
                  "squad.is_controllable",
                  "squad.is_invading",
                  "squad.is_militia",
                  "squad.is_moving",
                  "squad.is_null",
                  "squad.is_reservist",
                  "squad_task.exists",
                  "squad_task.is_null",
                  "squad_type.exists",
                  "squad_type.is_null",
                  "tech_school.exists",
                  "tech_school.is_null",
                  "technology.can_reduce_cost",
                  "technology.exists",
                  "technology.is_null",
                  "string.is_blank",
                  "string.is_empty",
                  "string.to_boolean",
                  "country_bonus.exists",
                  "country_bonus.is_enabled",
                  "country_bonus.is_null",
                  "ideology_bonus.exists",
                  "ideology_bonus.is_enabled",
                  "ideology_bonus.is_null",
                  "type_bonus.exists",
                  "type_bonus.is_null",
                  "unit.exists",
                  "unit.is_null"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BOOLEAN", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "aoe.equal",
                  "aoe.is_excluded_for",
                  "aoe.not_equal",
                  "aoe_type.equal",
                  "aoe_type.not_equal",
                  "battle.equal",
                  "battle.has_country",
                  "battle.has_squad",
                  "battle.not_equal",
                  "bonus.equal",
                  "bonus.not_equal",
                  "bonus_entry.equal",
                  "bonus_entry.not_equal",
                  "bonus_type.equal",
                  "bonus_type.not_equal",
                  "effect.equal",
                  "effect.not_equal",
                  "effect_type.equal",
                  "effect_type.not_equal",
                  "budget.equal",
                  "budget.not_equal",
                  "coalition.equal",
                  "coalition.not_equal",
                  "color.equal",
                  "color.not_equal",
                  "country.can_attack",
                  "country.equal",
                  "country.has_land_border_with",
                  "country.has_ocean_border_with",
                  "country.has_puppet",
                  "country.in_different_coalition",
                  "country.in_rival_coalition",
                  "country.is_aligned_with",
                  "country.is_allied_with",
                  "country.is_friendly_with",
                  "country.is_hostile_with",
                  "country.is_neutral_with",
                  "country.is_puppet_of",
                  "country.not_equal",
                  "ai.equal",
                  "ai.not_equal",
                  "ai_type.equal",
                  "ai_type.not_equal",
                  "calculations.equal",
                  "calculations.not_equal",
                  "claims.has_claim_on",
                  "claims.has_homeland_on",
                  "claims.has_homelander",
                  "claims.is_claimed_by",
                  "country_research.equal",
                  "country_research.not_equal",
                  "country_tech.equal",
                  "country_tech.not_equal",
                  "date.after",
                  "date.before",
                  "date.equal",
                  "date.not_equal",
                  "date.on_or_after",
                  "date.on_or_before",
                  "boolean.equal",
                  "boolean.not_equal",
                  "country_ideology.equal",
                  "country_ideology.not_equal",
                  "goal_type.equal",
                  "goal_type.not_equal",
                  "economy.equal",
                  "economy.not_equal",
                  "ideology.equal",
                  "ideology.not_equal",
                  "ideology_effect.equal",
                  "ideology_effect.not_equal",
                  "ideology_perk.equal",
                  "ideology_perk.not_equal",
                  "invasion.equal",
                  "invasion.not_equal",
                  "land_cover.equal",
                  "land_cover.not_equal",
                  "leader.equal",
                  "leader.not_equal",
                  "list.contains_boolean",
                  "list.contains_country",
                  "list.contains_number",
                  "list.contains_point",
                  "list.contains_squad",
                  "list.contains_text",
                  "number.equal",
                  "number.greater",
                  "number.greater_equal",
                  "number.less",
                  "number.less_equal",
                  "number.not_equal",
                  "point.equal",
                  "point.not_equal",
                  "country_ranking.equal",
                  "country_ranking.not_equal",
                  "ranking.equal",
                  "ranking.not_equal",
                  "country_rankings.equal",
                  "country_rankings.not_equal",
                  "registry.boolean",
                  "registry.has_key",
                  "research.equal",
                  "research.is_excluded_for",
                  "research.not_equal",
                  "rng.chance",
                  "squad.equal",
                  "squad.is_in_country",
                  "squad.not_equal",
                  "squad.sees",
                  "squad_task.equal",
                  "squad_task.not_equal",
                  "squad_type.equal",
                  "squad_type.not_equal",
                  "tech_school.equal",
                  "tech_school.not_equal",
                  "technology.equal",
                  "technology.is_excluded_for",
                  "technology.not_equal",
                  "string.contains",
                  "string.contains_ignore_case",
                  "string.ends_with",
                  "string.ends_with_ignore_case",
                  "string.equal",
                  "string.equal_ignore_case",
                  "string.not_equal",
                  "string.not_equal_ignore_case",
                  "string.starts_with",
                  "string.starts_with_ignore_case",
                  "country_bonus.equal",
                  "country_bonus.not_equal",
                  "ideology_bonus.equal",
                  "ideology_bonus.not_equal",
                  "type_bonus.equal",
                  "type_bonus.not_equal",
                  "unit.equal",
                  "unit.not_equal"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BOOLEAN", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["aoe.can_develop_for", "date.between", "date.within_days", "registry.contains"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BOOLEAN", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.budget"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["BUDGET", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["coalition.rival", "country.coalition"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COALITION", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["color.grayscale", "color.invert", "country.color"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COLOR", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "color.darken",
                  "color.lighten",
                  "color.multiply",
                  "color.multiply_alpha",
                  "color.with_alpha",
                  "color.with_blue",
                  "color.with_green",
                  "color.with_hue",
                  "color.with_red",
                  "color.with_saturation",
                  "color.with_value",
                  "registry.color"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COLOR", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["color.blend", "color.conditionally", "color.from_hsv", "color.from_rgb", "color.tint"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COLOR", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["color.from_hsva", "color.from_rgba"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COLOR", "ANY"]
              },
              "args": {
                "minItems": 4,
                "maxItems": 4
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "battle.country1",
                  "battle.country2",
                  "bonus.owner",
                  "bonus_entry.owner",
                  "effect.owner",
                  "coalition.leader",
                  "country.controller",
                  "country.master",
                  "ai.owner",
                  "country_research.owner",
                  "country_tech.owner",
                  "ideology.owner",
                  "invasion.attacker",
                  "invasion.defender",
                  "leader.owner",
                  "list.first_country",
                  "map.hovered_country",
                  "map.selected_country",
                  "point.claimer_at",
                  "point.homelander_at",
                  "point.owner_at",
                  "ranking.top_country",
                  "squad.location_country",
                  "squad.owner"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["point.claimer", "point.homelander", "point.owner", "ranking.country_at_rank", "registry.country"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "map.point_owner"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.ai"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_AI", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.calculations"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_CALCULATIONS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.claims"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_CLAIMS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.ideology"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_IDEOLOGY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "country_rankings.area",
                  "country_rankings.defense",
                  "country_rankings.diplomacy",
                  "country_rankings.freedom",
                  "country_rankings.gdp",
                  "country_rankings.gdp_growth",
                  "country_rankings.gdp_per_capita",
                  "country_rankings.military",
                  "country_rankings.money",
                  "country_rankings.population",
                  "country_rankings.population_growth",
                  "country_rankings.power",
                  "country_rankings.progress",
                  "country_rankings.self_defense"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_RANKING", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.rankings"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_RANKINGS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "bonus.research"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_RESEARCH", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "bonus.technology"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["COUNTRY_TECH", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "effect.type"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["CUSTOM_EFFECT", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["battle.finish_date", "battle.start_date", "game.date"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["DATE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "date.plus_days"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["DATE", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "game"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["GAME", "ANY"]
              },
              "args": {
                "minItems": 0,
                "maxItems": 0
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "game.goal_type"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["GOAL_TYPE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "ideology.effect"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["IDEOLOGY_EFFECT", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "squad.invasion"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["INVASION", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "point.land_cover_at"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LAND_COVER", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "point.land_cover"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LAND_COVER", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["country.leader", "country.next_leader"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LEADER", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "registry.values"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "registry.list"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["country.current_battles", "map.battles", "squad.battles"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["BATTLE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "bonus.bonuses",
                  "effect.bonuses",
                  "country_research.bonuses",
                  "country_tech.bonuses",
                  "ideology_effect.bonuses",
                  "ideology_perk.bonuses",
                  "leader.bonuses",
                  "research.bonuses",
                  "technology.bonuses"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["BONUS_ENTRY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "game.coalitions"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["COALITION", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "coalition.countries",
                  "country.allies",
                  "country.bordering_countries",
                  "country.enemies",
                  "country.online_external_shareholders",
                  "country.puppets",
                  "claims.claimers",
                  "claims.claims",
                  "claims.homelanders",
                  "claims.homelands",
                  "map.continents.africa",
                  "map.continents.america",
                  "map.continents.asia",
                  "map.continents.europe",
                  "map.continents.oceania",
                  "map.regions.east_asia__pacific",
                  "map.regions.europe__central_asia",
                  "map.regions.latin_america__caribbean",
                  "map.regions.middle_east__north_africa",
                  "map.regions.south_asia",
                  "map.regions.subsaharan_africa",
                  "map.subregions.australia_and_new_zealand",
                  "map.subregions.caribbean",
                  "map.subregions.central_america",
                  "map.subregions.central_asia",
                  "map.subregions.eastern_africa",
                  "map.subregions.eastern_asia",
                  "map.subregions.eastern_europe",
                  "map.subregions.melanesia",
                  "map.subregions.micronesia",
                  "map.subregions.middle_africa",
                  "map.subregions.north_america",
                  "map.subregions.northern_africa",
                  "map.subregions.northern_europe",
                  "map.subregions.polynesia",
                  "map.subregions.south_america",
                  "map.subregions.southeastern_asia",
                  "map.subregions.southern_africa",
                  "map.subregions.southern_asia",
                  "map.subregions.southern_europe",
                  "map.subregions.western_africa",
                  "map.subregions.western_asia",
                  "map.subregions.western_europe"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["COUNTRY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "bonus.researchs"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["COUNTRY_RESEARCH", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "bonus.technologies"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["COUNTRY_TECH", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "bonus.effects"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["CUSTOM_EFFECT_INSTANCE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "ideology.perks"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["IDEOLOGY_PERK", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["country.invasions", "map.invasions"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["INVASION", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "ideology.leaders"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["LEADER", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.ocean_borders"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["country.territory_points", "point.as_list"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["POINT", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "claims.claim_points",
                  "claims.claimer_points",
                  "claims.homeland_points",
                  "claims.homelander_points"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["POINT", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country.squads"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["SQUAD", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "registry.keys"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["LIST", "ANY"]
              },
              "elementType": {
                "enum": ["STRING", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "map.continents"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["MAP_CONTINENTS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "map.regions"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["MAP_REGIONS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "map.subregions"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["MAP_SUBREGIONS", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "number.random"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 0,
                "maxItems": 0
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "aoe.max_economy",
                  "aoe.max_morale",
                  "aoe.max_population",
                  "aoe.max_radius",
                  "aoe.min_economy",
                  "aoe.min_morale",
                  "aoe.min_population",
                  "aoe.min_radius",
                  "aoe.money_cost",
                  "aoe.prerequisite",
                  "aoe.ranks",
                  "aoe.research_cost",
                  "aoe.step",
                  "battle.casualty_balance",
                  "battle.duration",
                  "battle.estimated_duration",
                  "battle.finish_day",
                  "battle.home_advantage_side",
                  "battle.luck",
                  "battle.outcome",
                  "battle.side1_attack",
                  "battle.side1_casualties",
                  "battle.side1_casualty_percent",
                  "battle.side1_combat_rate",
                  "battle.side1_defense",
                  "battle.side1_estimated_casualty_percent",
                  "battle.side1_home_advantage",
                  "battle.side1_piercing",
                  "battle.side2_attack",
                  "battle.side2_casualties",
                  "battle.side2_casualty_percent",
                  "battle.side2_combat_rate",
                  "battle.side2_defense",
                  "battle.side2_estimated_casualty_percent",
                  "battle.side2_home_advantage",
                  "battle.side2_piercing",
                  "battle.speed",
                  "battle.terrain",
                  "battle.total_power",
                  "battle.total_troops",
                  "battle.x",
                  "battle.y",
                  "bonus.ammunition_shortage",
                  "bonus.combat_experience",
                  "bonus.international_standing",
                  "bonus.morale",
                  "bonus.research_current",
                  "bonus.research_progress",
                  "bonus.research_total",
                  "bonus_entry.base_value",
                  "bonus_entry.max_value",
                  "bonus_entry.multiplier",
                  "bonus_entry.value",
                  "effect.current",
                  "effect.max",
                  "effect.min",
                  "effect.percent",
                  "effect.value",
                  "budget.base_military_funding_percent",
                  "budget.exchange_rate",
                  "budget.expenditure",
                  "budget.expenditure_percent",
                  "budget.gdp",
                  "budget.gdp_growth",
                  "budget.gdp_per_capita",
                  "budget.global_military_bonus",
                  "budget.immigration",
                  "budget.liquidity_funding",
                  "budget.liquidity_funding_target",
                  "budget.market_rate",
                  "budget.military_bonus",
                  "budget.military_funding",
                  "budget.military_funding_target",
                  "budget.military_growth",
                  "budget.military_rate",
                  "budget.money",
                  "budget.money_growth",
                  "budget.money_production",
                  "budget.population",
                  "budget.population_growth",
                  "budget.research_funding",
                  "budget.research_funding_target",
                  "budget.research_growth",
                  "budget.research_points",
                  "budget.salary",
                  "budget.salary_rate",
                  "budget.social_funding",
                  "budget.social_funding_target",
                  "budget.target_expenditure",
                  "budget.wealth_rate",
                  "coalition.current_fortitude",
                  "coalition.fortitude",
                  "coalition.gdp",
                  "coalition.military_power",
                  "coalition.percent",
                  "coalition.player_gdp",
                  "coalition.player_military_power",
                  "coalition.player_population",
                  "coalition.player_production",
                  "coalition.population",
                  "coalition.production",
                  "coalition.progress",
                  "coalition.weight",
                  "color.alpha",
                  "color.blue",
                  "color.green",
                  "color.hue",
                  "color.red",
                  "color.saturation",
                  "color.value",
                  "country.area",
                  "country.border_count",
                  "country.border_size",
                  "country.death_day",
                  "country.diplomatic_exhaustion",
                  "country.disputed_points",
                  "country.external_shares_sold_percent",
                  "country.fertility",
                  "country.freedom",
                  "country.index",
                  "country.ocean_border_count",
                  "country.ocean_border_size",
                  "country.population",
                  "country.progress",
                  "ai.awake_day",
                  "ai.brain_index",
                  "ai.brain_profile",
                  "ai.brain_speed",
                  "ai.custom_aggressivity",
                  "ai.custom_austerity",
                  "ai.custom_defensivity",
                  "ai.custom_economic_development",
                  "ai.custom_fear",
                  "ai.custom_military_development",
                  "ai.custom_path_strategy",
                  "ai.custom_public_relations",
                  "ai.custom_research_development",
                  "ai.custom_social_development",
                  "ai.high_feuds",
                  "ai.personality_aggressivity",
                  "ai.personality_austerity",
                  "ai.personality_defensivity",
                  "ai.personality_economic_development",
                  "ai.personality_fear",
                  "ai.personality_military_development",
                  "ai.personality_path_strategy",
                  "ai.personality_public_relations",
                  "ai.personality_research_development",
                  "ai.personality_social_development",
                  "ai.template_aggressive",
                  "ai.template_defensive",
                  "ai.template_imperialist",
                  "ai.template_peaceful",
                  "calculations.active_military_ratio",
                  "calculations.ally_ratio",
                  "calculations.defense_balance",
                  "calculations.defense_balance_ratio",
                  "calculations.defense_power",
                  "calculations.defense_power_ratio",
                  "calculations.diplomatic_balance",
                  "calculations.diplomatic_balance_ratio",
                  "calculations.diplomatic_jeopardy",
                  "calculations.dominance",
                  "calculations.domination_tolerance",
                  "calculations.enemy_power",
                  "calculations.fertility_rate",
                  "calculations.jeopardy",
                  "calculations.military_power",
                  "calculations.military_power_ratio",
                  "calculations.money_rate",
                  "calculations.research_rate",
                  "calculations.self_defense_balance_ratio",
                  "calculations.self_defense_power",
                  "claims.claim_point_count",
                  "claims.claimer_point_count",
                  "claims.homeland_point_count",
                  "claims.homelander_point_count",
                  "country_research.cost",
                  "country_research.effective_percent",
                  "country_research.percent",
                  "country_research.required",
                  "country_tech.cost",
                  "country_tech.next_rank_cost",
                  "country_tech.node_percent",
                  "country_tech.percent",
                  "country_tech.required",
                  "date.day",
                  "date.day_of_year",
                  "date.month",
                  "date.year",
                  "economy.base_growth",
                  "economy.base_growth_rate",
                  "economy.base_growth_step",
                  "economy.days_to_target_base_growth",
                  "economy.inflation",
                  "economy.mean_target_base_growth",
                  "economy.money_inflation",
                  "economy.population_inflation",
                  "economy.target_base_growth",
                  "economy.target_base_growth_day",
                  "game.day",
                  "game.delta",
                  "game.goal_target_percent",
                  "game.pace",
                  "game.speed",
                  "ideology.freedom",
                  "ideology.max_freedom",
                  "ideology_effect.percent",
                  "ideology_effect.progress",
                  "ideology_effect.progress_percent",
                  "ideology_effect.source",
                  "ideology_effect.target",
                  "ideology_effect.time",
                  "ideology_perk.cost",
                  "ideology_perk.max_cost",
                  "ideology_perk.percent",
                  "ideology_perk.progress",
                  "ideology_perk.progress_percent",
                  "ideology_perk.source",
                  "ideology_perk.target",
                  "ideology_perk.time",
                  "invasion.clear",
                  "invasion.conquests",
                  "invasion.last_conquest_percent",
                  "invasion.last_conquests",
                  "invasion.loot",
                  "invasion.node_count",
                  "invasion.origin_x",
                  "invasion.origin_y",
                  "invasion.remaining_invasion",
                  "invasion.remaining_resistance",
                  "land_cover.area_effect_cost",
                  "land_cover.code",
                  "land_cover.fertility",
                  "land_cover.travel_cost",
                  "leader.current_age",
                  "leader.current_experience",
                  "leader.current_prime",
                  "leader.current_skill",
                  "leader.max_percent",
                  "leader.next_age",
                  "leader.next_experience",
                  "leader.next_prime",
                  "leader.next_skill",
                  "leader.percent",
                  "list.average_numbers",
                  "list.count",
                  "list.country_gdp_average",
                  "list.country_gdp_max",
                  "list.country_gdp_min",
                  "list.country_gdp_sum",
                  "list.country_military_power_average",
                  "list.country_military_power_max",
                  "list.country_military_power_min",
                  "list.country_military_power_sum",
                  "list.country_population_average",
                  "list.country_population_max",
                  "list.country_population_min",
                  "list.country_population_sum",
                  "list.first_number",
                  "list.max_number",
                  "list.min_number",
                  "list.size",
                  "list.squad_power_average",
                  "list.squad_power_max",
                  "list.squad_power_min",
                  "list.squad_power_sum",
                  "list.squad_troops_average",
                  "list.squad_troops_max",
                  "list.squad_troops_min",
                  "list.squad_troops_sum",
                  "list.sum_numbers",
                  "number.abs",
                  "number.annual_from_daily",
                  "number.cbrt",
                  "number.ceil",
                  "number.cube",
                  "number.daily_from_annual",
                  "number.exp",
                  "number.floor",
                  "number.log",
                  "number.log10",
                  "number.round",
                  "number.sqrt",
                  "number.square",
                  "point.area_at",
                  "point.economy_at",
                  "point.elevation_at",
                  "point.elevation_percent_at",
                  "point.fertility_at",
                  "point.loyalty_at",
                  "point.ocean_at",
                  "point.population_at",
                  "point.slope_at",
                  "point.terrain_at",
                  "point.x",
                  "point.y",
                  "country_ranking.percent",
                  "country_ranking.rank",
                  "country_ranking.value",
                  "ranking.aggregate",
                  "ranking.count",
                  "ranking.mean",
                  "ranking.median",
                  "registry.size",
                  "research.base_time",
                  "research.cost",
                  "research.index",
                  "research.prerequisite",
                  "research.time",
                  "rng.number",
                  "squad.age",
                  "squad.attack",
                  "squad.base_attack",
                  "squad.base_defense",
                  "squad.base_piercing",
                  "squad.base_power",
                  "squad.combat_radius",
                  "squad.creation_day",
                  "squad.death_day",
                  "squad.defense",
                  "squad.id",
                  "squad.personnel",
                  "squad.piercing",
                  "squad.power",
                  "squad.speed",
                  "squad.troops",
                  "squad.weight",
                  "squad.x",
                  "squad.y",
                  "technology.cost",
                  "technology.index",
                  "technology.node",
                  "technology.prerequisite",
                  "technology.ranks",
                  "technology.step",
                  "string.length",
                  "string.to_number",
                  "country_bonus.max_value",
                  "country_bonus.value",
                  "ideology_bonus.base_value",
                  "ideology_bonus.max_value",
                  "ideology_bonus.value",
                  "type_bonus.max_value"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "aoe.required_for",
                  "bonus.effect_type_value",
                  "bonus.multiplier",
                  "bonus.value",
                  "country.border_size_with",
                  "country.border_weight_with",
                  "country.diplomacy",
                  "country.feud",
                  "country.ocean_border_size_at",
                  "country.ocean_border_weight_with",
                  "country.shared_ocean_border_size_with",
                  "ai.feud",
                  "calculations.claim",
                  "calculations.claim_balance",
                  "calculations.defense_ratio",
                  "calculations.diplomacy_rate",
                  "calculations.diplomatic_power_ratio",
                  "calculations.domination_deterrence",
                  "calculations.economic_power_ratio",
                  "calculations.military_overwhelm",
                  "calculations.military_power_ratio_to",
                  "calculations.population_power_ratio",
                  "calculations.power_ratio",
                  "date.days_until",
                  "number.add",
                  "number.div",
                  "number.max",
                  "number.min",
                  "number.mod",
                  "number.mul",
                  "number.pow",
                  "number.random_between",
                  "number.random_gaussian",
                  "number.sub",
                  "point.area",
                  "point.distance_to",
                  "point.economy",
                  "point.elevation",
                  "point.elevation_percent",
                  "point.fertility",
                  "point.loyalty",
                  "point.manhattan_distance_to",
                  "point.ocean",
                  "point.population",
                  "point.slope",
                  "point.terrain",
                  "ranking.percent",
                  "ranking.rank",
                  "ranking.value",
                  "registry.number",
                  "squad.battle_outcome_against",
                  "squad.casualty_balance_against",
                  "squad.combat_rate_against",
                  "squad.estimated_battle_duration_against",
                  "squad.estimated_casualties_against",
                  "squad.estimated_casualty_percent_against",
                  "squad.estimated_enemy_casualties_against",
                  "squad.estimated_enemy_casualty_percent_against",
                  "squad.unit_attack",
                  "squad.unit_consumption",
                  "squad.unit_cost",
                  "squad.unit_defense",
                  "squad.unit_number",
                  "squad.unit_personnel",
                  "squad.unit_piercing",
                  "squad.unit_power",
                  "string.index_of",
                  "string.last_index_of",
                  "type_bonus.value_at"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "map.point_economy",
                  "map.point_loyalty",
                  "map.point_population",
                  "number.clamp",
                  "number.inverse_lerp",
                  "number.lerp",
                  "number.random_triangular",
                  "rng.between",
                  "rng.gaussian"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "rng.triangular"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 4,
                "maxItems": 4
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "number.remap"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["NUMBER", "ANY"]
              },
              "args": {
                "minItems": 5,
                "maxItems": 5
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["battle.location", "country.capital", "invasion.origin", "list.first_point", "squad.location"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["POINT", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["point.from_xy", "registry.point"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["POINT", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "point.translate"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["POINT", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "rankings.area",
                  "rankings.defense",
                  "rankings.diplomacy",
                  "rankings.freedom",
                  "rankings.gdp",
                  "rankings.gdp_growth",
                  "rankings.gdp_per_capita",
                  "rankings.military",
                  "rankings.money",
                  "rankings.population",
                  "rankings.population_growth",
                  "rankings.power",
                  "rankings.progress",
                  "rankings.self_defense"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["RANKING", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country_research.research"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["RESEARCH", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "rng"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["RNG", "ANY"]
              },
              "args": {
                "minItems": 0,
                "maxItems": 0
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["battle.squad1", "battle.squad2", "invasion.squad", "list.first_squad"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["SQUAD", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "squad.task"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["SQUAD_TASK", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "squad.type"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["SQUAD_TYPE", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "aoe.description",
                  "aoe.id",
                  "aoe.name",
                  "bonus_entry.name",
                  "effect.id",
                  "effect.name",
                  "effect_type.description",
                  "effect_type.id",
                  "effect_type.name",
                  "coalition.name",
                  "color.format",
                  "country.code",
                  "country.name",
                  "ai_type.id",
                  "ai_type.name",
                  "country_tech.id",
                  "country_tech.name",
                  "date.format",
                  "ideology.id",
                  "ideology.name",
                  "ideology_effect.id",
                  "ideology_effect.name",
                  "ideology_perk.id",
                  "ideology_perk.name",
                  "land_cover.id",
                  "land_cover.name",
                  "leader.id",
                  "leader.name",
                  "list.first_text",
                  "number.format",
                  "number.format_bonus_percent",
                  "number.format_percent",
                  "research.description",
                  "research.id",
                  "research.name",
                  "technology.description",
                  "technology.id",
                  "technology.name",
                  "string.lowercase",
                  "string.trim",
                  "string.uppercase",
                  "unit.description",
                  "unit.id",
                  "unit.name"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["STRING", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": [
                  "registry.text",
                  "string.after",
                  "string.append",
                  "string.before",
                  "string.left",
                  "string.prepend",
                  "string.remove",
                  "string.repeat",
                  "string.right"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["STRING", "ANY"]
              },
              "args": {
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["string.insert", "string.replace", "string.substring"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["STRING", "ANY"]
              },
              "args": {
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "country_tech.technology"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["TECHNOLOGY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "enum": ["aoe.school", "research.school", "technology.school"]
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["TECH_SCHOOL", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        },
        {
          "if": {
            "properties": {
              "value": {
                "const": "game.economy"
              }
            }
          },
          "then": {
            "properties": {
              "type": {
                "enum": ["WORLD_ECONOMY", "ANY"]
              },
              "args": {
                "minItems": 1,
                "maxItems": 1
              }
            },
            "required": ["args"]
          }
        }
      ]
    },
    "collectionQuery": {
      "type": "object",
      "title": "Collection query",
      "description": "Processes a list (or the numbers 0 to n-1 when collection is a NUMBER). For every item, variable holds the item while filter and map are evaluated.",
      "properties": {
        "operation": {
          "default": "COUNT",
          "oneOf": [
            {
              "const": "FILTER",
              "description": "LIST of the items that pass filter (the original items, not mapped values)."
            },
            {
              "const": "FIRST",
              "description": "The first item that passes filter, or null."
            },
            {
              "const": "RANDOM",
              "description": "A random item that passes filter, using the game's random generator."
            },
            {
              "const": "COUNT",
              "description": "NUMBER of items that pass filter."
            },
            {
              "const": "SUM",
              "description": "NUMBER: sum of map over the items that pass filter."
            },
            {
              "const": "AVERAGE",
              "description": "NUMBER: average of map over the items that pass filter."
            },
            {
              "const": "MIN",
              "description": "NUMBER: smallest map result."
            },
            {
              "const": "MAX",
              "description": "NUMBER: largest map result."
            },
            {
              "const": "MIN_ITEM",
              "description": "The item with the smallest map result."
            },
            {
              "const": "MAX_ITEM",
              "description": "The item with the largest map result."
            }
          ]
        },
        "variable": {
          "type": "string",
          "description": "Name of the local variable holding the current item. When omitted, a name based on the item type is used; naming it explicitly keeps nested queries readable."
        },
        "collection": {
          "$ref": "#/$defs/value",
          "description": "The LIST to process, or a NUMBER n to process 0 to n-1."
        },
        "filter": {
          "$ref": "#/$defs/condition",
          "description": "Items must pass this condition. Omit it to include every item."
        },
        "map": {
          "$ref": "#/$defs/value",
          "description": "NUMBER computed per item. Required by SUM, AVERAGE, MIN, MAX, MIN_ITEM and MAX_ITEM; unused by the others."
        }
      },
      "required": ["collection"],
      "additionalProperties": false,
      "examples": [
        {
          "operation": "COUNT",
          "variable": "c",
          "collection": {
            "kind": "GLOBAL",
            "type": "LIST",
            "elementType": "COUNTRY",
            "value": "active_countries"
          },
          "filter": {
            "kind": "VALUE",
            "left": {
              "kind": "CALL",
              "type": "BOOLEAN",
              "value": "number.greater",
              "args": [
                {
                  "kind": "CALL",
                  "type": "NUMBER",
                  "value": "country.population",
                  "args": [
                    {
                      "kind": "VARIABLE",
                      "type": "COUNTRY",
                      "value": "c"
                    }
                  ]
                },
                {
                  "kind": "CONSTANT",
                  "type": "NUMBER",
                  "value": "100000000"
                }
              ]
            }
          }
        }
      ]
    },
    "conditionKind": {
      "description": "Type of condition node. Default: ALWAYS.",
      "oneOf": [
        {
          "const": "ALWAYS",
          "description": "Always passes. This is the default condition."
        },
        {
          "const": "VALUE",
          "description": "Passes when left evaluates to true. Comparisons are BOOLEAN methods such as number.greater or country.equal."
        },
        {
          "const": "NOT",
          "description": "Passes when its child fails."
        },
        {
          "const": "AND",
          "description": "Passes when every child passes."
        },
        {
          "const": "OR",
          "description": "Passes when at least one child passes."
        },
        {
          "const": "XOR",
          "description": "Passes when an odd number of children pass (with two children: exactly one)."
        },
        {
          "const": "EVERY_IN_COLLECTION",
          "description": "Passes when every item of value passes all children. True for an empty list."
        },
        {
          "const": "ANY_IN_COLLECTION",
          "description": "Passes when at least one item of value passes all children. False for an empty list."
        },
        {
          "const": "COUNT_IN_COLLECTION",
          "description": "Counts the items of value that pass all children, stores the number in the local variable count, then passes when left (a BOOLEAN that can read count) is true."
        }
      ]
    },
    "condition": {
      "type": "object",
      "title": "Condition",
      "description": "A yes/no test built from values. Conditions decide whether a script runs, guard IF actions, filter collection queries and form the result of BOOLEAN functions.",
      "properties": {
        "kind": {
          "$ref": "#/$defs/conditionKind"
        },
        "statements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/action"
          },
          "description": "Setup statements run before this condition is evaluated, for example to store local variables used by it. In collection conditions they run for every item."
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "kind": {
                "const": "VALUE"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/valueCondition"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "enum": ["NOT", "AND", "OR", "XOR"]
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/groupCondition"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "enum": ["EVERY_IN_COLLECTION", "ANY_IN_COLLECTION"]
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/collectionCondition"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "COUNT_IN_COLLECTION"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/countCondition"
          }
        }
      ],
      "unevaluatedProperties": false,
      "examples": [
        {
          "kind": "AND",
          "children": [
            {
              "kind": "VALUE",
              "left": {
                "kind": "CALL",
                "type": "BOOLEAN",
                "value": "country.equal",
                "args": [
                  {
                    "kind": "PARAM",
                    "type": "COUNTRY",
                    "param": "COUNTRY"
                  },
                  {
                    "kind": "CONSTANT",
                    "type": "COUNTRY",
                    "value": "France"
                  }
                ]
              }
            },
            {
              "kind": "NOT",
              "children": [
                {
                  "kind": "VALUE",
                  "left": {
                    "kind": "CALL",
                    "type": "BOOLEAN",
                    "value": "country.is_dead",
                    "args": [
                      {
                        "kind": "PARAM",
                        "type": "COUNTRY",
                        "param": "COUNTRY"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    "valueCondition": {
      "properties": {
        "left": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN value to test."
        }
      },
      "required": ["left"]
    },
    "groupCondition": {
      "properties": {
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/condition"
          },
          "description": "Nested conditions."
        }
      }
    },
    "collectionCondition": {
      "properties": {
        "variable": {
          "type": "string",
          "description": "Name of the local variable holding the current item. Name it explicitly; when omitted a name based on the item type is used."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "The LIST to check, or a NUMBER n to check 0 to n-1."
        },
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/condition"
          },
          "description": "Nested conditions."
        }
      },
      "required": ["value"]
    },
    "countCondition": {
      "properties": {
        "variable": {
          "type": "string",
          "description": "Name of the local variable holding the current item. Name it explicitly; when omitted a name based on the item type is used."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "The LIST to check, or a NUMBER n to check 0 to n-1."
        },
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/condition"
          },
          "description": "Nested conditions."
        },
        "left": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN test evaluated after counting; read the local variable count, for example count >= 3."
        }
      },
      "required": ["value", "left"]
    },
    "actionKind": {
      "description": "Type of action. Default: NOOP.",
      "oneOf": [
        {
          "const": "NOOP",
          "description": "Does nothing."
        },
        {
          "const": "PATCH",
          "description": "Applies a scenario patch written as JSON in text. Placeholders are filled in before it is applied. An advanced escape hatch: prefer COMMAND."
        },
        {
          "const": "COMMAND",
          "description": "Runs a structured command from the command catalog. This is how scripts change the game."
        },
        {
          "const": "MESSAGE",
          "description": "Shows a notification with text."
        },
        {
          "const": "WARN_MESSAGE",
          "description": "Shows a warning notification with text."
        },
        {
          "const": "ALERT_MESSAGE",
          "description": "Shows an alert notification with text."
        },
        {
          "const": "SET_VARIABLE",
          "description": "Stores value in a local variable, available to later actions of the same run."
        },
        {
          "const": "SET_GLOBAL_VARIABLE",
          "description": "Stores value in a shared variable, visible to every script and saved with the game."
        },
        {
          "const": "SET_REGISTRY",
          "description": "Changes an entry of a registry, a saved key-value table."
        },
        {
          "const": "IF",
          "description": "Runs actions only when condition passes."
        },
        {
          "const": "FOR_EACH",
          "description": "Runs actions once per item of value."
        }
      ]
    },
    "action": {
      "type": "object",
      "title": "Action",
      "description": "One step of a script. Actions run from first to last.",
      "properties": {
        "kind": {
          "$ref": "#/$defs/actionKind"
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "kind": {
                "enum": ["PATCH", "MESSAGE", "WARN_MESSAGE", "ALERT_MESSAGE"]
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/textAction"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "COMMAND"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/commandActionNode"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "enum": ["SET_VARIABLE", "SET_GLOBAL_VARIABLE"]
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/assignAction"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "SET_REGISTRY"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/registryAction"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "IF"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/ifAction"
          }
        },
        {
          "if": {
            "properties": {
              "kind": {
                "const": "FOR_EACH"
              }
            },
            "required": ["kind"]
          },
          "then": {
            "$ref": "#/$defs/forEachAction"
          }
        }
      ],
      "unevaluatedProperties": false,
      "examples": [
        {
          "kind": "MESSAGE",
          "text": "Day ${game.day}: ${var.leader} leads the world."
        },
        {
          "kind": "SET_VARIABLE",
          "variable": "leader",
          "value": {
            "kind": "PARAM",
            "type": "COUNTRY",
            "param": "COUNTRY"
          }
        }
      ]
    },
    "textAction": {
      "properties": {
        "text": {
          "$ref": "#/$defs/textTemplate",
          "description": "For PATCH: the patch JSON. For messages: the message text, with placeholders and localized text."
        }
      }
    },
    "commandActionNode": {
      "properties": {
        "command": {
          "$ref": "#/$defs/command"
        }
      },
      "required": ["command"]
    },
    "assignAction": {
      "properties": {
        "variable": {
          "type": "string",
          "minLength": 1,
          "description": "Variable name. Names start with a letter or underscore and continue with letters, digits or underscores; engine value names such as day or player are reserved."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "Value to store. The variable takes its type."
        }
      },
      "required": ["variable", "value"]
    },
    "registryAction": {
      "description": "Registries are saved key-value tables shared by all scripts, useful for per-country state (key them by country). Read them with REGISTRY values and the REGISTRY methods. The registries named script_hud_widgets and script_messages belong to the HUD and message commands: do not write them directly.",
      "properties": {
        "text": {
          "description": "Operation. Default: set.",
          "default": "set",
          "oneOf": [
            {
              "const": "set",
              "description": "Store value under key."
            },
            {
              "const": "append",
              "description": "Add value to the list stored under key."
            },
            {
              "const": "remove",
              "description": "Delete key."
            },
            {
              "const": "clear",
              "description": "Delete every key of the registry."
            }
          ]
        },
        "variable": {
          "type": "string",
          "minLength": 1,
          "description": "Registry name."
        },
        "key": {
          "$ref": "#/$defs/value",
          "description": "Entry key. While value is evaluated, the local variable key holds it."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "Value to store (set and append)."
        }
      },
      "required": ["variable"]
    },
    "ifAction": {
      "properties": {
        "condition": {
          "$ref": "#/$defs/condition"
        },
        "actions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/action"
          },
          "description": "Nested actions, run in order."
        }
      },
      "required": ["condition"]
    },
    "forEachAction": {
      "description": "Each iteration has its own local scope: variables set inside the loop are discarded afterwards. Use shared variables or registries to keep results.",
      "properties": {
        "variable": {
          "type": "string",
          "description": "Name of the local variable holding the current item. Name it explicitly; when omitted a name based on the item type is used."
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "The LIST to iterate, or a NUMBER n to iterate 0 to n-1."
        },
        "actions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/action"
          },
          "description": "Nested actions, run in order."
        }
      },
      "required": ["value"]
    },
    "command.country.set_color": {
      "type": "object",
      "title": "Set country color (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Runtime country map color in RRGGBB/RRGGBBAA format. Required. Suggested value: 171a17a8.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "171a17a8"
          }
        }
      },
      "required": ["country", "color"],
      "additionalProperties": false
    },
    "command.country.modify_data": {
      "type": "object",
      "title": "Country data (Country data) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "field": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: money. Values: money, population, GDP, research points, military unit count.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["money", "population", "GDP", "research points", "military unit count"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "money"
          }
        },
        "unit": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: all. Values: all, infantry.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["all", "infantry"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "all"
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "field", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.set_budget": {
      "type": "object",
      "title": "Budget funding (Country data) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "social": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "research": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "liquidity": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "military": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_capital": {
      "type": "object",
      "title": "Capital (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["country", "point"],
      "additionalProperties": false
    },
    "command.country.rename": {
      "type": "object",
      "title": "Name (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "restore": {
          "$ref": "#/$defs/value",
          "title": "Mode",
          "description": "BOOLEAN. True restores the country's original name instead of setting one. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        },
        "language": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: base. Values: base, current, en, es, fr, de, pt, ru, zh.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["base", "current", "en", "es", "fr", "de", "pt", "ru", "zh"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "base"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Name",
          "description": "STRING. The new name. Required unless restore is true. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.change_flag": {
      "type": "object",
      "title": "Flag (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "restore": {
          "$ref": "#/$defs/value",
          "title": "Mode",
          "description": "BOOLEAN. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Flag",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.change_ideology": {
      "type": "object",
      "title": "Ideology (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Ideology",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.change_leader": {
      "type": "object",
      "title": "Leader (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "role": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: leader. Values: leader, nextLeader.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["leader", "nextLeader"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "leader"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Leader id",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "role", "value"],
      "additionalProperties": false
    },
    "command.country.set_ideology_profile": {
      "type": "object",
      "title": "Ideology (Country ideology) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "ideology": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "leader": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "nextLeader": {
          "$ref": "#/$defs/value",
          "title": "Next leader",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "perks": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "ideology"],
      "additionalProperties": false
    },
    "command.country.restore_flag": {
      "type": "object",
      "title": "Restore flag (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.reset_research": {
      "type": "object",
      "title": "Reset research progress (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_research_profile": {
      "type": "object",
      "title": "R&D (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "reset_all": {
          "$ref": "#/$defs/value",
          "title": "Reset all",
          "description": "BOOLEAN. Reset all tech progress, research current/effective values, and spent school research before applying fields. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        }
      },
      "patternProperties": {
        "^tech\\.": {
          "$ref": "#/$defs/value",
          "description": "NUMBER: progress of the technology with this id (tech.TECH_ID), applied after reset_all. Technology ids come from the scenario."
        },
        "^research\\.": {
          "$ref": "#/$defs/value",
          "description": "NUMBER: current and effective progress of the research branch with this id (research.RESEARCH_ID), applied after reset_all. Research ids come from the scenario."
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_effect": {
      "type": "object",
      "title": "Effect (Country effects) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Target",
          "description": "COUNTRY_OR_COALITION target. A coalition applies to every current normal member at execution time. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY", "COALITION"]
            }
          }
        },
        "effect_type": {
          "$ref": "#/$defs/value",
          "title": "Effect type",
          "description": "CUSTOM_EFFECT. Exact CUSTOM_EFFECT prototype id. Required.",
          "properties": {
            "type": {
              "examples": ["CUSTOM_EFFECT"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Level",
          "description": "NUMBER. Effect level assigned to the target country/countries. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        }
      },
      "required": ["country", "effect_type", "value"],
      "additionalProperties": false
    },
    "command.country.set_bonus_profile": {
      "type": "object",
      "title": "Effects (Country effects) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Target",
          "description": "COUNTRY_OR_COALITION target. A coalition applies to every current normal member at execution time. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY", "COALITION"]
            }
          }
        },
        "reset_base": {
          "$ref": "#/$defs/value",
          "title": "Reset base effects",
          "description": "BOOLEAN. Reset built-in base effects before applying supplied profile fields. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        },
        "clear_effects": {
          "$ref": "#/$defs/value",
          "title": "Clear effects",
          "description": "BOOLEAN. Remove custom effect instances before applying supplied profile fields. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        },
        "bonus.MORALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Level of this built-in bonus. Omitted bonuses keep their level. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "bonus.INTERNATIONAL_STANDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Level of this built-in bonus. Omitted bonuses keep their level. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "bonus.COMBAT_EXPERIENCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Level of this built-in bonus. Omitted bonuses keep their level. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "bonus.AMMUNITION_SHORTAGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Level of this built-in bonus. Omitted bonuses keep their level. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "patternProperties": {
        "^bonus\\.": {
          "$ref": "#/$defs/value",
          "description": "Level of a custom effect, by effect id (bonus.EFFECT_ID). The built-in bonuses are listed as properties. Omitted effects keep their level."
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.reset_base_bonuses": {
      "type": "object",
      "title": "Reset base effects (Country effects) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.clear_effects": {
      "type": "object",
      "title": "Clear effects (Country effects) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.remove_effect": {
      "type": "object",
      "title": "Remove effect (Country effects) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "effect_type": {
          "$ref": "#/$defs/value",
          "title": "Effect type",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "effect_type"],
      "additionalProperties": false
    },
    "command.country.change_diplomacy": {
      "type": "object",
      "title": "Change diplomacy (Diplomacy) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        }
      },
      "required": ["country", "target", "amount", "operation"],
      "additionalProperties": false
    },
    "command.country.set_puppet": {
      "type": "object",
      "title": "Set puppet (Diplomacy) fields",
      "properties": {
        "master": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "puppet": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["master", "puppet"],
      "additionalProperties": false
    },
    "command.country.remove_puppet": {
      "type": "object",
      "title": "Remove puppet (Diplomacy) fields",
      "properties": {
        "master": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "puppet": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["master", "puppet"],
      "additionalProperties": false
    },
    "command.country.clear_puppets": {
      "type": "object",
      "title": "Clear puppets (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_military_unit_count": {
      "type": "object",
      "title": "Set military unit count (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "unit": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: infantry. Values: infantry.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["infantry"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "infantry"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "unit", "amount"],
      "additionalProperties": false
    },
    "command.country.modify_military_unit_count": {
      "type": "object",
      "title": "Modify military unit count (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "unit": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: infantry. Values: infantry.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["infantry"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "infantry"
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "unit", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.create_custom": {
      "type": "object",
      "title": "Create country (Country) fields",
      "properties": {
        "name": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "variable": {
          "$ref": "#/$defs/value",
          "title": "As variable",
          "description": "STRING. Name of a local variable that receives the created object, so later actions can use it. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "flag": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "flagData": {
          "$ref": "#/$defs/value",
          "title": "Embedded flag data",
          "description": "STRING. Base64 game-serialized CustomData flag blob, not ordinary image bytes; use only an editor/export-produced payload. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "land": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: none. Values: none, target country, points, polygon, province, map selection.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "target country", "points", "polygon", "province", "map selection"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Country",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "polygon": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "region": {
          "$ref": "#/$defs/value",
          "title": "Province or region",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["variable"],
      "additionalProperties": false
    },
    "command.country.remove": {
      "type": "object",
      "title": "Remove country (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "recipient": {
          "$ref": "#/$defs/value",
          "title": "Annex territory to",
          "description": "COUNTRY. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_feud": {
      "type": "object",
      "title": "Set feud (Diplomacy) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Feud",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "reason": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "target", "amount"],
      "additionalProperties": false
    },
    "command.country.remove_feud": {
      "type": "object",
      "title": "Remove feud (Diplomacy) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country", "target"],
      "additionalProperties": false
    },
    "command.country.clear_feuds": {
      "type": "object",
      "title": "Clear feuds (Diplomacy) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_ai_profile": {
      "type": "object",
      "title": "AI (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Values: IMPERIALIST, AGGRESSIVE, DEFENSIVE, PEACEFUL.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["IMPERIALIST", "AGGRESSIVE", "DEFENSIVE", "PEACEFUL"]
            }
          }
        },
        "template.IMPERIALIST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Weight of the IMPERIALIST AI template. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "template.AGGRESSIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Weight of the AGGRESSIVE AI template. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "template.DEFENSIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Weight of the DEFENSIVE AI template. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "template.PEACEFUL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Weight of the PEACEFUL AI template. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.AUSTERITY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait AUSTERITY. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.AGGRESSIVITY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait AGGRESSIVITY. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.DEFENSIVITY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait DEFENSIVITY. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.FEAR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait FEAR. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.PUBLIC_RELATIONS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait PUBLIC_RELATIONS. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.SOCIAL_DEVELOPMENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait SOCIAL_DEVELOPMENT. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.ECONOMIC_DEVELOPMENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait ECONOMIC_DEVELOPMENT. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.RESEARCH_DEVELOPMENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait RESEARCH_DEVELOPMENT. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.MILITARY_DEVELOPMENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. AI personality trait MILITARY_DEVELOPMENT. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "personality.PATH_STRATEGY": {
          "$ref": "#/$defs/value",
          "title": "Path strategy",
          "description": "NUMBER. AI personality trait PATH_STRATEGY. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "brain_index": {
          "$ref": "#/$defs/value",
          "title": "Brain index",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "awake_day": {
          "$ref": "#/$defs/value",
          "title": "Inactive until",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "passive_day": {
          "$ref": "#/$defs/value",
          "title": "No attacks until",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.map.annex_selection": {
      "type": "object",
      "title": "Annex land (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Recipient",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "owner_filter": {
          "$ref": "#/$defs/value",
          "title": "Owner rule",
          "description": "BOOLEAN. Optional.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "polygon": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "region": {
          "$ref": "#/$defs/value",
          "title": "Province or region",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.map.add_claims": {
      "type": "object",
      "title": "Add claims (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Cells to claim. Required unless the claim comes from land selections or a target country. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Only target",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "claim": {
          "$ref": "#/$defs/value",
          "title": "Claims",
          "description": "BOOLEAN. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "homeland": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        }
      },
      "required": ["country", "claim", "homeland"],
      "additionalProperties": false
    },
    "command.map.remove_claims": {
      "type": "object",
      "title": "Remove claims (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Cells to release. Required unless the claim comes from land selections or a target country. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Only target",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "claim": {
          "$ref": "#/$defs/value",
          "title": "Claims",
          "description": "BOOLEAN. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "homeland": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        }
      },
      "required": ["country", "claim", "homeland"],
      "additionalProperties": false
    },
    "command.map.liberate_country": {
      "type": "object",
      "title": "Liberate country (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Liberator",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Country to liberate. Can be omitted when land selections or a path choose the land. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "path": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.map.move_capital": {
      "type": "object",
      "title": "Move capital (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "force": {
          "$ref": "#/$defs/value",
          "title": "Allow outside territory",
          "description": "BOOLEAN. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        }
      },
      "required": ["country", "point"],
      "additionalProperties": false
    },
    "command.map.paint_population": {
      "type": "object",
      "title": "Paint population (Map) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.map.paint_economy": {
      "type": "object",
      "title": "Paint economy (Map) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.map.paint_relief": {
      "type": "object",
      "title": "Paint relief (Map) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.map.paint_land_cover": {
      "type": "object",
      "title": "Paint land cover (Map) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.map.paint_ocean": {
      "type": "object",
      "title": "Paint ocean (Map) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.map.add_lake": {
      "type": "object",
      "title": "Add lake (Map) fields",
      "properties": {
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "command.map.remove_lake": {
      "type": "object",
      "title": "Remove lake (Map) fields",
      "properties": {
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "command.map.add_river": {
      "type": "object",
      "title": "Add river (Map) fields",
      "properties": {
        "points": {
          "$ref": "#/$defs/value",
          "title": "Path",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "command.map.remove_river": {
      "type": "object",
      "title": "Remove river (Map) fields",
      "properties": {
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "command.map.render_points": {
      "type": "object",
      "title": "Render points (Map) fields",
      "properties": {
        "drawable": {
          "$ref": "#/$defs/value",
          "description": "STRING. Skin drawable name; iconData may provide an imported Base64 image instead. Required. Suggested value: point. Values: point, circle, square.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["point", "circle", "square"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "point"
          }
        },
        "scale": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Base icon size in map units. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "zoomScale": {
          "$ref": "#/$defs/value",
          "title": "Zoom scale",
          "description": "STRING. Zoom-out compensation: none, cbrt, sqrt, or smooth. Optional. Default: none. Values: none, smooth, cbrt, sqrt.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "smooth", "cbrt", "sqrt"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "densityScale": {
          "$ref": "#/$defs/value",
          "title": "Device scaling",
          "description": "STRING. ui follows device/UI density; uniform uses the same 32-pixel reference on all devices. Optional. Default: uniform. Values: uniform, ui.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["uniform", "ui"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "uniform"
          }
        },
        "x": {
          "$ref": "#/$defs/value",
          "title": "Horizontal offset",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "y": {
          "$ref": "#/$defs/value",
          "title": "Vertical offset",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "rotation": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "animation": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: none. Values: none, pulse, fade, blink, float, swing.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "pulse", "fade", "blink", "float", "swing"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "speed": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "strength": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "phase": {
          "$ref": "#/$defs/value",
          "title": "Animation phase",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "z": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Positive values draw after animated routes; zero and negative values remain in the cached map pass. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "enabled": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Optional tint. Expressions run per point with owner, point, x, and y variables. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "motion": {
          "$ref": "#/$defs/value",
          "title": "Animation",
          "description": "STRING. Animation: a timeline JSON object serialized in the string (see motionTimeline); empty disables it. Run the action once to start playback; it then continues on its own, even while the game is paused. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/motionTimeline"
                    }
                  }
                }
              }
            }
          ]
        },
        "motionKey": {
          "$ref": "#/$defs/value",
          "title": "Restart value",
          "description": "ANY. Restart value of any type. It is evaluated each time the action runs and compared as text: a different value restarts the animation, the same value lets it continue. Ignored when the timeline uses the shared ui clock. Optional."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional STRING: Base64 image (PNG recommended) used for every point instead of drawable. Animated icons use the keyframes1: payload the editor produces when importing a GIF. At most 524288 characters (6291456 for animated keyframes)."
        }
      },
      "required": ["drawable", "scale"],
      "additionalProperties": false
    },
    "command.map.render_path": {
      "type": "object",
      "title": "Render path (Map) fields",
      "properties": {
        "path": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Ordered LIST of POINT literal x,y;x,y;...; at least two points. Required.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "width": {
          "$ref": "#/$defs/value",
          "title": "Line width",
          "description": "NUMBER. Main stroke width in screen pixels. Required. Suggested value: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "zoomWidth": {
          "$ref": "#/$defs/value",
          "title": "Scale",
          "description": "NUMBER. Independent legacy close-zoom width boost, clamped from 0 to 4. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "zoomScale": {
          "$ref": "#/$defs/value",
          "title": "Zoom scale",
          "description": "STRING. Device-independent relative width curve: none, cbrt, sqrt, or smooth. Optional. Default: none. Values: none, smooth, cbrt, sqrt.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "smooth", "cbrt", "sqrt"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Main RRGGBB/RRGGBBAA stroke tint. Required. Suggested value: ffffffc0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "ffffffc0"
          }
        },
        "outlineWidth": {
          "$ref": "#/$defs/value",
          "title": "Outline width",
          "description": "NUMBER. Additional screen-pixel outline width; zero disables it. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "outlineColor": {
          "$ref": "#/$defs/value",
          "title": "Outline color",
          "description": "COLOR. Outline tint and alpha. Optional. Default: 111820b0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "111820b0"
          }
        },
        "pattern": {
          "$ref": "#/$defs/value",
          "description": "STRING. solid, dashed, dotted, or sprites. Optional. Default: solid. Values: solid, dashed, dotted, sprites.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["solid", "dashed", "dotted", "sprites"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "solid"
          }
        },
        "dashLength": {
          "$ref": "#/$defs/value",
          "title": "Dash length",
          "description": "NUMBER. Length of each dashed mark in map units. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "gapLength": {
          "$ref": "#/$defs/value",
          "title": "Gap length",
          "description": "NUMBER. Gap length in map units for dashed/dotted patterns. Optional. Default: 6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "6"
          }
        },
        "gapOpacity": {
          "$ref": "#/$defs/value",
          "title": "Gap opacity",
          "description": "NUMBER. 0..1 opacity of the continuous base stroke visible through pattern gaps. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "dotSize": {
          "$ref": "#/$defs/value",
          "title": "Dot size",
          "description": "NUMBER. Multiplier for dotted mark diameter relative to width. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "drawable": {
          "$ref": "#/$defs/value",
          "description": "STRING. Marker drawable used only by pattern=sprites; iconData may supply a custom image. Optional. Values: point, circle, square.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["point", "circle", "square"]
            }
          }
        },
        "spriteSpacing": {
          "$ref": "#/$defs/value",
          "title": "Sprite spacing",
          "description": "NUMBER. Distance between sprite markers in map units. Optional. Default: 12.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "12"
          }
        },
        "spriteSize": {
          "$ref": "#/$defs/value",
          "title": "Sprite size",
          "description": "NUMBER. Sprite marker size in screen pixels. Optional. Default: 24.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "24"
          }
        },
        "spriteRotation": {
          "$ref": "#/$defs/value",
          "title": "Sprite rotation",
          "description": "NUMBER. Additional marker rotation in degrees. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "spriteAlign": {
          "$ref": "#/$defs/value",
          "title": "Sprite alignment",
          "description": "STRING. path follows the path tangent; fixed remains screen-upright. Optional. Default: path. Values: path, fixed.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["path", "fixed"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "path"
          }
        },
        "spriteZoomScale": {
          "$ref": "#/$defs/value",
          "title": "Sprite zoom scale",
          "description": "STRING. Zoom curve for spriteSize: none, cbrt, sqrt, or smooth. Optional. Default: none. Values: none, smooth, cbrt, sqrt.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "smooth", "cbrt", "sqrt"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "mode": {
          "$ref": "#/$defs/value",
          "description": "STRING. sprite=batch stroke; geometry=cached vector; animated_geometry/live geometry for moving vector patterns; geometry_view is an alias. Optional. Default: sprite. Values: sprite, geometry, animated_geometry, geometry_view.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["sprite", "geometry", "animated_geometry", "geometry_view"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "sprite"
          }
        },
        "speed": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Pattern travel speed in map units per second; zero is static and negative reverses direction. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "phase": {
          "$ref": "#/$defs/value",
          "title": "Position",
          "description": "NUMBER. Initial pattern offset in map units. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "enabled": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. False hides this retained path without removing the script. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "smooth": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. True draws a spline through the control points. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "closed": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. True connects the final point back to the first; false is an open polyline. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "motion": {
          "$ref": "#/$defs/value",
          "title": "Animation",
          "description": "STRING. Animation: a timeline JSON object serialized in the string (see motionTimeline); empty disables it. Run the action once to start playback; it then continues on its own, even while the game is paused. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/motionTimeline"
                    }
                  }
                }
              }
            }
          ]
        },
        "motionKey": {
          "$ref": "#/$defs/value",
          "title": "Restart value",
          "description": "ANY. Restart value of any type. It is evaluated each time the action runs and compared as text: a different value restarts the animation, the same value lets it continue. Ignored when the timeline uses the shared ui clock. Optional."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional STRING: Base64 PNG used for the markers of pattern=sprites instead of drawable. At most 524288 characters (6291456 for animated keyframes)."
        }
      },
      "required": ["path", "width", "color"],
      "additionalProperties": false
    },
    "command.map.render_polygon": {
      "type": "object",
      "title": "Render polygon (Map) fields",
      "properties": {
        "polygon": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT forming the boundary, at least three points; it closes automatically. Required unless territory is set. Optional.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "territory": {
          "$ref": "#/$defs/value",
          "title": "Country territory",
          "description": "COUNTRY. A COUNTRY whose current territory is drawn instead of polygon. Each separate piece of territory is animated around its own pivot. This only changes what is drawn, never ownership. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "fill": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Whether to draw the solid/texture fill. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "fillColor": {
          "$ref": "#/$defs/value",
          "title": "Color",
          "description": "COLOR. Fill tint/alpha; also tints an optional texture. Required. Suggested value: ffffff30.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "ffffff30"
          }
        },
        "drawable": {
          "$ref": "#/$defs/value",
          "title": "Fill texture",
          "description": "STRING. Optional skin texture; iconData may provide an imported Base64 image. Omit for a plain color fill. Optional. Values: point, circle, square.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["point", "circle", "square"]
            }
          }
        },
        "textureMode": {
          "$ref": "#/$defs/value",
          "title": "Texture mode",
          "description": "STRING. stretch once, repeat tiles, or mirror alternating tiles. Optional. Default: stretch. Values: stretch, repeat, mirror.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["stretch", "repeat", "mirror"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "stretch"
          }
        },
        "textureScale": {
          "$ref": "#/$defs/value",
          "title": "Texture scale",
          "description": "NUMBER. Shared repeat/mirror tile size in map units. Optional. Default: 32.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "32"
          }
        },
        "textureScaleX": {
          "$ref": "#/$defs/value",
          "title": "Texture scale x",
          "description": "NUMBER. Positive value overrides textureScale on X; zero uses textureScale. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "textureScaleY": {
          "$ref": "#/$defs/value",
          "title": "Texture scale y",
          "description": "NUMBER. Positive value overrides textureScale on Y; zero uses textureScale. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "textureRotation": {
          "$ref": "#/$defs/value",
          "title": "Texture rotation",
          "description": "NUMBER. Texture rotation in degrees without rebuilding polygon geometry. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "textureOffsetX": {
          "$ref": "#/$defs/value",
          "title": "Texture offset x",
          "description": "NUMBER. Texture X offset in map units. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "textureOffsetY": {
          "$ref": "#/$defs/value",
          "title": "Texture offset y",
          "description": "NUMBER. Texture Y offset in map units. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "textureAnchor": {
          "$ref": "#/$defs/value",
          "title": "Texture anchor",
          "description": "STRING. polygon uses local bounds; world keeps texture coordinates aligned to the map. Optional. Default: polygon. Values: polygon, world.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["polygon", "world"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "polygon"
          }
        },
        "outline": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Whether to draw the boundary outline. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "outlineWidth": {
          "$ref": "#/$defs/value",
          "title": "Outline width",
          "description": "NUMBER. Boundary width in screen pixels. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "outlineColor": {
          "$ref": "#/$defs/value",
          "title": "Outline color",
          "description": "COLOR. Boundary tint and alpha. Optional. Default: ffffffa0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "ffffffa0"
          }
        },
        "enabled": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. False hides this retained polygon without removing the script. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "motion": {
          "$ref": "#/$defs/value",
          "title": "Animation",
          "description": "STRING. Animation: a timeline JSON object serialized in the string (see motionTimeline); empty disables it. Run the action once to start playback; it then continues on its own, even while the game is paused. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/motionTimeline"
                    }
                  }
                }
              }
            }
          ]
        },
        "motionKey": {
          "$ref": "#/$defs/value",
          "title": "Restart value",
          "description": "ANY. Restart value of any type. It is evaluated each time the action runs and compared as text: a different value restarts the animation, the same value lets it continue. Ignored when the timeline uses the shared ui clock. Optional."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional STRING: Base64 PNG used as the fill texture instead of drawable. At most 524288 characters (6291456 for animated keyframes)."
        }
      },
      "required": ["fill", "fillColor", "outline"],
      "anyOf": [
        {
          "required": ["polygon"]
        },
        {
          "required": ["territory"]
        }
      ],
      "additionalProperties": false
    },
    "command.map.render_circles": {
      "type": "object",
      "title": "Render circles (Map) fields",
      "properties": {
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT; one circle is rendered at each coordinate. Required.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        },
        "radius": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Circle radius in screen pixels. Required. Suggested value: 6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "6"
          }
        },
        "fill": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Whether to render circle interiors. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "fillColor": {
          "$ref": "#/$defs/value",
          "title": "Color",
          "description": "COLOR. Interior tint and alpha. Required. Suggested value: 11182040.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "11182040"
          }
        },
        "outline": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Whether to render circle boundaries. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "outlineWidth": {
          "$ref": "#/$defs/value",
          "title": "Outline width",
          "description": "NUMBER. Boundary width in screen pixels. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "outlineColor": {
          "$ref": "#/$defs/value",
          "title": "Outline color",
          "description": "COLOR. Boundary tint and alpha. Optional. Default: ffffffa0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "ffffffa0"
          }
        },
        "latitudeScale": {
          "$ref": "#/$defs/value",
          "title": "Latitude scale",
          "description": "BOOLEAN. Compensates horizontal radius for projected latitude; ignored on flat maps. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "motion": {
          "$ref": "#/$defs/value",
          "title": "Animation",
          "description": "STRING. Animation: a timeline JSON object serialized in the string (see motionTimeline); empty disables it. Run the action once to start playback; it then continues on its own, even while the game is paused. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/motionTimeline"
                    }
                  }
                }
              }
            }
          ]
        },
        "motionKey": {
          "$ref": "#/$defs/value",
          "title": "Restart value",
          "description": "ANY. Restart value of any type. It is evaluated each time the action runs and compared as text: a different value restarts the animation, the same value lets it continue. Ignored when the timeline uses the shared ui clock. Optional."
        }
      },
      "required": ["points", "radius", "fill", "fillColor", "outline"],
      "additionalProperties": false
    },
    "command.map.render_text": {
      "type": "object",
      "title": "Render text (Map) fields",
      "properties": {
        "point": {
          "$ref": "#/$defs/value",
          "title": "Position",
          "description": "POINT anchor on the map. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "text": {
          "$ref": "#/$defs/value",
          "description": "STRING. Multiline STRING or localized text map with script placeholders evaluated when the action runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "size": {
          "$ref": "#/$defs/value",
          "title": "Text size",
          "description": "NUMBER. Capital-letter height in map units, default 1, clamped to 0..2048. Zero hides the label. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Text tint and alpha as RRGGBB/RRGGBBAA, default opaque white. Required. Suggested value: ffffffff.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "ffffffff"
          }
        },
        "textStyle": {
          "$ref": "#/$defs/value",
          "title": "Style",
          "description": "STRING. Any HUD font preset: tiny, small, small-bold, default, bold, medium, medium-big, big or title. Uses the current skin/language fonts. Optional. Default: default. Values: tiny, small, small-bold, default, bold, medium, medium-big, big, title.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["tiny", "small", "small-bold", "default", "bold", "medium", "medium-big", "big", "title"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "default"
          }
        },
        "zoomScale": {
          "$ref": "#/$defs/value",
          "title": "Zoom scale",
          "description": "STRING. Zoom compensation as for points: none, cbrt, sqrt or smooth. None scales directly with the map. Optional. Default: none. Values: none, smooth, cbrt, sqrt.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "smooth", "cbrt", "sqrt"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "densityScale": {
          "$ref": "#/$defs/value",
          "title": "Device scaling",
          "description": "STRING. Optional. Default: uniform. Values: uniform, ui.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["uniform", "ui"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "uniform"
          }
        },
        "align": {
          "$ref": "#/$defs/value",
          "title": "Content alignment",
          "description": "STRING. Text anchor at point: top_left/top_center/top_right/center_left/center/center_right/bottom_left/bottom_center/bottom_right. Also aligns individual lines. Optional. Default: center. Values: top_left, top_center, top_right, center_left, center, center_right, bottom_left, bottom_center, bottom_right.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": [
                "top_left",
                "top_center",
                "top_right",
                "center_left",
                "center",
                "center_right",
                "bottom_left",
                "bottom_center",
                "bottom_right"
              ]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "center"
          }
        },
        "width": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Map-unit wrap width; 0 uses natural width and explicit newlines only. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "x": {
          "$ref": "#/$defs/value",
          "title": "Horizontal offset",
          "description": "NUMBER. Screen-pixel horizontal offset from the map anchor; positive is right. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "y": {
          "$ref": "#/$defs/value",
          "title": "Vertical offset",
          "description": "NUMBER. Screen-pixel vertical offset from the map anchor; positive is up. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "rotation": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Counterclockwise rotation in degrees around the anchor. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "backgroundStyle": {
          "$ref": "#/$defs/value",
          "title": "Background style",
          "description": "STRING. Any HUD panel preset: none, toolbar-default, window-default, plain, frame-round-secondary, frame-round-dim-secondary, list-secondary, dialog-secondary or tooltip-dark-secondary. Optional. Default: none. Values: none, toolbar-default, window-default, plain, frame-round-secondary, frame-round-dim-secondary, list-secondary, dialog-secondary, tooltip-dark-secondary.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": [
                "none",
                "toolbar-default",
                "window-default",
                "plain",
                "frame-round-secondary",
                "frame-round-dim-secondary",
                "list-secondary",
                "dialog-secondary",
                "tooltip-dark-secondary"
              ]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "backgroundColor": {
          "$ref": "#/$defs/value",
          "title": "Background",
          "description": "COLOR. RGBA tint and alpha for the optional background. Optional. Default: 111820b0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "111820b0"
          }
        },
        "padding": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Background padding in sixteenths of the text's capital height; default 4. Panel borders supply minimum padding. Optional. Default: 4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4"
          }
        },
        "shadowColor": {
          "$ref": "#/$defs/value",
          "title": "Shadow color",
          "description": "COLOR. RGBA shadow tint; transparent disables the shadow. Optional. Default: 000000a0.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "COLOR",
            "value": "000000a0"
          }
        },
        "shadowOffset": {
          "$ref": "#/$defs/value",
          "title": "Shadow offset",
          "description": "NUMBER. Down/right shadow distance in sixteenths of the text's capital height; default 1.5, zero disables it. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "animation": {
          "$ref": "#/$defs/value",
          "description": "STRING. none, pulse (size), fade (opacity), blink, float (vertical motion), or swing (rotation). Optional. Default: none. Values: none, pulse, fade, blink, float, swing.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "pulse", "fade", "blink", "float", "swing"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        },
        "speed": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Animation cycles per second; default 0.5. Zero disables motion, negative reverses it. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "strength": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Animation strength 0..1; default 1. Zero disables motion. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "phase": {
          "$ref": "#/$defs/value",
          "title": "Animation phase",
          "description": "NUMBER. Animation offset in cycles; 0.5 is half a cycle. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "z": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Text ordering within its pass. Positive values raise text to the foreground after routes and point icons. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "enabled": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. False hides the retained label; defaults true. Skipping the action retains its previous appearance. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "motion": {
          "$ref": "#/$defs/value",
          "title": "Animation",
          "description": "STRING. Animation: a timeline JSON object serialized in the string (see motionTimeline); empty disables it. Run the action once to start playback; it then continues on its own, even while the game is paused. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/motionTimeline"
                    }
                  }
                }
              }
            }
          ]
        },
        "motionKey": {
          "$ref": "#/$defs/value",
          "title": "Restart value",
          "description": "ANY. Restart value of any type. It is evaluated each time the action runs and compared as text: a different value restarts the animation, the same value lets it continue. Ignored when the timeline uses the shared ui clock. Optional."
        }
      },
      "required": ["point", "text", "size", "color"],
      "additionalProperties": false
    },
    "command.squad.spawn_militia": {
      "type": "object",
      "title": "Spawn militia (Squads) fields",
      "properties": {
        "point": {
          "$ref": "#/$defs/value",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "defender": {
          "$ref": "#/$defs/value",
          "title": "Militia country",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "attacker": {
          "$ref": "#/$defs/value",
          "title": "Against",
          "description": "COUNTRY. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "militians": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "title": "Militia type",
          "description": "STRING. Required. Suggested value: NORMAL. Values: NORMAL, REBELLION, REBELLION_SPAWN, INCURSION, PRIORITY.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["NORMAL", "REBELLION", "REBELLION_SPAWN", "INCURSION", "PRIORITY"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "NORMAL"
          }
        }
      },
      "required": ["point", "defender", "attacker", "militians", "type"],
      "additionalProperties": false
    },
    "command.squad.create": {
      "type": "object",
      "title": "Create squad (Squads) fields",
      "properties": {
        "owner": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The owning country. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "title": "Squad type",
          "description": "SQUAD_TYPE. Required. Suggested value: CONTROLLABLE.",
          "properties": {
            "type": {
              "examples": ["SQUAD_TYPE"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "SQUAD_TYPE",
            "value": "CONTROLLABLE"
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "title": "Position",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "variable": {
          "$ref": "#/$defs/value",
          "title": "As variable",
          "description": "STRING. Name of a local variable that receives the created object, so later actions can use it. Required. Suggested value: created_squad.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "created_squad"
          }
        }
      },
      "required": ["owner", "type", "point", "variable"],
      "additionalProperties": false
    },
    "command.squad.remove": {
      "type": "object",
      "title": "Remove squad (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        }
      },
      "required": ["squad"],
      "additionalProperties": false
    },
    "command.squad.set_unit_count": {
      "type": "object",
      "title": "Squad units (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: SET. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SET"
          }
        }
      },
      "patternProperties": {
        "^unit\\.": {
          "$ref": "#/$defs/value",
          "description": "NUMBER of units of the unit type with this id (unit.UNIT_ID). Unit ids come from the scenario."
        }
      },
      "required": ["squad", "operation"],
      "additionalProperties": false
    },
    "command.squad.move": {
      "type": "object",
      "title": "Squad position (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "title": "Destination",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["squad", "point"],
      "additionalProperties": false
    },
    "command.squad.set_task": {
      "type": "object",
      "title": "Set squad task (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "task": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: none. Values: none, move, attack, defend, retreat, patrol.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["none", "move", "attack", "defend", "retreat", "patrol"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "none"
          }
        }
      },
      "required": ["squad", "task"],
      "additionalProperties": false
    },
    "command.squad.task_move": {
      "type": "object",
      "title": "Move squad (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "title": "Destination",
          "description": "POINT. A map position. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "strategy": {
          "$ref": "#/$defs/value",
          "title": "Path strategy",
          "description": "NUMBER. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        }
      },
      "required": ["squad", "point"],
      "additionalProperties": false
    },
    "command.squad.task_patrol": {
      "type": "object",
      "title": "Patrol path (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "path": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Required.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["squad", "path"],
      "additionalProperties": false
    },
    "command.squad.task_attack_country": {
      "type": "object",
      "title": "Attack country (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Target country",
          "description": "COUNTRY. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "title": "Attack point",
          "description": "POINT. A map position. Optional.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "strategy": {
          "$ref": "#/$defs/value",
          "title": "Path strategy",
          "description": "NUMBER. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        }
      },
      "required": ["squad", "target"],
      "additionalProperties": false
    },
    "command.squad.task_attack_squad": {
      "type": "object",
      "title": "Attack squad (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Target squad",
          "description": "SQUAD. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        }
      },
      "required": ["squad", "target"],
      "additionalProperties": false
    },
    "command.squad.task_defend": {
      "type": "object",
      "title": "Defend country (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "title": "Target country",
          "description": "COUNTRY. The other country involved. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "point": {
          "$ref": "#/$defs/value",
          "title": "Defense point",
          "description": "POINT. A map position. Optional.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "strategy": {
          "$ref": "#/$defs/value",
          "title": "Path strategy",
          "description": "NUMBER. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        }
      },
      "required": ["squad", "target"],
      "additionalProperties": false
    },
    "command.squad.task_retreat": {
      "type": "object",
      "title": "Retreat (Squads) fields",
      "properties": {
        "squad": {
          "$ref": "#/$defs/value",
          "description": "SQUAD. The squad the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["SQUAD"]
            }
          }
        },
        "strategy": {
          "$ref": "#/$defs/value",
          "title": "Path strategy",
          "description": "NUMBER. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        }
      },
      "required": ["squad"],
      "additionalProperties": false
    },
    "command.squad.remove_owned": {
      "type": "object",
      "title": "Remove country squads (Squads) fields",
      "properties": {
        "owner": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The owning country. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "title": "Squad type",
          "description": "SQUAD_TYPE. Optional.",
          "properties": {
            "type": {
              "examples": ["SQUAD_TYPE"]
            }
          }
        }
      },
      "required": ["owner"],
      "additionalProperties": false
    },
    "command.squad.remove_in_area": {
      "type": "object",
      "title": "Remove squads in area (Squads) fields",
      "properties": {
        "center": {
          "$ref": "#/$defs/value",
          "description": "POINT. Required.",
          "properties": {
            "type": {
              "examples": ["POINT"]
            }
          }
        },
        "radius": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "owner": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The owning country. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "title": "Squad type",
          "description": "SQUAD_TYPE. Optional.",
          "properties": {
            "type": {
              "examples": ["SQUAD_TYPE"]
            }
          }
        }
      },
      "required": ["center", "radius"],
      "additionalProperties": false
    },
    "command.squad.modify_owned_unit_count": {
      "type": "object",
      "title": "Modify country squads (Squads) fields",
      "properties": {
        "owner": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The owning country. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "type": {
          "$ref": "#/$defs/value",
          "title": "Squad type",
          "description": "SQUAD_TYPE. Optional.",
          "properties": {
            "type": {
              "examples": ["SQUAD_TYPE"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        }
      },
      "patternProperties": {
        "^unit\\.": {
          "$ref": "#/$defs/value",
          "description": "NUMBER of units of the unit type with this id (unit.UNIT_ID). Unit ids come from the scenario."
        }
      },
      "required": ["owner", "operation"],
      "additionalProperties": false
    },
    "command.coalition.create": {
      "type": "object",
      "title": "Create coalition (Diplomacy) fields",
      "properties": {
        "name": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: Coalition.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "Coalition"
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "fortitude": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["name", "fortitude"],
      "additionalProperties": false
    },
    "command.coalition.edit": {
      "type": "object",
      "title": "Edit coalition (Diplomacy) fields",
      "properties": {
        "coalition": {
          "$ref": "#/$defs/value",
          "description": "COALITION. The coalition the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COALITION"]
            }
          }
        },
        "name": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "fortitude": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["coalition"],
      "additionalProperties": false
    },
    "command.coalition.add_member": {
      "type": "object",
      "title": "Add coalition country (Diplomacy) fields",
      "properties": {
        "coalition": {
          "$ref": "#/$defs/value",
          "description": "COALITION. The coalition the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COALITION"]
            }
          }
        },
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["coalition", "country"],
      "additionalProperties": false
    },
    "command.coalition.remove_member": {
      "type": "object",
      "title": "Remove coalition country (Diplomacy) fields",
      "properties": {
        "coalition": {
          "$ref": "#/$defs/value",
          "description": "COALITION. The coalition the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COALITION"]
            }
          }
        },
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["coalition", "country"],
      "additionalProperties": false
    },
    "command.coalition.remove": {
      "type": "object",
      "title": "Remove coalition (Diplomacy) fields",
      "properties": {
        "coalition": {
          "$ref": "#/$defs/value",
          "description": "COALITION. The coalition the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COALITION"]
            }
          }
        }
      },
      "required": ["coalition"],
      "additionalProperties": false
    },
    "command.style.map_style": {
      "type": "object",
      "title": "Map style (Map style) fields",
      "properties": {
        "map_color.LIGHT": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.OCEAN_OUTLINE_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Ocean outline",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.RIVER_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Freshwater",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.BORDER_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Borders",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.CONQUEST_STRIPE_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Contested zones",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TRUCE_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Truces",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.SELECTION_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Relief selection",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.SELECTION_OUTLINE_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Relief selection outline",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.HOVER_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Relief hover",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.UNH_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Uninhabitable land",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.UNH_OUTLINE_COLOR": {
          "$ref": "#/$defs/value",
          "title": "Uninhabitable land outline",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.SQUAD_FLAG": {
          "$ref": "#/$defs/value",
          "title": "Troop squads flag color",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_GO_TO": {
          "$ref": "#/$defs/value",
          "title": "Go to",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_ATTACK": {
          "$ref": "#/$defs/value",
          "title": "Attack",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_DEFEND": {
          "$ref": "#/$defs/value",
          "title": "Protect",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_PATROL": {
          "$ref": "#/$defs/value",
          "title": "Patrol",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_RETREAT": {
          "$ref": "#/$defs/value",
          "title": "Retreat",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_color.TASK_DUMMY": {
          "$ref": "#/$defs/value",
          "title": "Task preview",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Broadleaf_Evergreen_Forest": {
          "$ref": "#/$defs/value",
          "title": "Broadleaf evergreen forest",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Broadleaf_Deciduous_Forest": {
          "$ref": "#/$defs/value",
          "title": "Broadleaf deciduous forest",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Needleleaf_Evergreen_Forest": {
          "$ref": "#/$defs/value",
          "title": "Needleleaf evergreen forest",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Needleleaf_Deciduous_Forest": {
          "$ref": "#/$defs/value",
          "title": "Needleleaf deciduous forest",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Mixed_Forest": {
          "$ref": "#/$defs/value",
          "title": "Mixed forest",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Tree_Open": {
          "$ref": "#/$defs/value",
          "title": "Sparse trees",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Shrub": {
          "$ref": "#/$defs/value",
          "title": "Shrubland",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Herbaceous": {
          "$ref": "#/$defs/value",
          "title": "Grassland",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Herbaceous_with_Sparse_Tree__Shrub": {
          "$ref": "#/$defs/value",
          "title": "Mixed grassland",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Sparse_vegetation": {
          "$ref": "#/$defs/value",
          "title": "Sparse vegetation",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Cropland": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Paddy_field": {
          "$ref": "#/$defs/value",
          "title": "Paddy field",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Cropland__Other_Vegetation_Mosaic": {
          "$ref": "#/$defs/value",
          "title": "Mixed cropland",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Mangrove": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Wetland": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Bare_area_consolidated": {
          "$ref": "#/$defs/value",
          "title": "Rocky desert",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Bare_area_unconsolidated": {
          "$ref": "#/$defs/value",
          "title": "Sand desert",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Urban": {
          "$ref": "#/$defs/value",
          "title": "Urban area",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Snow__Ice": {
          "$ref": "#/$defs/value",
          "title": "Ice",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Unnavigable": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Wasteland": {
          "$ref": "#/$defs/value",
          "title": "Nuclear wasteland",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "land_cover.Sea_Ice": {
          "$ref": "#/$defs/value",
          "title": "Sea ice",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ELEVATION_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Relief 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ELEVATION_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Relief 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ELEVATION_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Relief 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ELEVATION_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Relief 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ELEVATION_COLORS.4": {
          "$ref": "#/$defs/value",
          "title": "Relief 5",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.OCEAN_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Oceans 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.OCEAN_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Oceans 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.OCEAN_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Oceans 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.OCEAN_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Oceans 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.OCEAN_COLORS.4": {
          "$ref": "#/$defs/value",
          "title": "Oceans 5",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_COLORS.4": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy 5",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_OUTLINE_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy: outline 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_OUTLINE_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy: outline 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_OUTLINE_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy: outline 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_OUTLINE_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy: outline 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.DIPLOMACY_OUTLINE_COLORS.4": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy: outline 5",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.4": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 5",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.SQUAD_COLORS.5": {
          "$ref": "#/$defs/value",
          "title": "Troop squads 6",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.POPULATION_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Population 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.POPULATION_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Population 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.POPULATION_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Population 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.POPULATION_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Population 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ECONOMY_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Economy 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ECONOMY_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Economy 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ECONOMY_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Economy 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.ECONOMY_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Economy 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.MILITARY_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Military 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.MILITARY_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Military 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.MILITARY_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Military 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.MILITARY_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Military 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.FREEDOM_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Political freedom 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.FREEDOM_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Political freedom 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.FREEDOM_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Political freedom 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.TERRAIN_COLORS.0": {
          "$ref": "#/$defs/value",
          "title": "Terrain 1",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.TERRAIN_COLORS.1": {
          "$ref": "#/$defs/value",
          "title": "Terrain 2",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.TERRAIN_COLORS.2": {
          "$ref": "#/$defs/value",
          "title": "Terrain 3",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_colors.TERRAIN_COLORS.3": {
          "$ref": "#/$defs/value",
          "title": "Terrain 4",
          "description": "COLOR. Map style color. Omitted colors keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "map_property.BORDER_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Border width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.OUTLINE_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Outline width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.RIVERS_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Rivers width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.OUTLINE_SATURATION": {
          "$ref": "#/$defs/value",
          "title": "Outline saturation",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.OUTLINE_BRIGHTNESS": {
          "$ref": "#/$defs/value",
          "title": "Outline brightness",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.OUTLINE_ALPHA_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Outline alpha factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.HOVER_SATURATION_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Hover saturation factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.HOVER_BRIGHTNESS_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Hover brightness factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.HOVER_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Hover alpha",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_SATURATION_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Selection saturation factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_BRIGHTNESS_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Selection brightness factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Selection alpha",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_OUTLINE_SATURATION_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Selection outline saturation factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_OUTLINE_BRIGHTNESS_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Selection outline brightness factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_OUTLINE_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Selection outline alpha",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_OUTLINE_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Selection outline width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SELECTION_BORDER_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Selection border width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.TEXT_SATURATION": {
          "$ref": "#/$defs/value",
          "title": "Text saturation",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.TEXT_BRIGHTNESS": {
          "$ref": "#/$defs/value",
          "title": "Text brightness",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.TEXT_ALPHA_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Text alpha factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CAPITAL_SIZE": {
          "$ref": "#/$defs/value",
          "title": "Capital cities size",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CAPITAL_SATURATION": {
          "$ref": "#/$defs/value",
          "title": "Capital cities saturation factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CAPITAL_BRIGHTNESS": {
          "$ref": "#/$defs/value",
          "title": "Capital cities brightness factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CAPITAL_ALPHA_FACTOR": {
          "$ref": "#/$defs/value",
          "title": "Capital cities alpha factor",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.SQUAD_SIZE": {
          "$ref": "#/$defs/value",
          "title": "Troop squad size",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_SATURATION": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: saturation",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_BRIGHTNESS": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: brightness",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: alpha",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_LEVEL": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: level",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_BORDER_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: border opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_OUTLINE_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: outline opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_STRIPE_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_STRIPE_SPACING": {
          "$ref": "#/$defs/value",
          "title": "Contested zones: spacing",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONQUEST_ROUNDNESS": {
          "$ref": "#/$defs/value",
          "title": "Roundness of conquest borders",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CONSOLIDATED_CONQUEST_ROUNDNESS": {
          "$ref": "#/$defs/value",
          "title": "Roundness of consolidated borders",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CLAIM_STRIPE_WIDTH": {
          "$ref": "#/$defs/value",
          "title": "Territory claims: width",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CLAIM_STRIPE_SPACING": {
          "$ref": "#/$defs/value",
          "title": "Territory claims: spacing",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.CLAIM_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Territory claims: opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.COALITION_HUE": {
          "$ref": "#/$defs/value",
          "title": "Coalitions: hue",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.COALITION_SATURATION": {
          "$ref": "#/$defs/value",
          "title": "Coalitions: saturation",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.COALITION_BRIGHTNESS": {
          "$ref": "#/$defs/value",
          "title": "Coalitions: brightness",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.COALITION_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Coalitions: opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.NON_COALITION_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Non-coalition: opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.PUPPET_SCALE": {
          "$ref": "#/$defs/value",
          "title": "Puppet states: sovereign flag scale",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_property.PUPPET_ALPHA": {
          "$ref": "#/$defs/value",
          "title": "Puppet states: sovereign flag opacity",
          "description": "NUMBER. Map style setting. Omitted settings keep their current value. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "map_option.BLEND_MODE": {
          "$ref": "#/$defs/value",
          "title": "Blend mode",
          "description": "STRING. Map style setting. Omitted settings keep their current value. Optional. Values: ADD, MULTIPLY, SUBTRACT.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["ADD", "MULTIPLY", "SUBTRACT"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "command.config.custom_settings": {
      "type": "object",
      "title": "Custom settings (Configuration) fields",
      "properties": {
        "setting.AI_REACTIVITY": {
          "$ref": "#/$defs/value",
          "title": "AI reactivity",
          "description": "NUMBER. Custom game setting AI_REACTIVITY, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AI_AGGRESSIVENESS": {
          "$ref": "#/$defs/value",
          "title": "AI bias: aggressiveness",
          "description": "NUMBER. Custom game setting AI_AGGRESSIVENESS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AI_PROXIMITY_BIAS": {
          "$ref": "#/$defs/value",
          "title": "AI bias: proximity",
          "description": "NUMBER. Custom game setting AI_PROXIMITY_BIAS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AI_DIPLOMACY_BIAS": {
          "$ref": "#/$defs/value",
          "title": "AI bias: diplomacy",
          "description": "NUMBER. Custom game setting AI_DIPLOMACY_BIAS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AI_ALLIANCES_BIAS": {
          "$ref": "#/$defs/value",
          "title": "AI bias: alliances",
          "description": "NUMBER. Custom game setting AI_ALLIANCES_BIAS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AI_DETERRANCE_BIAS": {
          "$ref": "#/$defs/value",
          "title": "AI bias: domination deterrence",
          "description": "NUMBER. Custom game setting AI_DETERRANCE_BIAS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MONEY_PRODUCTION": {
          "$ref": "#/$defs/value",
          "title": "Money production",
          "description": "NUMBER. Custom game setting MONEY_PRODUCTION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.RESEARCH_PRODUCTION": {
          "$ref": "#/$defs/value",
          "title": "Research production",
          "description": "NUMBER. Custom game setting RESEARCH_PRODUCTION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.POPULATION_GROWTH": {
          "$ref": "#/$defs/value",
          "title": "Population growth",
          "description": "NUMBER. Custom game setting POPULATION_GROWTH, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.GDP_GROWTH": {
          "$ref": "#/$defs/value",
          "title": "GDP growth",
          "description": "NUMBER. Custom game setting GDP_GROWTH, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITARY_GROWTH": {
          "$ref": "#/$defs/value",
          "title": "Military decay",
          "description": "NUMBER. Custom game setting MILITARY_GROWTH, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.INVESTMENT_YIELD": {
          "$ref": "#/$defs/value",
          "title": "Investment yield",
          "description": "NUMBER. Custom game setting INVESTMENT_YIELD, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.FINANCIAL_MICROMANAGEMENT": {
          "$ref": "#/$defs/value",
          "title": "Financial micromanagement",
          "description": "NUMBER. Custom game setting FINANCIAL_MICROMANAGEMENT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.REFORM_TIME": {
          "$ref": "#/$defs/value",
          "title": "Reform deadline",
          "description": "NUMBER. Custom game setting REFORM_TIME, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TRAINING_PARALLELISM": {
          "$ref": "#/$defs/value",
          "title": "Training parallelism",
          "description": "NUMBER. Custom game setting TRAINING_PARALLELISM, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONSCRIPTION": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Custom game setting CONSCRIPTION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TROOP_SPEED": {
          "$ref": "#/$defs/value",
          "title": "Troops speed",
          "description": "NUMBER. Custom game setting TROOP_SPEED, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TROOP_TRAIN_TIME": {
          "$ref": "#/$defs/value",
          "title": "Troops training time",
          "description": "NUMBER. Custom game setting TROOP_TRAIN_TIME, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TROOP_COST": {
          "$ref": "#/$defs/value",
          "title": "Troops cost",
          "description": "NUMBER. Custom game setting TROOP_COST, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TROOP_CONSUMPTION": {
          "$ref": "#/$defs/value",
          "title": "Troops maintenance cost",
          "description": "NUMBER. Custom game setting TROOP_CONSUMPTION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.SQUAD_DST_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "title": "Troops maintenance cost scaling: distance",
          "description": "NUMBER. Custom game setting SQUAD_DST_CONSUMPTION_SCALE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.SQUAD_DIPLOMACY_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "title": "Troops maintenance cost scaling: diplomacy",
          "description": "NUMBER. Custom game setting SQUAD_DIPLOMACY_CONSUMPTION_SCALE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.SQUAD_TERRAIN_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "title": "Troops maintenance cost scaling: terrain",
          "description": "NUMBER. Custom game setting SQUAD_TERRAIN_CONSUMPTION_SCALE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.SQUAD_SIGHT_DISTANCE": {
          "$ref": "#/$defs/value",
          "title": "Troops sight distance",
          "description": "NUMBER. Custom game setting SQUAD_SIGHT_DISTANCE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.COMBAT_DISTANCE": {
          "$ref": "#/$defs/value",
          "title": "Combat distance",
          "description": "NUMBER. Custom game setting COMBAT_DISTANCE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_SPEED": {
          "$ref": "#/$defs/value",
          "title": "Battle speed",
          "description": "NUMBER. Custom game setting BATTLE_SPEED, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_HOME_ADVANTAGE": {
          "$ref": "#/$defs/value",
          "title": "Battle defending advantage",
          "description": "NUMBER. Custom game setting BATTLE_HOME_ADVANTAGE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_RNG": {
          "$ref": "#/$defs/value",
          "title": "Battle randomness",
          "description": "NUMBER. Custom game setting BATTLE_RNG, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_AOE_DAMAGE": {
          "$ref": "#/$defs/value",
          "title": "Battle territory damage",
          "description": "NUMBER. Custom game setting BATTLE_AOE_DAMAGE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.REBELLIONS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Custom game setting REBELLIONS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_SPAWN": {
          "$ref": "#/$defs/value",
          "title": "Militias size",
          "description": "NUMBER. Custom game setting MILITIA_SPAWN, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_SPAWN_INCURSION": {
          "$ref": "#/$defs/value",
          "title": "Militias size: incursions",
          "description": "NUMBER. Custom game setting MILITIA_SPAWN_INCURSION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_SPAWN_REBELLION": {
          "$ref": "#/$defs/value",
          "title": "Militias size: rebellions",
          "description": "NUMBER. Custom game setting MILITIA_SPAWN_REBELLION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_SPAWN_RECONQUEST": {
          "$ref": "#/$defs/value",
          "title": "Militias size: reconquest",
          "description": "NUMBER. Custom game setting MILITIA_SPAWN_RECONQUEST, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_SPAWN_CLAIM": {
          "$ref": "#/$defs/value",
          "title": "Militias size: claims",
          "description": "NUMBER. Custom game setting MILITIA_SPAWN_CLAIM, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MILITIA_STRENGTH": {
          "$ref": "#/$defs/value",
          "title": "Militias strength",
          "description": "NUMBER. Custom game setting MILITIA_STRENGTH, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.GUARD_SPAWN": {
          "$ref": "#/$defs/value",
          "title": "Size of reserve forces",
          "description": "NUMBER. Custom game setting GUARD_SPAWN, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.GUARD_STRENGTH": {
          "$ref": "#/$defs/value",
          "title": "Strength of reserve forces",
          "description": "NUMBER. Custom game setting GUARD_STRENGTH, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CLAIM_DURATION": {
          "$ref": "#/$defs/value",
          "title": "Claim duration",
          "description": "NUMBER. Custom game setting CLAIM_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.SURRENDER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Custom game setting SURRENDER, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_SPEED": {
          "$ref": "#/$defs/value",
          "title": "Conquests: overall speed",
          "description": "NUMBER. Custom game setting CONQUEST_SPEED, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_SPEED_MULT": {
          "$ref": "#/$defs/value",
          "title": "Conquests: strength multiplier",
          "description": "NUMBER. Custom game setting CONQUEST_SPEED_MULT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_STRENGTH_SCALING": {
          "$ref": "#/$defs/value",
          "title": "Conquests strength scaling",
          "description": "NUMBER. Custom game setting CONQUEST_STRENGTH_SCALING, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_ATT": {
          "$ref": "#/$defs/value",
          "title": "Conquest attenuation",
          "description": "NUMBER. Custom game setting CONQUEST_ATT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_POP_ATT": {
          "$ref": "#/$defs/value",
          "title": "Conquest attenuation: population",
          "description": "NUMBER. Custom game setting CONQUEST_POP_ATT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CONQUEST_TERRAIN_ATT": {
          "$ref": "#/$defs/value",
          "title": "Conquest attenuation: terrain",
          "description": "NUMBER. Custom game setting CONQUEST_TERRAIN_ATT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.DIPLOMACY_SPREAD": {
          "$ref": "#/$defs/value",
          "title": "Diplomacy spread",
          "description": "NUMBER. Custom game setting DIPLOMACY_SPREAD, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.DIPLOMATIC_ACTION_COST": {
          "$ref": "#/$defs/value",
          "title": "Diplomatic actions cost",
          "description": "NUMBER. Custom game setting DIPLOMATIC_ACTION_COST, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.RANDOM_EVENTS_CHANCE": {
          "$ref": "#/$defs/value",
          "title": "Random events chance",
          "description": "NUMBER. Custom game setting RANDOM_EVENTS_CHANCE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.RANDOM_EVENTS_SCALE": {
          "$ref": "#/$defs/value",
          "title": "Random events magnitude",
          "description": "NUMBER. Custom game setting RANDOM_EVENTS_SCALE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.RECESSIONS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Custom game setting RECESSIONS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AOE_EFFECT": {
          "$ref": "#/$defs/value",
          "title": "R&D final projects scaling",
          "description": "NUMBER. Custom game setting AOE_EFFECT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MORALE": {
          "$ref": "#/$defs/value",
          "title": "Morale: impact",
          "description": "NUMBER. Custom game setting MORALE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MORALE_ATTENUATION": {
          "$ref": "#/$defs/value",
          "title": "Morale: attenuation",
          "description": "NUMBER. Custom game setting MORALE_ATTENUATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.MORALE_DURATION": {
          "$ref": "#/$defs/value",
          "title": "Morale: duration",
          "description": "NUMBER. Custom game setting MORALE_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.INTERNATIONAL_STANDING": {
          "$ref": "#/$defs/value",
          "title": "International standing: impact",
          "description": "NUMBER. Custom game setting INTERNATIONAL_STANDING, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.INTERNATIONAL_STANDING_ATTENUATION": {
          "$ref": "#/$defs/value",
          "title": "International standing: attenuation",
          "description": "NUMBER. Custom game setting INTERNATIONAL_STANDING_ATTENUATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.INTERNATIONAL_STANDING_DURATION": {
          "$ref": "#/$defs/value",
          "title": "International standing: duration",
          "description": "NUMBER. Custom game setting INTERNATIONAL_STANDING_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.COMBAT_EXPERIENCE": {
          "$ref": "#/$defs/value",
          "title": "Combat experience: impact",
          "description": "NUMBER. Custom game setting COMBAT_EXPERIENCE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.COMBAT_EXPERIENCE_ATTENUATION": {
          "$ref": "#/$defs/value",
          "title": "Combat experience: attenuation",
          "description": "NUMBER. Custom game setting COMBAT_EXPERIENCE_ATTENUATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.COMBAT_EXPERIENCE_DURATION": {
          "$ref": "#/$defs/value",
          "title": "Combat experience: duration",
          "description": "NUMBER. Custom game setting COMBAT_EXPERIENCE_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AMMUNITION_SHORTAGE": {
          "$ref": "#/$defs/value",
          "title": "Ammunition shortage: impact",
          "description": "NUMBER. Custom game setting AMMUNITION_SHORTAGE, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AMMUNITION_SHORTAGE_ATTENUATION": {
          "$ref": "#/$defs/value",
          "title": "Ammunition shortage: attenuation",
          "description": "NUMBER. Custom game setting AMMUNITION_SHORTAGE_ATTENUATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.AMMUNITION_SHORTAGE_DURATION": {
          "$ref": "#/$defs/value",
          "title": "Ammunition shortage: duration",
          "description": "NUMBER. Custom game setting AMMUNITION_SHORTAGE_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_POWER_DIFFERENTIAL": {
          "$ref": "#/$defs/value",
          "title": "Power differential effect",
          "description": "NUMBER. Custom game setting BATTLE_POWER_DIFFERENTIAL, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BATTLE_STAT_IMPACT": {
          "$ref": "#/$defs/value",
          "title": "Stat combination impact",
          "description": "NUMBER. Custom game setting BATTLE_STAT_IMPACT, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.ECONOMIC_AID_EFFICIENCY": {
          "$ref": "#/$defs/value",
          "title": "Economic aid efficiency",
          "description": "NUMBER. Custom game setting ECONOMIC_AID_EFFICIENCY, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TRUCE_DURATION": {
          "$ref": "#/$defs/value",
          "title": "Truce duration",
          "description": "NUMBER. Custom game setting TRUCE_DURATION, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CLAIM_LIBERATION_CAPACITY": {
          "$ref": "#/$defs/value",
          "title": "Territorial claims: liberation capacity",
          "description": "NUMBER. Custom game setting CLAIM_LIBERATION_CAPACITY, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.CLAIM_LIBERATION_DELAY": {
          "$ref": "#/$defs/value",
          "title": "Territorial claims: liberation delay",
          "description": "NUMBER. Custom game setting CLAIM_LIBERATION_DELAY, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.TIME_DELTA": {
          "$ref": "#/$defs/value",
          "title": "Time delta",
          "description": "NUMBER. Custom game setting TIME_DELTA, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        },
        "setting.BORDERING_ANNEXATIONS": {
          "$ref": "#/$defs/value",
          "title": "Bordering annexations",
          "description": "NUMBER. Custom game setting BORDERING_ANNEXATIONS, as in the scenario's settings. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "additionalProperties": false
    },
    "options.curve": {
      "type": "string",
      "description": "Accepted values of param.DOMINATION_DETERRENCE_CURVE and of other fields with the same choices.",
      "examples": [
        "LINEAR",
        "SINE_OUT",
        "POW2_OUT",
        "CIRCLE_OUT",
        "CIRCLE_IN",
        "POW2_IN",
        "SINE_IN",
        "SLIGHT",
        "SLIGHT_INV",
        "SFS",
        "EXP5_OUT",
        "EXP5_IN",
        "REVERSE",
        "SMOOTH",
        "SMOOTH2",
        "FADE",
        "POW2",
        "POW2_IN_INVERSE",
        "POW2_OUT_INVERSE",
        "SQUARE_INVERSE",
        "POW3",
        "POW3_IN",
        "POW3_OUT",
        "POW3_IN_INVERSE",
        "POW3_OUT_INVERSE",
        "POW4",
        "POW4_IN",
        "POW4_OUT",
        "POW5",
        "POW5_IN",
        "POW5_OUT",
        "SINE",
        "SINE_INVERSE",
        "EXP10",
        "EXP10_IN",
        "EXP10_OUT",
        "EXP100_OUT",
        "EXP5",
        "CIRCLE",
        "ELASTIC",
        "ELASTIC_IN",
        "ELASTIC_OUT",
        "SWING",
        "SWING_IN",
        "SWING_OUT",
        "BOUNCE",
        "BOUNCE_IN",
        "BOUNCE_OUT"
      ]
    },
    "command.config.advanced_params": {
      "type": "object",
      "title": "Advanced params (Configuration) fields",
      "properties": {
        "param.PAUSABLE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PAUSABLE. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.SAVE_MODE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SAVE_MODE. Optional. Default: MANUAL. Values: MANUAL, AUTOMATIC, NONE.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MANUAL", "AUTOMATIC", "NONE"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "MANUAL"
          }
        },
        "param.MOBILE_SAVE_MODE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MOBILE_SAVE_MODE. Optional. Default: MANUAL. Values: MANUAL, AUTOMATIC, NONE.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MANUAL", "AUTOMATIC", "NONE"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "MANUAL"
          }
        },
        "param.RANDOM_COUNTRY": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter RANDOM_COUNTRY. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.FLAT": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter FLAT. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MAX_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_DAYS. Optional. Default: 1000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000"
          }
        },
        "param.MIN_PACE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MIN_PACE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.MAX_PACE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_PACE. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.MAX_REPLAY_PACE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_REPLAY_PACE. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.DEFAULT_PACE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DEFAULT_PACE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.TARGET_SECONDS_PER_DAY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TARGET_SECONDS_PER_DAY. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.DELTA_CAP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DELTA_CAP. Optional. Default: 11.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "11"
          }
        },
        "param.BANKRUPT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BANKRUPT_THRESHOLD. Optional. Default: 1.0E-8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-8"
          }
        },
        "param.BANKRUPT_AREA_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BANKRUPT_AREA_THRESHOLD. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.GOAL_RAMPUP_INTERVAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_RAMPUP_INTERVAL. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.GOAL_TYPE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter GOAL_TYPE. Optional. Default: GDP. Values: GDP, POPULATION, AREA, MILITARY, POWER, NONE.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["GDP", "POPULATION", "AREA", "MILITARY", "POWER", "NONE"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "GDP"
          }
        },
        "param.GOAL_START_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_START_VALUE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.GOAL_INFLECTION_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_INFLECTION_VALUE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.GOAL_MIN_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_MIN_VALUE. Optional. Default: 0.33.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.33"
          }
        },
        "param.GOAL_MULT1": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_MULT1. Optional. Default: 0.95.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.95"
          }
        },
        "param.GOAL_EXP1": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_EXP1. Optional. Default: 0.95.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.95"
          }
        },
        "param.GOAL_MULT2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_MULT2. Optional. Default: 1.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.01"
          }
        },
        "param.GOAL_EXP2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GOAL_EXP2. Optional. Default: 1.0155.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0155"
          }
        },
        "param.HIDE_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter HIDE_BUDGET. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.HIDE_BONUSES": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter HIDE_BONUSES. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.HIDE_PRODUCTION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter HIDE_PRODUCTION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.CANCELLABLE_RECRUITMENT": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter CANCELLABLE_RECRUITMENT. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.ANONYMOUS_PLAYER_LEVEL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ANONYMOUS_PLAYER_LEVEL. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.DOMINANCE_ALERT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DOMINANCE_ALERT_THRESHOLD. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.DOMINATION_DETERRENCE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DOMINATION_DETERRENCE_THRESHOLD. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.COALITION_DOMINATION_DETERRENCE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COALITION_DOMINATION_DETERRENCE_THRESHOLD. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.AI_DETERRENCE_BIAS_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_DETERRENCE_BIAS_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.DOMINATION_DETERRENCE_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter DOMINATION_DETERRENCE_CURVE. Optional. Default: CIRCLE_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "CIRCLE_IN"
          }
        },
        "param.COALITION_DOMINATION_DETERRENCE_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter COALITION_DOMINATION_DETERRENCE_CURVE. Optional. Default: CIRCLE_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "CIRCLE_IN"
          }
        },
        "param.DOMINATION_TOLERANCE_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter DOMINATION_TOLERANCE_CURVE. Optional. Default: SINE_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_IN"
          }
        },
        "param.DIPLOMACY_START_STDEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_START_STDEV. Optional. Default: 4.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0"
          }
        },
        "param.DIPLOMACY_ATT_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_ATT_MULT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.DIPLOMACY_ATT_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_ATT_OFFSET. Optional. Default: 450.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "450.0"
          }
        },
        "param.DIPLOMACY_SPREAD_SYMMETRIC_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_SYMMETRIC_MULT. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.DIPLOMACY_SPREAD_SYMMETRIC_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_SYMMETRIC_BASE. Optional. Default: 0.33.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.33"
          }
        },
        "param.DIPLOMACY_SPREAD_SYMMETRIC_OTHER_MULT2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_SYMMETRIC_OTHER_MULT2. Optional. Default: 1.33E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.33E-4"
          }
        },
        "param.DIPLOMACY_SPREAD_SYMMETRIC_OTHER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_SYMMETRIC_OTHER_MULT. Optional. Default: 0.0066.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0066"
          }
        },
        "param.DIPLOMACY_SPREAD_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.DIPLOMACY_SPREAD_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_BASE. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.DIPLOMACY_SPREAD_OTHER_MULT2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_OTHER_MULT2. Optional. Default: -4.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-4.0E-4"
          }
        },
        "param.DIPLOMACY_SPREAD_OTHER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_OTHER_MULT. Optional. Default: 0.04.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.04"
          }
        },
        "param.DIPLOMACY_SPREAD_NEGATIVE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_NEGATIVE_MULT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.DIPLOMACY_SPREAD_OUTPUT_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_SPREAD_OUTPUT_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.DIPLOMACY_SPREAD_LIMIT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter DIPLOMACY_SPREAD_LIMIT_CURVE. Optional. Default: EXP5_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "EXP5_OUT"
          }
        },
        "param.ALLIANCE_RIVAL_COALITIONS": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter ALLIANCE_RIVAL_COALITIONS. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.ECONOMIC_AID_RIVAL_COALITIONS": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter ECONOMIC_AID_RIVAL_COALITIONS. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.ECONOMIC_ACTION_EFFICIENCY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMIC_ACTION_EFFICIENCY. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.DIPLOMATIC_ACTION_DEMILITARIZED_GDP_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMATIC_ACTION_DEMILITARIZED_GDP_THRESHOLD. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.DIPLOMATIC_ACTION_DEMILITARIZED_GDP_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMATIC_ACTION_DEMILITARIZED_GDP_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.ECONOMIC_ACTION_BASE_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMIC_ACTION_BASE_WEIGHT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.ECONOMIC_ACTION_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMIC_ACTION_STEP. Optional. Default: 5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5"
          }
        },
        "param.ECONOMIC_ACTION_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMIC_ACTION_EXP. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.ECONOMIC_ACTION_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMIC_ACTION_SCALE. Optional. Default: 800.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "800.0"
          }
        },
        "param.PEACE_TREATY_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PEACE_TREATY_FACTOR. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.SOCIAL_ENGINEERING_BASE_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_ENGINEERING_BASE_WEIGHT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.SOCIAL_ENGINEERING_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_ENGINEERING_EXP. Optional. Default: 0.6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.6"
          }
        },
        "param.SOCIAL_ENGINEERING_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_ENGINEERING_SCALE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.MIN_PEACE_TRUCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MIN_PEACE_TRUCE. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.MAX_PEACE_TRUCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_PEACE_TRUCE. Optional. Default: 10000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000"
          }
        },
        "param.MIN_ALLIANCE_TRUCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MIN_ALLIANCE_TRUCE. Optional. Default: 5000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000"
          }
        },
        "param.MAX_ALLIANCE_TRUCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_ALLIANCE_TRUCE. Optional. Default: 12000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "12000"
          }
        },
        "param.TRUCE_BREAK_PENALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TRUCE_BREAK_PENALTY. Optional. Default: 1000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000"
          }
        },
        "param.TRUCE_MEAN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TRUCE_MEAN. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.TRUCE_STDV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TRUCE_STDV. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.TRUCE_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TRUCE_MIN. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.TRUCE_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter TRUCE_MAX. Optional. Default: 0.99.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.99"
          }
        },
        "param.AI_MODE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_MODE. Optional. Default: DEFAULT. Values: DEFAULT, FREE_FOR_ALL, COALITION.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["DEFAULT", "FREE_FOR_ALL", "COALITION"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "DEFAULT"
          }
        },
        "param.AI_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_OFFSET. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.AI_NUM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_NUM. Optional. Default: 23.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "23"
          }
        },
        "param.AI_IMPERIALIST_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_IMPERIALIST_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_AGGRESSIVE_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_AGGRESSIVE_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_RIVAL_COALITION_PROGRESS_RATIO": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RIVAL_COALITION_PROGRESS_RATIO. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.AI_IMPERIALIST_BUDGET_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IMPERIALIST_BUDGET_THRESHOLD. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_IMPERIALIST_RANK": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IMPERIALIST_RANK. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.AI_IMPERIALIST_RANDOM_RANK": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IMPERIALIST_RANDOM_RANK. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "param.AI_TEMPLATE_MUTE_PROB": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_TEMPLATE_MUTE_PROB. Optional. Default: 0.0025.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0025"
          }
        },
        "param.AI_TEMPLATE_MUTE_MILITARY_BIAS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_TEMPLATE_MUTE_MILITARY_BIAS. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_TEMPLATE_MUTE_POWER_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_TEMPLATE_MUTE_POWER_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.AI_TYPE_MUTE_PROB": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_TYPE_MUTE_PROB. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.AI_TYPE_MUTE_PUPPET": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_TYPE_MUTE_PUPPET. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_BRAIN_MUTE_PROB": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BRAIN_MUTE_PROB. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.AI_TRAIT_MAP_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_TRAIT_MAP_CURVE. Optional. Default: SMOOTH. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SMOOTH"
          }
        },
        "param.AI_DIMENSION_POWER_SMALL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_POWER_SMALL. Optional. Default: 0.002.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.002"
          }
        },
        "param.AI_DIMENSION_POWER_MEDIUM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_POWER_MEDIUM. Optional. Default: 0.005.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.005"
          }
        },
        "param.AI_DIMENSION_POWER_BIG": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_POWER_BIG. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.AI_DIMENSION_POWER_SUPERPOWER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_POWER_SUPERPOWER. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.AI_DIMENSION_GDPPC_VERY_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_GDPPC_VERY_LOW. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_DIMENSION_GDPPC_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_GDPPC_LOW. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.AI_DIMENSION_GDPPC_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_GDPPC_HIGH. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.AI_DIMENSION_GDPPC_VERY_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_GDPPC_VERY_HIGH. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_DIMENSION_MILITARY_VERY_WEAK": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_MILITARY_VERY_WEAK. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_DIMENSION_MILITARY_WEAK": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_MILITARY_WEAK. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_DIMENSION_MILITARY_STRONG": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_MILITARY_STRONG. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.AI_DIMENSION_MIL_FUNDING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_MIL_FUNDING_HIGH. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.AI_DIMENSION_HYSTERESIS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIMENSION_HYSTERESIS. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_AWAKE_MAX_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_AWAKE_MAX_TIME. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.AI_MIN_AWAKE_MAX_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_MIN_AWAKE_MAX_TIME. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "param.PLAYER_AI_DELAY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PLAYER_AI_DELAY. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.AI_CONCEDE_CLAIMS_EXCHANGE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_CONCEDE_CLAIMS_EXCHANGE. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_DIPLOMATIC_ACTION_GUARD_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIPLOMATIC_ACTION_GUARD_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_DIPLOMATIC_ACTION_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DIPLOMATIC_ACTION_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_ALLIANCE_MIN_TREATY_AGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_MIN_TREATY_AGE. Optional. Default: 500.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "500"
          }
        },
        "param.AI_ALLIANCE_MIN_BUDGET_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_MIN_BUDGET_SCALE. Optional. Default: 1.0E7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E7"
          }
        },
        "param.AI_ALLIANCE_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_MIN_BUDGET. Optional. Default: 5000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000000.0"
          }
        },
        "param.AI_ALLIANCE_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.AI_ALLIANCE_SAVINGS_GROWTH_FLOOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_SAVINGS_GROWTH_FLOOR. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.AI_ALLIANCE_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLIANCE_SAVINGS_MONEY_DAYS. Optional. Default: 365.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "365.0"
          }
        },
        "param.AI_PEACE_MIN_BUDGET_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PEACE_MIN_BUDGET_SCALE. Optional. Default: 5000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000000.0"
          }
        },
        "param.AI_PEACE_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PEACE_MIN_BUDGET. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.AI_DIPLOMATIC_MIN_BUDGET_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_DIPLOMATIC_MIN_BUDGET_CURVE. Optional. Default: CIRCLE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "CIRCLE_OUT"
          }
        },
        "param.AI_PEACE_DEFENSE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PEACE_DEFENSE_THRESHOLD. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_SOCIAL_ENGINERING_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_SOCIAL_ENGINERING_MIN_BUDGET. Optional. Default: 20000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20000.0"
          }
        },
        "param.AI_AOE_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_AOE_MIN_BUDGET. Optional. Default: 2000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2000000.0"
          }
        },
        "param.AI_AOE_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_AOE_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.AI_AOE_SAVINGS_GROWTH_FLOOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_AOE_SAVINGS_GROWTH_FLOOR. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.AI_AOE_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_AOE_SAVINGS_MONEY_DAYS. Optional. Default: 365.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "365.0"
          }
        },
        "param.AI_BUDGET_MIN_MONEY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BUDGET_MIN_MONEY. Optional. Default: 1.0E7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E7"
          }
        },
        "param.AI_BUDGET_MIN_SOCIAL_SPENDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BUDGET_MIN_SOCIAL_SPENDING. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.AI_BUDGET_SOCIAL_SPENDING_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BUDGET_SOCIAL_SPENDING_MULT. Optional. Default: 0.35.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.35"
          }
        },
        "param.AI_RESEARCH_EXPECTED_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_EXPECTED_TIME. Optional. Default: 1000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000"
          }
        },
        "param.AI_RESEARCH_EXPECTED_TIME_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_EXPECTED_TIME_EXP. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_RESEARCH_EXPECTED_TIME_MIN_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_EXPECTED_TIME_MIN_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_RESEARCH_PROGRESS_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_PROGRESS_MULT. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.AI_RESEARCH_AOE_PROGRESS_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_AOE_PROGRESS_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_RESEARCH_DISCOUNT_SCHOOL_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_DISCOUNT_SCHOOL_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_RESEARCH_DISCOUNT_PROGRESS_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_DISCOUNT_PROGRESS_MULT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.AI_RESEARCH_DISCOUNT_PROGRESS_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_DISCOUNT_PROGRESS_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_RESEARCH_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RESEARCH_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_IDEOLOGY_MIN_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_MIN_TIME. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.AI_IDEOLOGY_MEAN_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_MEAN_TIME. Optional. Default: 10000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000"
          }
        },
        "param.AI_IDEOLOGY_MAX_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_MAX_TIME. Optional. Default: 100000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100000"
          }
        },
        "param.AI_IDEOLOGY_STABILITY_TIME": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_STABILITY_TIME. Optional. Default: 5000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000"
          }
        },
        "param.AI_IDEOLOGY_PERK_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_PERK_STEP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_IDEOLOGY_PERK_ADD_NOISE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_PERK_ADD_NOISE. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.AI_IDEOLOGY_PERK_SUBTRACT_NOISE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_PERK_SUBTRACT_NOISE. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.AI_IDEOLOGY_MAX_EXHAUSTIVE_PERKS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_MAX_EXHAUSTIVE_PERKS. Optional. Default: 4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4"
          }
        },
        "param.AI_IDEOLOGY_FREEDOM_PENALTY_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_FREEDOM_PENALTY_OFFSET. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_IDEOLOGY_FREEDOM_PENALTY_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_FREEDOM_PENALTY_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_IDEOLOGY_LEADER_ACTIVE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_LEADER_ACTIVE_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_IDEOLOGY_LEADER_AGE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_LEADER_AGE_MULT. Optional. Default: 0.33.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.33"
          }
        },
        "param.AI_IDEOLOGY_LEADER_AGE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_LEADER_AGE_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_IDEOLOGY_STABILITY_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_IDEOLOGY_STABILITY_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_RECRUIT_BUY_MIN_MONEY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_MIN_MONEY. Optional. Default: 500000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "500000.0"
          }
        },
        "param.AI_RECRUIT_BUY_MAX_MONEY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_MAX_MONEY. Optional. Default: 5000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000000.0"
          }
        },
        "param.AI_RECRUIT_BUY_MAX_FUNDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_MAX_FUNDING. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_RECRUIT_BUY_MIN_LOAD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_MIN_LOAD. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_RECRUIT_BUY_FAST_MIN_LIQUIDITY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_FAST_MIN_LIQUIDITY. Optional. Default: 4.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0"
          }
        },
        "param.AI_RECRUIT_BUY_FAST_LIQUIDITY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_FAST_LIQUIDITY_MULT. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_RECRUIT_BUY_GUARD_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_GUARD_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.AI_RECRUIT_BUY_GUARD_SAVINGS_JEOPARDY_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_GUARD_SAVINGS_JEOPARDY_MAX. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_RECRUIT_BUY_GUARD_SAVINGS_GROWTH_FLOOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_GUARD_SAVINGS_GROWTH_FLOOR. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.AI_RECRUIT_BUY_GUARD_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_GUARD_SAVINGS_MONEY_DAYS. Optional. Default: 30.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30.0"
          }
        },
        "param.AI_RECRUIT_BUY_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.AI_RECRUIT_BUY_SAVINGS_JEOPARDY_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_SAVINGS_JEOPARDY_MAX. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_RECRUIT_BUY_SAVINGS_GROWTH_FLOOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_SAVINGS_GROWTH_FLOOR. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.AI_RECRUIT_BUY_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BUY_SAVINGS_MONEY_DAYS. Optional. Default: 30.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30.0"
          }
        },
        "param.AI_RECRUIT_BASE_STAT_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_BASE_STAT_WEIGHT. Optional. Default: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        },
        "param.AI_RECRUIT_STAT_WEIGHT_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_STAT_WEIGHT_SCALE. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_RECRUIT_STAT_BALANCE_MIN_POWER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_STAT_BALANCE_MIN_POWER. Optional. Default: 1.0E7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E7"
          }
        },
        "param.AI_PRODUCE_BASE_LIQUIDITY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PRODUCE_BASE_LIQUIDITY. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.AI_RECRUIT_PRODUCE_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_PRODUCE_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.AI_RECRUIT_PRODUCE_SAVINGS_JEOPARDY_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_PRODUCE_SAVINGS_JEOPARDY_MAX. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_RECRUIT_PRODUCE_SAVINGS_MILITARISED_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_PRODUCE_SAVINGS_MILITARISED_MIN. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_RECRUIT_PRODUCE_SAVINGS_GROWTH_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_PRODUCE_SAVINGS_GROWTH_MIN. Optional. Default: 5.4E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.4E-5"
          }
        },
        "param.AI_RECRUIT_PRODUCE_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_RECRUIT_PRODUCE_SAVINGS_MONEY_DAYS. Optional. Default: 365.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "365.0"
          }
        },
        "param.AI_MIN_HEADSTART": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_MIN_HEADSTART. Optional. Default: 30.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30"
          }
        },
        "param.AI_MAX_HEADSTART": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_MAX_HEADSTART. Optional. Default: 300.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300"
          }
        },
        "param.AI_BASE_SPLITS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BASE_SPLITS. Optional. Default: 4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4"
          }
        },
        "param.AI_UNIT_SPLIT_MIN_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_UNIT_SPLIT_MIN_WEIGHT. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.AI_UNIT_SPLIT_MAX_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_UNIT_SPLIT_MAX_WEIGHT. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.AI_SMALL_MILITARY_MIN_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_SMALL_MILITARY_MIN_DAYS. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.AI_SMALL_MILITARY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_SMALL_MILITARY_THRESHOLD. Optional. Default: 0.03.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.03"
          }
        },
        "param.AI_SMALL_MILITARY_WEATLH_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_SMALL_MILITARY_WEATLH_THRESHOLD. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_DEMILITARISED_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEMILITARISED_THRESHOLD. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_BIG_MILITARY_MIN_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BIG_MILITARY_MIN_DAYS. Optional. Default: 300.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300"
          }
        },
        "param.AI_BIG_MILITARY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_BIG_MILITARY_THRESHOLD. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_NUKE_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_NUKE_COALITION. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_NUKE_CLAIMS": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_NUKE_CLAIMS. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_NUKE_TARGET_PROGRESS_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_NUKE_TARGET_PROGRESS_THRESHOLD. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.AI_NUKE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_NUKE_MULT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_NUKE_COALITION_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_NUKE_COALITION_MULT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.AI_NUKE_DIPLOMACY_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_NUKE_DIPLOMACY_EXP. Optional. Default: 2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2"
          }
        },
        "param.AI_ATTACK_BASE_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_BASE_BUDGET. Optional. Default: 0.75.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.75"
          }
        },
        "param.AI_ATTACK_BUDGET_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_BUDGET_MULT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_ATTACK_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MIN_BUDGET. Optional. Default: 0.26.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.26"
          }
        },
        "param.AI_ATTACK_MAX_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MAX_BUDGET. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_ATTACK_BUDGET_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_BUDGET_OFFSET. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_ATTACK_RESTRICTION_BIAS_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_RESTRICTION_BIAS_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_ATTACK_DEMILITARIZED_GDP_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_DEMILITARIZED_GDP_THRESHOLD. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.AI_ATTACK_DEMILITARIZED_GDP_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_DEMILITARIZED_GDP_EXP. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_ATTACK_DEMILITARIZED_GDP_MULT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_DEMILITARIZED_GDP_MULT_THRESHOLD. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.AI_ATTACK_BASE_JEOPARDY_TOLERANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_BASE_JEOPARDY_TOLERANCE. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.AI_ATTACK_COALITION_JEOPARDY_TOLERANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_COALITION_JEOPARDY_TOLERANCE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ATTACK_MIN_MILITARISED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MIN_MILITARISED. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_ATTACK_RECLAIM_MIN_OVERWHELM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_RECLAIM_MIN_OVERWHELM. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ATTACK_RECLAIM_MAX_DEFENSE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_RECLAIM_MAX_DEFENSE. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.AI_ATTACK_RECLAIM_MIN_MILITARISED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_RECLAIM_MIN_MILITARISED. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ATTACK_COALITION_MIN_MILITARISED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_COALITION_MIN_MILITARISED. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.AI_ATTACK_COALITION_MIN_OVERWHELM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_COALITION_MIN_OVERWHELM. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_ATTACK_COALITION_MAX_DEFENSE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_COALITION_MAX_DEFENSE. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.AI_ATTACK_CLAIM_RATE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_CLAIM_RATE_MULT. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.AI_ATTACK_CLAIM_RATE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_CLAIM_RATE_EXP. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.AI_ATTACK_INVADING_OVERWHELM_TOLERANCE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_INVADING_OVERWHELM_TOLERANCE_MULT. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_ATTACK_INVADING_DEFENSE_TOLERANCE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_INVADING_DEFENSE_TOLERANCE_MULT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.AI_ATTACK_MAX_DOMINATION_TOLERANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MAX_DOMINATION_TOLERANCE. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_ATTACK_OVERWHELM_TOLERANCE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_OVERWHELM_TOLERANCE_OFFSET. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.AI_ATTACK_DEFENSE_TOLERANCE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_DEFENSE_TOLERANCE_OFFSET. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ATTACK_OVERWHELM_TOLERANCE_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_OVERWHELM_TOLERANCE_MIN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ATTACK_DEFENSE_TOLERANCE_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_DEFENSE_TOLERANCE_MAX. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_ATTACK_AGG_JEOPARDY_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_AGG_JEOPARDY_OFFSET. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ATTACK_PREV_JEOPARDY_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_PREV_JEOPARDY_OFFSET. Optional. Default: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        },
        "param.AI_ATTACK_MIN_OVERWHELM_SPLIT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MIN_OVERWHELM_SPLIT. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ATTACK_MIN_MILITARY_OVERWHELM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MIN_MILITARY_OVERWHELM. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ATTACK_CASUALTY_TOLERANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_CASUALTY_TOLERANCE. Optional. Default: 0.55.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.55"
          }
        },
        "param.AI_ATTACK_FEAR_CASUALTY_TOLERANCE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_FEAR_CASUALTY_TOLERANCE_OFFSET. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ATTACK_PROGRESS_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_PROGRESS_THRESHOLD. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_ATTACK_COALITION_BIAS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_COALITION_BIAS. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ATTACK_FREEDOM_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_ATTACK_FREEDOM_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.AI_ATTACK_PLAN_MAX_AGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_PLAN_MAX_AGE. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.AI_ATTACK_MAX_COUNTRIES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_MAX_COUNTRIES. Optional. Default: 8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8"
          }
        },
        "param.AI_ATTACK_SEARCH_OPTIONS_CD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_SEARCH_OPTIONS_CD. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.AI_ATTACK_SEARCH_PLAN_CD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_SEARCH_PLAN_CD. Optional. Default: 300.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300"
          }
        },
        "param.AI_ATTACK_PLAN_DURATION": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ATTACK_PLAN_DURATION. Optional. Default: 3000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3000"
          }
        },
        "param.AI_ATTACK_REDEPLOY": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ATTACK_REDEPLOY. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_ATTACK_DEFERRED_WITHDRAWAL": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ATTACK_DEFERRED_WITHDRAWAL. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_ATTACK_CANCEL_NOT_FEASIBLE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ATTACK_CANCEL_NOT_FEASIBLE. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_ATTACK_NEUTRAL_IGNORE_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ATTACK_NEUTRAL_IGNORE_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_DEFEND_SPEED_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPEED_WEIGHT. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.AI_DEFEND_SPEED_MAX_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPEED_MAX_WEIGHT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_DEFEND_SPEED_BALANCE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPEED_BALANCE_THRESHOLD. Optional. Default: -0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-0.5"
          }
        },
        "param.AI_DEFEND_SPEED_BALANCE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPEED_BALANCE_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AI_DEFEND_SPLIT_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPLIT_RATE. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.AI_DEFEND_MIN_SPLIT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_MIN_SPLIT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_DEFEND_SPLIT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_SPLIT_THRESHOLD. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_DEFEND_TERRAIN_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_TERRAIN_THRESHOLD. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_DEFEND_BALANCE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_DEFEND_BALANCE_THRESHOLD. Optional. Default: 0.35.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.35"
          }
        },
        "param.AI_ALLY_DEFEND_MIN_BIAS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MIN_BIAS. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.AI_ALLY_DEFEND_COALITION_MIN_BIAS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_COALITION_MIN_BIAS. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AI_ALLY_DEFEND_BASE_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_BASE_BUDGET. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ALLY_DEFEND_BUDGET_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_BUDGET_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_ALLY_DEFEND_MIN_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MIN_BUDGET. Optional. Default: 0.26.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.26"
          }
        },
        "param.AI_ALLY_DEFEND_MAX_BUDGET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MAX_BUDGET. Optional. Default: 0.35.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.35"
          }
        },
        "param.AI_ALLY_DEFEND_MIN_POWER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MIN_POWER. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.AI_ALLY_DEFEND_MAX_SQUADS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MAX_SQUADS. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "param.AI_ALLY_DEFEND_TOLERANCE_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_TOLERANCE_BASE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_ALLY_DEFEND_TOLERANCE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_TOLERANCE_MULT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.AI_ALLY_DEFEND_DEF_TOLERANCE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_DEF_TOLERANCE_OFFSET. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.AI_ALLY_DEFEND_DST2_IGNORE_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_DST2_IGNORE_CHANCE. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.AI_ALLY_DEFEND_DST2_IGNORE_MAX_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_DST2_IGNORE_MAX_CHANCE. Optional. Default: 0.99.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.99"
          }
        },
        "param.AI_ALLY_DEFEND_DST2_IGNORE_CHANCE_DR": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AI_ALLY_DEFEND_DST2_IGNORE_CHANCE_DR. Optional. Default: CIRCLE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "CIRCLE_OUT"
          }
        },
        "param.AI_ALLY_DEFEND_MAX_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_ALLY_DEFEND_MAX_DST. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.AI_ALLY_DEFEND_RIVAL_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ALLY_DEFEND_RIVAL_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_ALLY_DEFEND_CORE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ALLY_DEFEND_CORE. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_ALLY_DEFEND_RECLAIM": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ALLY_DEFEND_RECLAIM. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_ALLY_DEFEND_FOLLOW_NEUTRAL": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ALLY_DEFEND_FOLLOW_NEUTRAL. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_ALLY_DEFEND_FOLLOW_HOSTILE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_ALLY_DEFEND_FOLLOW_HOSTILE. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.DEFEND_SIMPLE_PATH": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter DEFEND_SIMPLE_PATH. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.SIMPLE_PLAYER_DEFEND_TASK": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter SIMPLE_PLAYER_DEFEND_TASK. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.AI_SIMPLE_AIRCRAFT_PATH": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AI_SIMPLE_AIRCRAFT_PATH. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AI_PATH_STRATEGY_VARIANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PATH_STRATEGY_VARIANCE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AI_PATH_STRATEGY_VARIANCE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_PATH_STRATEGY_VARIANCE_OFFSET. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.AI_INCURSION_MAX_RESEARCH_COST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_INCURSION_MAX_RESEARCH_COST. Optional. Default: 1000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000.0"
          }
        },
        "param.AI_INCURSION_MAX_MONEY_COST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AI_INCURSION_MAX_MONEY_COST. Optional. Default: 200000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "200000.0"
          }
        },
        "param.PATH_TAIL_GRAPH_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_TAIL_GRAPH_SIZE. Optional. Default: 128.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "128"
          }
        },
        "param.PATH_TAIL_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_TAIL_THRESHOLD. Optional. Default: 2500.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2500.0"
          }
        },
        "param.PATH_TAIL_THRESHOLD_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_TAIL_THRESHOLD_PLAYER. Optional. Default: 6400.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "6400.0"
          }
        },
        "param.PATH_STRIDE_GRAPH_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_STRIDE_GRAPH_SIZE. Optional. Default: 64.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "64"
          }
        },
        "param.PATH_STRIDE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_STRIDE. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PATH_PRUNE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_PRUNE_THRESHOLD. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_AI_FAST_COARSE_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AI_FAST_COARSE_STEP. Optional. Default: 4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4"
          }
        },
        "param.PATH_AI_FAST_COARSE_MAX_VISITED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AI_FAST_COARSE_MAX_VISITED. Optional. Default: 2048.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2048"
          }
        },
        "param.PATH_AI_FAST_COARSE_MAX_POINTS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AI_FAST_COARSE_MAX_POINTS. Optional. Default: 128.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "128"
          }
        },
        "param.PATH_AI_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AI_LAYERED_ACCURACY. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PATH_PLAYER_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_PLAYER_LAYERED_ACCURACY. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.PATH_PRECOMPUTE_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_PRECOMPUTE_LAYERED_ACCURACY. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.PATH_DESKTOP_PLAYER_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DESKTOP_PLAYER_LAYERED_ACCURACY. Optional. Default: 4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4"
          }
        },
        "param.PATH_NON_PLAYER_MIN_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_NON_PLAYER_MIN_LAYERED_ACCURACY. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PATH_NON_PLAYER_MAX_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_NON_PLAYER_MAX_LAYERED_ACCURACY. Optional. Default: 2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2"
          }
        },
        "param.PATH_ATTACK_LAYERED_ACCURACY_BONUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_ATTACK_LAYERED_ACCURACY_BONUS. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PATH_LARGE_SQUAD_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_LARGE_SQUAD_WEIGHT. Optional. Default: 1000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000"
          }
        },
        "param.PATH_LARGE_SQUAD_LAYERED_ACCURACY_BONUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_LARGE_SQUAD_LAYERED_ACCURACY_BONUS. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PATH_SMALL_SQUAD_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_SMALL_SQUAD_WEIGHT. Optional. Default: 200000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "200000"
          }
        },
        "param.PATH_SMALL_SQUAD_LAYERED_ACCURACY_BONUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_SMALL_SQUAD_LAYERED_ACCURACY_BONUS. Optional. Default: -1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-1"
          }
        },
        "param.PATH_BATCH_ACCURACY_CEILING_MIN_REQUESTS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_BATCH_ACCURACY_CEILING_MIN_REQUESTS. Optional. Default: 8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8"
          }
        },
        "param.PATH_BATCH_MAX_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_BATCH_MAX_LAYERED_ACCURACY. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.PATH_DESKTOP_BATCH_MAX_LAYERED_ACCURACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DESKTOP_BATCH_MAX_LAYERED_ACCURACY. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.PATH_WORKLOAD_ACCURACY_CEILING": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_WORKLOAD_ACCURACY_CEILING. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_LAYERED_MIN_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_LAYERED_MIN_DST2. Optional. Default: 10000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000.0"
          }
        },
        "param.PATH_DANGER_FIELD_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_DANGER_FIELD_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_DANGER_FIELD_NON_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_DANGER_FIELD_NON_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_SQUAD_DANGER_REPAIR_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_SQUAD_DANGER_REPAIR_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_SQUAD_DANGER_REPAIR_NON_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_SQUAD_DANGER_REPAIR_NON_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_SMOOTH_WATER_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_SMOOTH_WATER_PLAYER. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_COMPRESSION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_COMPRESSION. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_PRECOMPUTE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_PRECOMPUTE. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.PATH_PRECOMPUTE_STATIC": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_PRECOMPUTE_STATIC. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.PATH_PRECOMPUTE_ASYNC": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_PRECOMPUTE_ASYNC. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.PATH_PRECOMPUTE_MIN_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_PRECOMPUTE_MIN_DST2. Optional. Default: 10000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000.0"
          }
        },
        "param.PATH_HEURISTIC": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter PATH_HEURISTIC. Optional. Default: MANHATTAN. Values: MANHATTAN, EUCLIDEAN, EUCLIDEAN2, CHEBYSHEV.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MANHATTAN", "EUCLIDEAN", "EUCLIDEAN2", "CHEBYSHEV"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "MANHATTAN"
          }
        },
        "param.PATH_HEURISTIC_PLAYER": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter PATH_HEURISTIC_PLAYER. Optional. Default: EUCLIDEAN. Values: MANHATTAN, EUCLIDEAN, EUCLIDEAN2, CHEBYSHEV.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MANHATTAN", "EUCLIDEAN", "EUCLIDEAN2", "CHEBYSHEV"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "EUCLIDEAN"
          }
        },
        "param.PATH_TILE_HEURISTIC": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter PATH_TILE_HEURISTIC. Optional. Default: EUCLIDEAN. Values: MANHATTAN, EUCLIDEAN, EUCLIDEAN2, CHEBYSHEV.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MANHATTAN", "EUCLIDEAN", "EUCLIDEAN2", "CHEBYSHEV"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "EUCLIDEAN"
          }
        },
        "param.PATROL_MIN_LENGTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATROL_MIN_LENGTH. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.AMMUNITION_SHORTAGE_NEW_TROOP_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AMMUNITION_SHORTAGE_NEW_TROOP_MULT. Optional. Default: 1.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.2"
          }
        },
        "param.AMMUNITION_SHORTAGE_ATTACK": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AMMUNITION_SHORTAGE_ATTACK. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.AMMUNITION_SHORTAGE_PIERCING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AMMUNITION_SHORTAGE_PIERCING. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.COMBAT_EXPERIENCE_NEW_TROOP_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COMBAT_EXPERIENCE_NEW_TROOP_MULT. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.INTERNATIONAL_STANDING_NUKE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_NUKE_MULT. Optional. Default: 0.02.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.02"
          }
        },
        "param.INTERNATIONAL_STANDING_BREAK_TRUCE_PEN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_BREAK_TRUCE_PEN. Optional. Default: -10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-10.0"
          }
        },
        "param.INTERNATIONAL_STANDING_PRESTIGE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_PRESTIGE_MULT. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.INTERNATIONAL_STANDING_NEGATIVE_PRESTIGE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_NEGATIVE_PRESTIGE_MULT. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.INTERNATIONAL_STANDING_PRESTIGE_STDEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_PRESTIGE_STDEV. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INTERNATIONAL_STANDING_NEGATIVE_PRESTIGE_STDEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_NEGATIVE_PRESTIGE_STDEV. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INTERNATIONAL_STANDING_PRESTIGE_FREEDOM": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_PRESTIGE_FREEDOM. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.INTERNATIONAL_STANDING_PRESTIGE_FREEDOM_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter INTERNATIONAL_STANDING_PRESTIGE_FREEDOM_CURVE. Optional. Default: SINE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_OUT"
          }
        },
        "param.INTERNATIONAL_STANDING_CONQUEST_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_CONQUEST_MULT. Optional. Default: 2.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0E-4"
          }
        },
        "param.INTERNATIONAL_STANDING_CONQUEST_ALLIES_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_CONQUEST_ALLIES_MULT. Optional. Default: 5.0E-6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-6"
          }
        },
        "param.INTERNATIONAL_STANDING_LIBERATED_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_LIBERATED_MULT. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.INTERNATIONAL_STANDING_DIPLOMACY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_DIPLOMACY. Optional. Default: 0.75.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.75"
          }
        },
        "param.INTERNATIONAL_STANDING_EXCHANGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INTERNATIONAL_STANDING_EXCHANGE. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.MORALE_MIN_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_MIN_WEIGHT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.MORALE_MAX_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_MAX_WEIGHT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.MORALE_MIN_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_MIN_PERCENT. Optional. Default: 1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-4"
          }
        },
        "param.MORALE_CONQUEST_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CONQUEST_BASE. Optional. Default: 3.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-4"
          }
        },
        "param.MORALE_CONQUESTED_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CONQUESTED_BASE. Optional. Default: 3.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-4"
          }
        },
        "param.MORALE_CONQUEST_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CONQUEST_MULT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.MORALE_CONQUESTED_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CONQUESTED_MULT. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.MORALE_CONQUEST_POPULATION_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CONQUEST_POPULATION_WEIGHT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.MORALE_CLAIM_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_CLAIM_MULT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.MORALE_INVADER_DEFEATED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_INVADER_DEFEATED. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.MORALE_DEFENSE_POSITIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_DEFENSE_POSITIVE. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.MORALE_DEFENSE_NEGATIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_DEFENSE_NEGATIVE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MORALE_MILITIA_POSITIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_MILITIA_POSITIVE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MORALE_MILITIA_NEGATIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MORALE_MILITIA_NEGATIVE. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.MAX_SOCIAL_SPENDING_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_SOCIAL_SPENDING_PERCENT. Optional. Default: 0.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.4"
          }
        },
        "param.MAX_RESEARCH_SPENDING_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_RESEARCH_SPENDING_PERCENT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.MAX_SAVINGS_SPENDING_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_SAVINGS_SPENDING_PERCENT. Optional. Default: 0.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.4"
          }
        },
        "param.MAX_MILITARY_SPENDING_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_MILITARY_SPENDING_PERCENT. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.STEP_SOCIAL_SPENDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter STEP_SOCIAL_SPENDING. Optional. Default: 1.3333333E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.3333333E-4"
          }
        },
        "param.STEP_RESEARCH_SPENDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter STEP_RESEARCH_SPENDING. Optional. Default: 1.00000005E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.00000005E-4"
          }
        },
        "param.STEP_SAVINGS_SPENDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter STEP_SAVINGS_SPENDING. Optional. Default: 2.0000001E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0000001E-4"
          }
        },
        "param.STEP_MILITARY_SPENDING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter STEP_MILITARY_SPENDING. Optional. Default: 4.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0E-5"
          }
        },
        "param.GLOBAL_MARKET_BASE_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GLOBAL_MARKET_BASE_RATE. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.EXCHANGE_RATE_BONUS_FREEDOM_100": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter EXCHANGE_RATE_BONUS_FREEDOM_100. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.EXCHANGE_RATE_BONUS_FREEDOM_50": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter EXCHANGE_RATE_BONUS_FREEDOM_50. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.EXCHANGE_RATE_BONUS_FREEDOM_0": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter EXCHANGE_RATE_BONUS_FREEDOM_0. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.EXCHANGE_RATE_FREEDOM_HIGH_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter EXCHANGE_RATE_FREEDOM_HIGH_CURVE. Optional. Default: POW2_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_IN"
          }
        },
        "param.EXCHANGE_RATE_FREEDOM_LOW_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter EXCHANGE_RATE_FREEDOM_LOW_CURVE. Optional. Default: POW3_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW3_OUT"
          }
        },
        "param.GLOBAL_MARKET_UPDATE_PROB": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GLOBAL_MARKET_UPDATE_PROB. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.GLOBAL_MARKET_UPDATE_PROB_MIN_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GLOBAL_MARKET_UPDATE_PROB_MIN_MULT. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.GLOBAL_MARKET_UPDATE_PROB_MAX_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GLOBAL_MARKET_UPDATE_PROB_MAX_MULT. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.GLOBAL_MARKET_RATE_UPDATE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GLOBAL_MARKET_RATE_UPDATE_THRESHOLD. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.SAVINGS_CONVERSION_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SAVINGS_CONVERSION_FACTOR. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.SAVINGS_FUNDING_INPUT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SAVINGS_FUNDING_INPUT_CURVE. Optional. Default: POW4_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW4_OUT"
          }
        },
        "param.SAVINGS_FUNDING_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SAVINGS_FUNDING_CURVE. Optional. Default: SINE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_INVERSE"
          }
        },
        "param.BUDGETED_MONEY_SAVINGS_YIELD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BUDGETED_MONEY_SAVINGS_YIELD_MIN. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.BUDGETED_MONEY_SAVINGS_GROWTH_FLOOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BUDGETED_MONEY_SAVINGS_GROWTH_FLOOR. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.BUDGETED_MONEY_SAVINGS_MONEY_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BUDGETED_MONEY_SAVINGS_MONEY_DAYS. Optional. Default: 365.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "365.0"
          }
        },
        "param.SAVINGS_YIELD_MAX_COMPRESSION": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SAVINGS_YIELD_MAX_COMPRESSION. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.CONSUMPTION_MAX_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONSUMPTION_MAX_DST2. Optional. Default: 524288.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "524288"
          }
        },
        "param.SQUAD_DST_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DST_CONSUMPTION_SCALE. Optional. Default: 0.6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.6"
          }
        },
        "param.SQUAD_DIPLOMACY_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIPLOMACY_CONSUMPTION_SCALE. Optional. Default: 0.35.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.35"
          }
        },
        "param.SQUAD_TERRAIN_CONSUMPTION_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_TERRAIN_CONSUMPTION_SCALE. Optional. Default: 2.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.4"
          }
        },
        "param.SQUAD_DST_CONSUMPTION_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SQUAD_DST_CONSUMPTION_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.SQUAD_DIPLOMACY_CONSUMPTION_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SQUAD_DIPLOMACY_CONSUMPTION_CURVE. Optional. Default: POW2_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_IN"
          }
        },
        "param.SALARY_MARKET_WEIGHT_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SALARY_MARKET_WEIGHT_HIGH. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.SALARY_MARKET_WEIGHT_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SALARY_MARKET_WEIGHT_LOW. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.FINANCIAL_MICROMANAGEMENT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FINANCIAL_MICROMANAGEMENT_THRESHOLD. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.FINANCIAL_MICROMANAGEMENT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter FINANCIAL_MICROMANAGEMENT_CURVE. Optional. Default: POW5_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW5_OUT"
          }
        },
        "param.FINANCIAL_MICROMANAGEMENT_WEIGHT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter FINANCIAL_MICROMANAGEMENT_WEIGHT_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.MARKET_OWNER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MARKET_OWNER_MULT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.MARKET_LAND_BORDER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MARKET_LAND_BORDER_MULT. Optional. Default: 8.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8.0"
          }
        },
        "param.MARKET_OCEAN_BORDER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MARKET_OCEAN_BORDER_MULT. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.MARKET_DIPLOMACY_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MARKET_DIPLOMACY_CURVE. Optional. Default: POW2_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_IN"
          }
        },
        "param.MARKET_LAND_BORDER_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MARKET_LAND_BORDER_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.MARKET_OCEAN_BORDER_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MARKET_OCEAN_BORDER_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.IMMIGRATION_RATE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_RATE_MULT. Optional. Default: 1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-4"
          }
        },
        "param.IMMIGRATION_UPDATE_PROB": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_UPDATE_PROB. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.IMMIGRATION_UPDATE_PROB_MIN_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_UPDATE_PROB_MIN_MULT. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.IMMIGRATION_UPDATE_PROB_MAX_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_UPDATE_PROB_MAX_MULT. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.IMMIGRATION_REMOTE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_REMOTE_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.IMMIGRATION_LAND_BORDER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_LAND_BORDER_MULT. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.IMMIGRATION_LAND_BORDER_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_LAND_BORDER_CURVE. Optional. Default: LINEAR. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "LINEAR"
          }
        },
        "param.IMMIGRATION_OCEAN_BORDER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_OCEAN_BORDER_MULT. Optional. Default: 0.18.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.18"
          }
        },
        "param.IMMIGRATION_OCEAN_BORDER_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_OCEAN_BORDER_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.IMMIGRATION_DIPLOMACY_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_DIPLOMACY_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.IMMIGRATION_DIPLOMACY_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_DIPLOMACY_MIN. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.IMMIGRATION_DIPLOMACY_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_DIPLOMACY_MAX. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.IMMIGRATION_FERTILITY_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_FERTILITY_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.IMMIGRATION_FERTILITY_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_FERTILITY_MIN. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.IMMIGRATION_FERTILITY_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_FERTILITY_MAX. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.IMMIGRATION_BALANCE_FERTILITY_EXP_POSITIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_BALANCE_FERTILITY_EXP_POSITIVE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.IMMIGRATION_BALANCE_FERTILITY_EXP_NEGATIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_BALANCE_FERTILITY_EXP_NEGATIVE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.IMMIGRATION_SOCIAL_SPENDING_INFLECTION": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_SOCIAL_SPENDING_INFLECTION. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.IMMIGRATION_MIN_WEALTH_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_MIN_WEALTH_RATE. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.IMMIGRATION_WEALTH_DEFICIT_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_WEALTH_DEFICIT_SCALING. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.IMMIGRATION_LOW_WEALTH_DEFICIT_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_LOW_WEALTH_DEFICIT_SCALING. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.IMMIGRATION_LOW_SOCIAL_DEFICIT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_LOW_SOCIAL_DEFICIT_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.IMMIGRATION_LOW_WEALTH_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_LOW_WEALTH_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.IMMIGRATION_SOCIAL_DEFICIT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_SOCIAL_DEFICIT_CURVE. Optional. Default: SINE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_OUT"
          }
        },
        "param.IMMIGRATION_SOCIAL_ATTRACTION_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_SOCIAL_ATTRACTION_CURVE. Optional. Default: SINE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_OUT"
          }
        },
        "param.IMMIGRATION_WEALTH_RATE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_WEALTH_RATE_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.IMMIGRATION_WEALTH_DELTA_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter IMMIGRATION_WEALTH_DELTA_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.IMMIGRATION_SOCIAL_MITIGATION_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter IMMIGRATION_SOCIAL_MITIGATION_CURVE. Optional. Default: POW3_IN_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW3_IN_INVERSE"
          }
        },
        "param.MILITARY_RATE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_RATE_MULT. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.MILITARY_RATE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_RATE_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MILITARY_RATE_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_RATE_MIN. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MILITARY_FUNDING_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_RATE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.MILITARY_FUNDING_RATE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_RATE_EXP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.MILITARY_FUNDING_EXP_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_EXP_LOW. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.MILITARY_FUNDING_GROWTH_DELTA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_GROWTH_DELTA. Optional. Default: 3.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-5"
          }
        },
        "param.MILITARY_FUNDING_BONUS_MIN_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_BONUS_MIN_BASE. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.MILITARY_FUNDING_BONUS_EXP_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_BONUS_EXP_LOW. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.MILITARY_FUNDING_BONUS_EXP_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_BONUS_EXP_HIGH. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MILITARY_FUNDING_BONUS_MAX_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_BONUS_MAX_MULT. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.MILITARY_FUNDING_BONUS_POS_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITARY_FUNDING_BONUS_POS_MULT. Optional. Default: 1500.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1500.0"
          }
        },
        "param.MILITARY_FUNDING_BONUS_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MILITARY_FUNDING_BONUS_CURVE. Optional. Default: SINE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_OUT"
          }
        },
        "param.BASE_MIL_GROWTH_POWER_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_POWER_EXP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BASE_MIL_GROWTH_POWER_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_POWER_MIN. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.BASE_MIL_GROWTH_POWER_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_POWER_MAX. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BASE_MIL_GROWTH_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_OFFSET. Optional. Default: -1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-1.0E-4"
          }
        },
        "param.BASE_MIL_GROWTH_SALARY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_SALARY_MULT. Optional. Default: 5.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-5"
          }
        },
        "param.BASE_MIL_GROWTH_POWER_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_POWER_MULT. Optional. Default: 3.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-5"
          }
        },
        "param.BASE_MIL_GROWTH_MARKET_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_MARKET_MULT. Optional. Default: 4.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0E-5"
          }
        },
        "param.BASE_MIL_GROWTH_FUNDING_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_MIL_GROWTH_FUNDING_MULT. Optional. Default: 8.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8.0E-5"
          }
        },
        "param.BASE_POP_GROWTH_X_PEAK_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_X_PEAK_VALUE. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BASE_POP_GROWTH_MAX_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_MAX_VALUE. Optional. Default: 6.6E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "6.6E-5"
          }
        },
        "param.BASE_POP_GROWTH_MIN_VALUE_RIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_MIN_VALUE_RIGHT. Optional. Default: -3.3E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-3.3E-5"
          }
        },
        "param.BASE_POP_GROWTH_MIN_VALUE_LEFT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_MIN_VALUE_LEFT. Optional. Default: 3.3E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.3E-5"
          }
        },
        "param.BASE_POP_GROWTH_GAUSSIAN_WIDTH_RIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_GAUSSIAN_WIDTH_RIGHT. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.BASE_POP_GROWTH_GAUSSIAN_WIDTH_LEFT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_GAUSSIAN_WIDTH_LEFT. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.BASE_POP_GROWTH_POS_FERTILITY_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_POS_FERTILITY_OFFSET. Optional. Default: 1.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-5"
          }
        },
        "param.BASE_POP_GROWTH_NEG_FERTILITY_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_NEG_FERTILITY_OFFSET. Optional. Default: -1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-1.0E-4"
          }
        },
        "param.BASE_POP_GROWTH_NEG_FERTILITY_INF_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_NEG_FERTILITY_INF_OFFSET. Optional. Default: 1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-4"
          }
        },
        "param.BASE_POP_GROWTH_FERTILITY_DR": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter BASE_POP_GROWTH_FERTILITY_DR. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.BASE_POP_GROWTH_NEGATIVE_DR": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter BASE_POP_GROWTH_NEGATIVE_DR. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.BASE_POP_GROWTH_DR_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_DR_THRESHOLD. Optional. Default: 5.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-5"
          }
        },
        "param.BASE_POP_GROWTH_DR_FERTILITY_EXP_POSITIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_DR_FERTILITY_EXP_POSITIVE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.BASE_POP_GROWTH_DR_FERTILITY_EXP_NEGATIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_DR_FERTILITY_EXP_NEGATIVE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.BASE_POP_GROWTH_DR_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_POP_GROWTH_DR_MULT. Optional. Default: 10000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000.0"
          }
        },
        "param.MAX_BASE_POP_GROWTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_BASE_POP_GROWTH. Optional. Default: 0.001.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.001"
          }
        },
        "param.POP_GROWTH_DR_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter POP_GROWTH_DR_THRESHOLD. Optional. Default: 2.726E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.726E-5"
          }
        },
        "param.POP_GROWTH_DR_SOFT_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter POP_GROWTH_DR_SOFT_THRESHOLD. Optional. Default: 8.1E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8.1E-5"
          }
        },
        "param.POP_GROWTH_DR_SOFT_RETENTION": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter POP_GROWTH_DR_SOFT_RETENTION. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.POP_GROWTH_DR_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter POP_GROWTH_DR_MULT. Optional. Default: 50000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "50000.0"
          }
        },
        "param.MAX_POP_GROWTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_POP_GROWTH. Optional. Default: 2.36E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.36E-4"
          }
        },
        "param.FERTILITY_EXP_POSITIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FERTILITY_EXP_POSITIVE. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.FERTILITY_EXP_NEGATIVE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FERTILITY_EXP_NEGATIVE. Optional. Default: 0.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.15"
          }
        },
        "param.MIN_FERTILITY_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MIN_FERTILITY_RATE. Optional. Default: 0.6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.6"
          }
        },
        "param.MAX_FERTILITY_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_FERTILITY_RATE. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.BASE_GDP_GROWTH_X_PEAK_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_X_PEAK_VALUE. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.BASE_GDP_GROWTH_MAX_VALUE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_MAX_VALUE. Optional. Default: 1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-4"
          }
        },
        "param.BASE_GDP_GROWTH_MIN_VALUE_RIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_MIN_VALUE_RIGHT. Optional. Default: 7.5E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "7.5E-5"
          }
        },
        "param.BASE_GDP_GROWTH_MIN_VALUE_LEFT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_MIN_VALUE_LEFT. Optional. Default: 5.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-5"
          }
        },
        "param.BASE_GDP_GROWTH_GAUSSIAN_WIDTH_RIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_GAUSSIAN_WIDTH_RIGHT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BASE_GDP_GROWTH_GAUSSIAN_WIDTH_LEFT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_GAUSSIAN_WIDTH_LEFT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.BASE_GDP_GROWTH_POS_INFLATION_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_POS_INFLATION_OFFSET. Optional. Default: -1.0E-8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-1.0E-8"
          }
        },
        "param.BASE_GDP_GROWTH_POS_INFLATION_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_POS_INFLATION_EXP. Optional. Default: 0.6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.6"
          }
        },
        "param.BASE_GDP_GROWTH_NEG_INFLATION_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_NEG_INFLATION_OFFSET. Optional. Default: 1.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-5"
          }
        },
        "param.BASE_GDP_GROWTH_NEG_INFLATION_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter BASE_GDP_GROWTH_NEG_INFLATION_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.BASE_GDP_GROWTH_BOTTOM_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_BOTTOM_THRESHOLD. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BASE_GDP_GROWTH_BOTTOM_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BASE_GDP_GROWTH_BOTTOM_OFFSET. Optional. Default: 0.0015.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0015"
          }
        },
        "param.BASE_GDP_GROWTH_BOTTOM_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter BASE_GDP_GROWTH_BOTTOM_CURVE. Optional. Default: EXP100_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "EXP100_OUT"
          }
        },
        "param.GDP_GROWTH_DR_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GDP_GROWTH_DR_THRESHOLD. Optional. Default: 1.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-4"
          }
        },
        "param.GDP_GROWTH_DR_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GDP_GROWTH_DR_MULT. Optional. Default: 10000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000.0"
          }
        },
        "param.MAX_GDP_GROWTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_GDP_GROWTH. Optional. Default: 2.5E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.5E-4"
          }
        },
        "param.RESEARCH_POINTS_BASE_POP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_BASE_POP. Optional. Default: 1.0E7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E7"
          }
        },
        "param.RESEARCH_POINTS_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_MULT. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.RESEARCH_POINTS_SCALING_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_SCALING_LOW. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.RESEARCH_POINTS_SCALING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_SCALING_HIGH. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.RESEARCH_POINTS_SCALING_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_SCALING_MIN. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.RESEARCH_POINTS_SCALING_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESEARCH_POINTS_SCALING_MAX. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.RESEARCH_FUNDING_INPUT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter RESEARCH_FUNDING_INPUT_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.RESEARCH_FUNDING_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter RESEARCH_FUNDING_CURVE. Optional. Default: SINE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_INVERSE"
          }
        },
        "param.SOCIAL_WEALTH_LOW_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_WEALTH_LOW_EXP. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.SOCIAL_WEALTH_HIGH_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_WEALTH_HIGH_EXP. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.SOCIAL_WEALTH_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SOCIAL_WEALTH_MULT. Optional. Default: 1.5E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5E-4"
          }
        },
        "param.SOCIAL_EFFECT_FUNDING_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter SOCIAL_EFFECT_FUNDING_CURVE. Optional. Default: SINE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE_OUT"
          }
        },
        "param.GDP_EXPENDITURE_EFFECT_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GDP_EXPENDITURE_EFFECT_SCALE. Optional. Default: 75.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "75.0"
          }
        },
        "param.GDP_EXPENDITURE_EFFECT_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GDP_EXPENDITURE_EFFECT_MULT. Optional. Default: 1.0E-7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-7"
          }
        },
        "param.GDP_EFFECT_BONUS_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter GDP_EFFECT_BONUS_CURVE. Optional. Default: LINEAR. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "LINEAR"
          }
        },
        "param.GDP_SOCIAL_EFFECT_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter GDP_SOCIAL_EFFECT_MULT. Optional. Default: 1.5E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5E-4"
          }
        },
        "param.GDP_SOCIAL_EFFECT_FUNDING_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter GDP_SOCIAL_EFFECT_FUNDING_CURVE. Optional. Default: CIRCLE_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "CIRCLE_OUT"
          }
        },
        "param.GDP_SOCIAL_EFFECT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter GDP_SOCIAL_EFFECT_CURVE. Optional. Default: SINE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SINE"
          }
        },
        "param.ECONOMY_GROWTH_STDEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_GROWTH_STDEV. Optional. Default: 2.5E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.5E-5"
          }
        },
        "param.ECONOMY_MAX_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_MAX_STEP. Optional. Default: 1.25E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.25E-5"
          }
        },
        "param.ECONOMY_MIN_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_MIN_PERIOD. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.ECONOMY_MAX_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_MAX_PERIOD. Optional. Default: 5000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000"
          }
        },
        "param.ECONOMY_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_PERIOD. Optional. Default: 2500.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2500"
          }
        },
        "param.ECONOMY_MIN_REC_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_MIN_REC_PERIOD. Optional. Default: 300.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300"
          }
        },
        "param.ECONOMY_MAX_REC_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_MAX_REC_PERIOD. Optional. Default: 3000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3000"
          }
        },
        "param.ECONOMY_REC_PERIOD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_REC_PERIOD. Optional. Default: 800.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "800"
          }
        },
        "param.INFLATION_MONEY_BASE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INFLATION_MONEY_BASE_OFFSET. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INFLATION_MONEY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INFLATION_MONEY_THRESHOLD. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.INFLATION_MONEY_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INFLATION_MONEY_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INFLATION_MONEY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INFLATION_MONEY_MULT. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.ECONOMY_INFLATION_TARGET_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_INFLATION_TARGET_MULT. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.ECONOMY_INFLATION_TARGET_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter ECONOMY_INFLATION_TARGET_EXP. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.AOE_DR_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AOE_DR_SCALE. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.AOE_URBAN_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AOE_URBAN_THRESHOLD. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.AOE_ADD_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AOE_ADD_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.AOE_ADD_DST_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AOE_ADD_DST_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.AOE_PERCENT_DST_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AOE_PERCENT_DST_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.AOE_PERCENT_OP_DST_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AOE_PERCENT_OP_DST_CURVE. Optional. Default: POW5_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW5_OUT"
          }
        },
        "param.AOE_NUCLEAR_DST_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter AOE_NUCLEAR_DST_CURVE. Optional. Default: POW3_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW3_IN"
          }
        },
        "param.AOE_NUKE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter AOE_NUKE_THRESHOLD. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.AOE_NUKE_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AOE_NUKE_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.AOE_NUKE_COALITION_MORALE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter AOE_NUKE_COALITION_MORALE. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MAP_DATA_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_DATA_MIN. Optional. Default: 1.0E-16.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-16"
          }
        },
        "param.MAP_DATA_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_DATA_MAX. Optional. Default: 1.0E16.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E16"
          }
        },
        "param.MAP_CONQUEST_BASE_MAX_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_CONQUEST_BASE_MAX_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.MAP_CONQUEST_MAX_MULT_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_CONQUEST_MAX_MULT_SIZE. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.MAP_METROPOLIS_CLAIMED_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_METROPOLIS_CLAIMED_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.MAP_METROPOLIS_RESTORE": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MAP_METROPOLIS_RESTORE. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.MAP_REBALANCE_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_CHANCE. Optional. Default: 3.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-5"
          }
        },
        "param.MAP_REBALANCE_NOISE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_NOISE. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.MAP_REBALANCE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_EXP. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.MAP_REBALANCE_CAPITAL_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_CAPITAL_THRESHOLD. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.MAP_REBALANCE_CAPITAL_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_CAPITAL_MULT. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.MAP_REBALANCE_URBAN_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_URBAN_THRESHOLD. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.MAP_REBALANCE_URBAN_END_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REBALANCE_URBAN_END_THRESHOLD. Optional. Default: 300000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300000.0"
          }
        },
        "param.MAP_REGION_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REGION_SIZE. Optional. Default: 16.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "16"
          }
        },
        "param.MAP_REGION_SIZE_DESKTOP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAP_REGION_SIZE_DESKTOP. Optional. Default: 8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8"
          }
        },
        "param.RANKING_POWER_GDP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RANKING_POWER_GDP. Optional. Default: 0.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.4"
          }
        },
        "param.RANKING_POWER_POP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RANKING_POWER_POP. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.RANKING_POWER_MIL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RANKING_POWER_MIL. Optional. Default: 0.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.15"
          }
        },
        "param.RANKING_POWER_DEF": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RANKING_POWER_DEF. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.RANKING_POWER_AREA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RANKING_POWER_AREA. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.COALITION_WEIGHT_GDP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COALITION_WEIGHT_GDP. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.COALITION_WEIGHT_POP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COALITION_WEIGHT_POP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.COALITION_WEIGHT_MIL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COALITION_WEIGHT_MIL. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.CLAIM_LIBERATION_DELAY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CLAIM_LIBERATION_DELAY. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.MAX_BATTLESTATS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_BATTLESTATS. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_INTERVAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_INTERVAL. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_THRESHOLD. Optional. Default: 33.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "33.0"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_DIP_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_DIP_THRESHOLD. Optional. Default: 45.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "45.0"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_D2_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_D2_OFFSET. Optional. Default: 40.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "40.0"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_D2_DIV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_D2_DIV. Optional. Default: 60.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "60.0"
          }
        },
        "param.DIPLOMACY_FREEDOM_PENALTY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter DIPLOMACY_FREEDOM_PENALTY_MULT. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.COMBAT_RADIUS_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COMBAT_RADIUS_MIN. Optional. Default: 16.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "16.0"
          }
        },
        "param.COMBAT_RADIUS_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COMBAT_RADIUS_MAX. Optional. Default: 40.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "40.0"
          }
        },
        "param.BATTLE_CAPITAL_MOVING_RANGE_BLOCK": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter BATTLE_CAPITAL_MOVING_RANGE_BLOCK. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.BATTLE_INVASION_DST2_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_INVASION_DST2_MULT. Optional. Default: 0.75.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.75"
          }
        },
        "param.BATTLE_FOREIGN_LOCATION_DST2_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_FOREIGN_LOCATION_DST2_MULT. Optional. Default: 4.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0"
          }
        },
        "param.BATTLE_PIERCING_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.BATTLE_PIERCING_SCALING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_SCALING_HIGH. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.BATTLE_PIERCING_SCALING_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_SCALING_LOW. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.BATTLE_DEFENSE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.BATTLE_DEFENSE_SCALING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_SCALING_HIGH. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.BATTLE_DEFENSE_SCALING_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_SCALING_LOW. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BATTLE_PIERCING_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_SCALING. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.BATTLE_DEFENSE_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_SCALING. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BATTLE_PIERCING_MULT_SCALING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_MULT_SCALING_HIGH. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.BATTLE_PIERCING_MULT_SCALING_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_MULT_SCALING_LOW. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BATTLE_DEFENSE_MULT_SCALING_HIGH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_MULT_SCALING_HIGH. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.BATTLE_DEFENSE_MULT_SCALING_LOW": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_MULT_SCALING_LOW. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.BATTLE_PIERCING_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_PIERCING_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BATTLE_DEFENSE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DEFENSE_MULT. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.BATTLE_RELIEF_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_RELIEF_EXP. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BATTLE_RELIEF_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_RELIEF_MULT. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.BATTLE_TERRAIN_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter BATTLE_TERRAIN_CURVE. Optional. Default: FADE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "FADE"
          }
        },
        "param.BATTLE_BASE_SPEED_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_BASE_SPEED_PERCENT. Optional. Default: 0.02.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.02"
          }
        },
        "param.BATTLE_MAX_SPEED_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_MAX_SPEED_PERCENT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.BATTLE_HOME_ADVANTAGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_HOME_ADVANTAGE. Optional. Default: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        },
        "param.BATTLE_HOME_ADVANTAGE_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_HOME_ADVANTAGE_SCALING. Optional. Default: 0.75.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.75"
          }
        },
        "param.BATTLE_HOME_ADVANTAGE_COALITION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter BATTLE_HOME_ADVANTAGE_COALITION. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.BATTLE_HOME_ADVANTAGE_ALLIES": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter BATTLE_HOME_ADVANTAGE_ALLIES. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.BATTLE_LUCK_RANGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_LUCK_RANGE. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.BATTLE_DAMAGE_PROB_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DAMAGE_PROB_FACTOR. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.BATTLE_DAMAGE_PROB_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DAMAGE_PROB_EXP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BATTLE_DAMAGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DAMAGE. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.BATTLE_DAMAGE_RADIUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_DAMAGE_RADIUS. Optional. Default: 8.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8.0"
          }
        },
        "param.BATTLE_CASUALTIES_IMPACT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_CASUALTIES_IMPACT. Optional. Default: 100000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100000.0"
          }
        },
        "param.BATTLE_CASUALTIES_MILITIA_IMPACT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_CASUALTIES_MILITIA_IMPACT. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.BATTLE_EXPERIENCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_EXPERIENCE. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.BATTLE_EXPERIENCE_MILITIA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_EXPERIENCE_MILITIA. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.BATTLE_AMMUNITION_SHORTAGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_AMMUNITION_SHORTAGE. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.BATTLE_AMMUNITION_SHORTAGE_MILITIA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_AMMUNITION_SHORTAGE_MILITIA. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.BATTLE_AMMUNITION_SHORTAGE_ATTACKING_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_AMMUNITION_SHORTAGE_ATTACKING_MULT. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.BATTLE_STANDING_AP_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_STANDING_AP_MULT. Optional. Default: 5.0E-8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-8"
          }
        },
        "param.BATTLE_FREEDOM_CASUALTY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_FREEDOM_CASUALTY_MULT. Optional. Default: 1.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-5"
          }
        },
        "param.BATTLE_FREEDOM_MILITIA_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_FREEDOM_MILITIA_MULT. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.BATTLE_FREEDOM_DEFENDING_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter BATTLE_FREEDOM_DEFENDING_MULT. Optional. Default: 6.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "6.0"
          }
        },
        "param.CONQUEST_LOYALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_LOYALTY. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.CONQUEST_EXECUTE_DELAY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_EXECUTE_DELAY. Optional. Default: 30.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30"
          }
        },
        "param.CONQUEST_COALITION_LIBERATION": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter CONQUEST_COALITION_LIBERATION. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.FORCE_CONQUEST_THRESHOLD_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FORCE_CONQUEST_THRESHOLD_MIN. Optional. Default: 8000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8000"
          }
        },
        "param.FORCE_CONQUEST_THRESHOLD_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FORCE_CONQUEST_THRESHOLD_MAX. Optional. Default: 32000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "32000"
          }
        },
        "param.FORCE_CONQUEST_THRESHOLD_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter FORCE_CONQUEST_THRESHOLD_STEP. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.CONQUEST_EFFECT_MAX_NODES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_EFFECT_MAX_NODES. Optional. Default: 4096.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4096"
          }
        },
        "param.CONQUEST_EFFECT_MAX_DAILY_NODES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_EFFECT_MAX_DAILY_NODES. Optional. Default: 128.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "128"
          }
        },
        "param.CONQUEST_GRAPH_MAX_DEPTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_GRAPH_MAX_DEPTH. Optional. Default: 32.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "32"
          }
        },
        "param.INVASION_ACTIVE_ALLY_BORDER_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ACTIVE_ALLY_BORDER_THRESHOLD. Optional. Default: 256.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "256"
          }
        },
        "param.INVASION_ALLY_BORDER_MIN_LOYALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ALLY_BORDER_MIN_LOYALTY. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.INVASION_OVERLAP_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVERLAP_THRESHOLD. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.INVASION_OVERLAP_MAX_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVERLAP_MAX_DST. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.INVASION_OVERLAP_MIN_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVERLAP_MIN_DST. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.INVASION_OVERLAP_MIN_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVERLAP_MIN_MULT. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter INVASION_CASUALTY_PRIORITY. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_MAX_AGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_MAX_AGE. Optional. Default: 500.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "500"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_AGE_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_AGE_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_MAX_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_MAX_DST. Optional. Default: 96.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "96.0"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_DST_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_DST_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_MAX_EVENTS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_MAX_EVENTS. Optional. Default: 512.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "512"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_MIN_SCORE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_MIN_SCORE. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_MIN_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_MIN_MULT. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.INVASION_CASUALTY_PRIORITY_POWER_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_CASUALTY_PRIORITY_POWER_BASE. Optional. Default: 1000000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000.0"
          }
        },
        "param.INVASION_PRIORITY_MILITIA_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_PRIORITY_MILITIA_CHANCE. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.INVASION_PRIORITY_MILITIA_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_PRIORITY_MILITIA_SIZE. Optional. Default: 100000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100000"
          }
        },
        "param.INVASION_PRIORITY_MILITIA_RADIUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_PRIORITY_MILITIA_RADIUS. Optional. Default: 12.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "12"
          }
        },
        "param.INVASION_PRIORITY_MILITIA_MIN_SLOWDOWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_PRIORITY_MILITIA_MIN_SLOWDOWN. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.INVASION_PRIORITY_MILITIA_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter INVASION_PRIORITY_MILITIA_CURVE. Optional. Default: LINEAR. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "LINEAR"
          }
        },
        "param.INVASION_DST2_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_DST2_THRESHOLD. Optional. Default: 9.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "9.0"
          }
        },
        "param.INVASION_ATT_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_BASE. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.INVASION_ATT_INVALID": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_INVALID. Optional. Default: 0.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.4"
          }
        },
        "param.INVASION_ATT_STD_DEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_STD_DEV. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.INVASION_ATT_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_MIN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INVASION_ATT_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_MAX. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.INVASION_ATT_POP_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_POP_WEIGHT. Optional. Default: 5.0E-6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-6"
          }
        },
        "param.INVASION_ATT_TERRAIN_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_ATT_TERRAIN_WEIGHT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.INVASION_STRENGTH_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_STRENGTH_THRESHOLD. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INVASION_INVALID_STRENGTH_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_INVALID_STRENGTH_THRESHOLD. Optional. Default: 4.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0"
          }
        },
        "param.INVASION_MIN_STRENGTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIN_STRENGTH. Optional. Default: 1.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.1"
          }
        },
        "param.INVASION_STRENGTH_BASE_IMPACT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_STRENGTH_BASE_IMPACT. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.INVASION_STRENGTH_IMPACT_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_STRENGTH_IMPACT_SCALING. Optional. Default: 0.275.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.275"
          }
        },
        "param.INVASION_OVEREXTENSION_MAX_PENALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_MAX_PENALTY. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.INVASION_OVEREXTENSION_MAX_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_MAX_WEIGHT. Optional. Default: 1000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000.0"
          }
        },
        "param.INVASION_OVEREXTENSION_MAX_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_MAX_DST2. Optional. Default: 25.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "25.0"
          }
        },
        "param.INVASION_OVEREXTENSION_DST2_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_DST2_OFFSET. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.INVASION_OVEREXTENSION_MAX_POINTS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_MAX_POINTS. Optional. Default: 80.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "80"
          }
        },
        "param.INVASION_OVEREXTENSION_MIL_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_OVEREXTENSION_MIL_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.INVASION_MAX_INFLUENCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MAX_INFLUENCE. Optional. Default: 20.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20"
          }
        },
        "param.INVASION_MIL_POP_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_POP_CHANCE_FACTOR. Optional. Default: 2.9999999242136255E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.9999999242136255E-5"
          }
        },
        "param.INVASION_MIL_ECO_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_ECO_CHANCE_FACTOR. Optional. Default: 0.003000000026077032.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.003000000026077032"
          }
        },
        "param.INVASION_MIL_LOY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_LOY_THRESHOLD. Optional. Default: 200.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "200"
          }
        },
        "param.INVASION_MIL_POP_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_POP_SIZE_FACTOR. Optional. Default: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        },
        "param.INVASION_MIL_ECO_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_ECO_SIZE_FACTOR. Optional. Default: 250.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "250.0"
          }
        },
        "param.INVASION_MIL_SIZE_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_SIZE_SCALE. Optional. Default: 5000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000.0"
          }
        },
        "param.INVASION_MIL_SIZE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIL_SIZE_EXP. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.INVASION_MILITIA_TARGET_ATTACKER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter INVASION_MILITIA_TARGET_ATTACKER. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.INVASION_MERGE_SIZE_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MERGE_SIZE_SCALING. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.INVASION_AUTOMERGE_MIN_DISTANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_AUTOMERGE_MIN_DISTANCE. Optional. Default: 21.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "21.0"
          }
        },
        "param.INVASION_AUTOMERGE_MAX_DISTANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_AUTOMERGE_MAX_DISTANCE. Optional. Default: 50.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "50.0"
          }
        },
        "param.INVASION_GUARD_POP_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_POP_CHANCE. Optional. Default: 0.009999999776482582.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.009999999776482582"
          }
        },
        "param.INVASION_GUARD_AREA_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_AREA_CHANCE. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.INVASION_GUARD_NUM_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_NUM_EXP. Optional. Default: 0.3499999940395355.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3499999940395355"
          }
        },
        "param.INVASION_GUARD_POP_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_POP_SIZE_FACTOR. Optional. Default: 0.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.05"
          }
        },
        "param.INVASION_GUARD_SIZE_SCALE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_SIZE_SCALE. Optional. Default: 5000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5000.0"
          }
        },
        "param.INVASION_GUARD_SIZE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_SIZE_EXP. Optional. Default: 0.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.15"
          }
        },
        "param.INVASION_GUARD_AREA_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_AREA_MULT. Optional. Default: 20.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20.0"
          }
        },
        "param.INVASION_GUARD_AREA_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_AREA_EXP. Optional. Default: 0.66.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.66"
          }
        },
        "param.INVASION_MIN_GARRISON_GUARDS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_MIN_GARRISON_GUARDS. Optional. Default: 10000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000"
          }
        },
        "param.INVASION_GUARD_SPLIT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter INVASION_GUARD_SPLIT_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.INVASION_GUARD_RETIRE_DELAY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASION_GUARD_RETIRE_DELAY. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "param.MILITIA_INCURSION_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITIA_INCURSION_THRESHOLD. Optional. Default: 30.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30"
          }
        },
        "param.MILITIA_INCURSION_DIPLOMACY_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter MILITIA_INCURSION_DIPLOMACY_CURVE. Optional. Default: POW2_IN. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_IN"
          }
        },
        "param.INCURSION_MIL_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_MIL_SIZE_FACTOR. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.INCURSION_MIL_BASE_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_MIL_BASE_CHANCE_FACTOR. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.INCURSION_MIL_ECO_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_MIL_ECO_CHANCE_FACTOR. Optional. Default: 0.005.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.005"
          }
        },
        "param.INCURSION_MIL_POP_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_MIL_POP_CHANCE_FACTOR. Optional. Default: 2.5E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.5E-5"
          }
        },
        "param.INCURSION_LOYALTY_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_LOYALTY_SIZE_FACTOR. Optional. Default: 4.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "4.0"
          }
        },
        "param.INCURSION_CAPITAL_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INCURSION_CAPITAL_SIZE_FACTOR. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.MILITIA_INCURSION_BORDER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MILITIA_INCURSION_BORDER. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MILITIA_INCURSION_CLAIMS": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MILITIA_INCURSION_CLAIMS. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MILITIA_INCURSION_CLAIMS_CAPITAL": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MILITIA_INCURSION_CLAIMS_CAPITAL. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MILITIA_INCURSION_AIRCRAFT": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MILITIA_INCURSION_AIRCRAFT. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.MILITIA_INCURSION_TARGET_ATTACKER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter MILITIA_INCURSION_TARGET_ATTACKER. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.INVASIONS_COOLDOWN_RATE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASIONS_COOLDOWN_RATE. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.INVASIONS_COOLDOWN_RATE_INVADED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASIONS_COOLDOWN_RATE_INVADED. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.INVASIONS_MIL_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASIONS_MIL_SIZE_FACTOR. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.INVASIONS_MIL_POP_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter INVASIONS_MIL_POP_CHANCE_FACTOR. Optional. Default: 1.0E-5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0E-5"
          }
        },
        "param.MILITIA_DESPAWN_BASE_UPDATES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MILITIA_DESPAWN_BASE_UPDATES. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "param.COLLAPSE_MILITIA": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter COLLAPSE_MILITIA. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.COLLAPSE_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COLLAPSE_THRESHOLD. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.COLLAPSE_MAX_POWER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COLLAPSE_MAX_POWER. Optional. Default: 500000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "500000.0"
          }
        },
        "param.COLLAPSE_MIN_AREA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter COLLAPSE_MIN_AREA. Optional. Default: 2000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2000"
          }
        },
        "param.CONQUEST_ENCIRCLEMENT_DEPTH": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter CONQUEST_ENCIRCLEMENT_DEPTH. Optional. Default: 8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "8"
          }
        },
        "param.REBELLION_MAX_AREA": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MAX_AREA. Optional. Default: 441.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "441"
          }
        },
        "param.REBELLION_BASE_WAVE_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_BASE_WAVE_CHANCE. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.REBELLION_WAVE_DURATION_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_WAVE_DURATION_MULT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.REBELLION_BASE_CHANCE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_BASE_CHANCE_FACTOR. Optional. Default: 5.0E-4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-4"
          }
        },
        "param.REBELLION_MIL_SIZE_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MIL_SIZE_FACTOR. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.REBELLION_MILITIA_TARGET_ATTACKER": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter REBELLION_MILITIA_TARGET_ATTACKER. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.REBELLION_FUNDING_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_FUNDING_SCALING. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.REBELLION_BASE_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_BASE_CHANCE. Optional. Default: 5.0E-8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E-8"
          }
        },
        "param.REBELLION_FORCE_STD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_FORCE_STD. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.REBELLION_FORCE_USED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_FORCE_USED. Optional. Default: 0.8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.8"
          }
        },
        "param.REBELLION_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_SCALING. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.REBELLION_POINT_CHANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_POINT_CHANCE. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.REBELLION_SIZE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_SIZE_EXP. Optional. Default: 0.95.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.95"
          }
        },
        "param.REBELLION_MIN_FORCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MIN_FORCE. Optional. Default: 20000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20000"
          }
        },
        "param.REBELLION_MAX_FORCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MAX_FORCE. Optional. Default: 100000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100000000"
          }
        },
        "param.REBELLION_MAX_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MAX_SIZE. Optional. Default: 1000000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000000"
          }
        },
        "param.REBELLION_MIN_SIZE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REBELLION_MIN_SIZE. Optional. Default: 100000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100000"
          }
        },
        "param.RESISTANCE_DST2_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_DST2_THRESHOLD. Optional. Default: 9.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "9.0"
          }
        },
        "param.RESISTANCE_ATT_BASE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_BASE. Optional. Default: 0.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.15"
          }
        },
        "param.RESISTANCE_ATT_INVALID": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_INVALID. Optional. Default: 0.33999997.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.33999997"
          }
        },
        "param.RESISTANCE_ATT_STD_DEV": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_STD_DEV. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.RESISTANCE_ATT_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_MIN. Optional. Default: 0.84.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.84"
          }
        },
        "param.RESISTANCE_ATT_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_MAX. Optional. Default: 0.4.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.4"
          }
        },
        "param.RESISTANCE_ATT_POP_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_POP_WEIGHT. Optional. Default: 3.0E-6.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0E-6"
          }
        },
        "param.RESISTANCE_ATT_TERRAIN_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_ATT_TERRAIN_WEIGHT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.RESISTANCE_STRENGTH_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_STRENGTH_THRESHOLD. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.RESISTANCE_INVALID_STRENGTH_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_INVALID_STRENGTH_THRESHOLD. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.RESISTANCE_STRENGTH_BASE_IMPACT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_STRENGTH_BASE_IMPACT. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.RESISTANCE_STRENGTH_IMPACT_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_STRENGTH_IMPACT_SCALING. Optional. Default: 0.225.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.225"
          }
        },
        "param.RESISTANCE_MIN_MILITIA_UPDATES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_MIN_MILITIA_UPDATES. Optional. Default: 30.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30"
          }
        },
        "param.RESISTANCE_MAX_MILITIA_UPDATES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_MAX_MILITIA_UPDATES. Optional. Default: 60.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "60"
          }
        },
        "param.RESISTANCE_MILITIA_DELAY_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_MILITIA_DELAY_MULT. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.RESISTANCE_MILITIA_MAX_DELAY_UPDATES": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_MILITIA_MAX_DELAY_UPDATES. Optional. Default: 14.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "14"
          }
        },
        "param.RESISTANCE_MILITIA_REQ_AREA_DESPAWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter RESISTANCE_MILITIA_REQ_AREA_DESPAWN. Optional. Default: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        },
        "param.MAX_SQUADS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter MAX_SQUADS. Optional. Default: 32.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "32"
          }
        },
        "param.SQUAD_SCALE_MULT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_SCALE_MULT. Optional. Default: 0.7.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.7"
          }
        },
        "param.SQUAD_SCALE_EXP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_SCALE_EXP. Optional. Default: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        },
        "param.SQUAD_SCALE_OFFSET": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_SCALE_OFFSET. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.SQUAD_SCALE_MIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_SCALE_MIN. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.SQUAD_SCALE_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_SCALE_MAX. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.SQUAD_MERGE_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_MERGE_DST2. Optional. Default: 9.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "9.0"
          }
        },
        "param.SQUAD_MERGE_MIN_AGE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_MERGE_MIN_AGE. Optional. Default: 20.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20"
          }
        },
        "param.SQUAD_CAMP_MAX_WAIT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_CAMP_MAX_WAIT. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.SQUAD_ATTACK_MIN_DST2_OTHER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_MIN_DST2_OTHER. Optional. Default: 30.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30.0"
          }
        },
        "param.SQUAD_ATTACK_NEAREST_POINT_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_NEAREST_POINT_DST2. Optional. Default: 30.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30.0"
          }
        },
        "param.SQUAD_ATTACK_NEAR_SEARCH_POINTS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_NEAR_SEARCH_POINTS. Optional. Default: 80.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "80"
          }
        },
        "param.SQUAD_ATTACK_NEAR_CLAIM_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_NEAR_CLAIM_WEIGHT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.SQUAD_ATTACK_FAR_CLAIM_REGION_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_FAR_CLAIM_REGION_WEIGHT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.SQUAD_ATTACK_FAR_CLAIM_POINT_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ATTACK_FAR_CLAIM_POINT_WEIGHT. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.SQUAD_DIVIDE_MAX": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIVIDE_MAX. Optional. Default: 16.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "16"
          }
        },
        "param.SQUAD_DIVIDE_OVERWHELM_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIVIDE_OVERWHELM_THRESHOLD. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.SQUAD_DIVIDE_ALLY_ACCESS_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIVIDE_ALLY_ACCESS_WEIGHT. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.SQUAD_DIVIDE_MIN_RADIUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIVIDE_MIN_RADIUS. Optional. Default: 2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2"
          }
        },
        "param.SQUAD_DIVIDE_MAX_RADIUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DIVIDE_MAX_RADIUS. Optional. Default: 10.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10"
          }
        },
        "param.SQUAD_DEFEND_MAX_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DEFEND_MAX_DST. Optional. Default: 316.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "316.0"
          }
        },
        "param.REGION_DEFENSE_MAX_DST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REGION_DEFENSE_MAX_DST. Optional. Default: 300.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300.0"
          }
        },
        "param.REGION_DEFENSE_MIN_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REGION_DEFENSE_MIN_WEIGHT. Optional. Default: 500000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "500000.0"
          }
        },
        "param.REGION_DEFENSE_MIN_DEPLOY_WEIGHT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REGION_DEFENSE_MIN_DEPLOY_WEIGHT. Optional. Default: 350000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "350000.0"
          }
        },
        "param.REGION_DEFENSE_DEPLOY_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REGION_DEFENSE_DEPLOY_THRESHOLD. Optional. Default: 300000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "300000.0"
          }
        },
        "param.REGION_DEFENSE_DELTA_THRESHOLD": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter REGION_DEFENSE_DELTA_THRESHOLD. Optional. Default: 50000.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "50000.0"
          }
        },
        "param.PRODUCE_INTERVAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PRODUCE_INTERVAL. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "param.PRODUCE_AUTOMERGE_DISTANCE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PRODUCE_AUTOMERGE_DISTANCE. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.PRODUCE_MAX_SQUADS_PEN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PRODUCE_MAX_SQUADS_PEN. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.SQUAD_MIN_FOLLOW_DST2": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_MIN_FOLLOW_DST2. Optional. Default: 1000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1000"
          }
        },
        "param.SQUAD_ALERT_RADIUS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_ALERT_RADIUS. Optional. Default: 32.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "32.0"
          }
        },
        "param.SQUAD_DESPAWN_DAYS": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter SQUAD_DESPAWN_DAYS. Optional. Default: 3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3"
          }
        },
        "param.UNIT_WEIGHT_STEP": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_WEIGHT_STEP. Optional. Default: 10000.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10000"
          }
        },
        "param.UNIT_PROD_TIME_POP_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_PROD_TIME_POP_SCALING. Optional. Default: -0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "-0.1"
          }
        },
        "param.UNIT_PROD_TIME_POP_FACTOR": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_PROD_TIME_POP_FACTOR. Optional. Default: 0.01.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.01"
          }
        },
        "param.UNIT_MAX_SELL_COST": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_SELL_COST. Optional. Default: 0.99.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.99"
          }
        },
        "param.UNIT_BASE_COST_PENALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_BASE_COST_PENALTY. Optional. Default: 5.0E8.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0E8"
          }
        },
        "param.UNIT_OFFSET_COST_PENALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_OFFSET_COST_PENALTY. Optional. Default: 19.03.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "19.03"
          }
        },
        "param.UNIT_MAX_COST_PENALTY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_COST_PENALTY. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.UNIT_MIN_COST_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MIN_COST_SCALING. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.UNIT_MAX_COST_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_COST_SCALING. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.UNIT_MIN_MAINTENANCE_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MIN_MAINTENANCE_SCALING. Optional. Default: 0.1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.1"
          }
        },
        "param.UNIT_MAX_MAINTENANCE_SCALING": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_MAINTENANCE_SCALING. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.UNIT_MAX_BUY_MONEY_PERCENT": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_BUY_MONEY_PERCENT. Optional. Default: 0.9.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.9"
          }
        },
        "param.UNIT_MAX_BUY_MARGIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter UNIT_MAX_BUY_MARGIN. Optional. Default: 1.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.15"
          }
        },
        "param.UNIT_BULK_BUY_DISCOUNT_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter UNIT_BULK_BUY_DISCOUNT_CURVE. Optional. Default: SQUARE_INVERSE. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "SQUARE_INVERSE"
          }
        },
        "param.UNIT_MAINTENANCE_WORLD_GDP_CURVE": {
          "$ref": "#/$defs/value",
          "description": "STRING. Advanced scenario parameter UNIT_MAINTENANCE_WORLD_GDP_CURVE. Optional. Default: POW2_OUT. One of 48 values, listed in $defs/options.curve.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.curve"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "POW2_OUT"
          }
        },
        "param.LEADER_LIFE_EXPECTANCY.mean": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_LIFE_EXPECTANCY.mean. Optional. Default: 80.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "80.0"
          }
        },
        "param.LEADER_LIFE_EXPECTANCY.stdDev": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_LIFE_EXPECTANCY.stdDev. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.LEADER_LIFE_EXPECTANCY.min": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_LIFE_EXPECTANCY.min. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.LEADER_LIFE_EXPECTANCY.max": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_LIFE_EXPECTANCY.max. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.LEADER_MIN_TENURE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_MIN_TENURE. Optional. Default: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        },
        "param.LEADER_INACTIVE_EXP_GAIN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_INACTIVE_EXP_GAIN. Optional. Default: 0.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.2"
          }
        },
        "param.LEADER_INACTIVE_UPDATE_INTERVAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_INACTIVE_UPDATE_INTERVAL. Optional. Default: 30.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "30"
          }
        },
        "param.LEADER_START_AGE_OFFSET.mean": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_AGE_OFFSET.mean. Optional. Default: 3650.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3650.0"
          }
        },
        "param.LEADER_START_AGE_OFFSET.stdDev": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_AGE_OFFSET.stdDev. Optional. Default: 1825.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1825.0"
          }
        },
        "param.LEADER_START_AGE_OFFSET.min": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_AGE_OFFSET.min. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.LEADER_START_AGE_OFFSET.max": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_AGE_OFFSET.max. Optional. Default: 7300.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "7300.0"
          }
        },
        "param.LEADER_START_EXP_OFFSET.mean": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_EXP_OFFSET.mean. Optional. Default: 0.08.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.08"
          }
        },
        "param.LEADER_START_EXP_OFFSET.stdDev": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_EXP_OFFSET.stdDev. Optional. Default: 0.03.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.03"
          }
        },
        "param.LEADER_START_EXP_OFFSET.min": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_EXP_OFFSET.min. Optional. Default: 0.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.0"
          }
        },
        "param.LEADER_START_EXP_OFFSET.max": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter LEADER_START_EXP_OFFSET.max. Optional. Default: 0.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.3"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.WATER. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.OWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.OWN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.ALLIED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.ALLIED. Optional. Default: 1.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.15"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.FRIENDLY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.FRIENDLY. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.NEUTRAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.NEUTRAL. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.HOSTILE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.HOSTILE. Optional. Default: 100.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100.0"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.BORDER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.BORDER. Optional. Default: 5.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "5.0"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.BORDER_WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_STRATEGY.BORDER_WATER. Optional. Default: 10.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "10.0"
          }
        },
        "param.PATH_DEFAULT_STRATEGY.AFFECTED_BY_TERRAIN": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_DEFAULT_STRATEGY.AFFECTED_BY_TERRAIN. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.WATER. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.OWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.OWN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.ALLIED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.ALLIED. Optional. Default: 1.15.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.15"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.FRIENDLY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.FRIENDLY. Optional. Default: 1.3.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.3"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.NEUTRAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.NEUTRAL. Optional. Default: 1.75.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.75"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.HOSTILE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.HOSTILE. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.BORDER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.BORDER. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.BORDER_WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.BORDER_WATER. Optional. Default: 3.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "3.0"
          }
        },
        "param.PATH_DEFAULT_EFFECTIVE.AFFECTED_BY_TERRAIN": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_DEFAULT_EFFECTIVE.AFFECTED_BY_TERRAIN. Optional. Default: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.WATER. Optional. Default: 1.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.25"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.OWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.OWN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.ALLIED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.ALLIED. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.FRIENDLY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.FRIENDLY. Optional. Default: 1.2.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.2"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.NEUTRAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.NEUTRAL. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.HOSTILE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.HOSTILE. Optional. Default: 20.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "20.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.BORDER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.BORDER. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.BORDER_WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.BORDER_WATER. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.PATH_AIRCRAFT_STRATEGY.AFFECTED_BY_TERRAIN": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_AIRCRAFT_STRATEGY.AFFECTED_BY_TERRAIN. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.WATER. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.OWN": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.OWN. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.ALLIED": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.ALLIED. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.FRIENDLY": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.FRIENDLY. Optional. Default: 1.05.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.05"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.NEUTRAL": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.NEUTRAL. Optional. Default: 1.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.5"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.HOSTILE": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.HOSTILE. Optional. Default: 2.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "2.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.BORDER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.BORDER. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.BORDER_WATER": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.BORDER_WATER. Optional. Default: 1.0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1.0"
          }
        },
        "param.PATH_AIRCRAFT_EFFECTIVE.AFFECTED_BY_TERRAIN": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Advanced scenario parameter PATH_AIRCRAFT_EFFECTIVE.AFFECTED_BY_TERRAIN. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        }
      },
      "additionalProperties": false
    },
    "command.editable.edit_unit": {
      "type": "object",
      "title": "Unit (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the unit to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one UNIT definition as JSON, in the same format as the scenario's UNIT data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_unit": {
      "type": "object",
      "title": "Remove unit (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "title": "Unit",
          "description": "STRING. Id of the unit to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.editable.edit_technology": {
      "type": "object",
      "title": "Technology (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the technology to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one TECH definition as JSON, in the same format as the scenario's TECH data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_technology": {
      "type": "object",
      "title": "Remove technology (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the technology to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.editable.edit_research": {
      "type": "object",
      "title": "Research (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the research to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one RESEARCH definition as JSON, in the same format as the scenario's RESEARCH data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_research": {
      "type": "object",
      "title": "Remove research (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "title": "Research",
          "description": "STRING. Id of the research to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.editable.edit_aoe": {
      "type": "object",
      "title": "Area effect (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the area effect to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one AOE definition as JSON, in the same format as the scenario's AOE data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_aoe": {
      "type": "object",
      "title": "Remove area effect (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the area effect to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.editable.edit_ideology": {
      "type": "object",
      "title": "Ideology (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the ideology to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one IDEOLOGY definition as JSON, in the same format as the scenario's IDEOLOGY data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_ideology": {
      "type": "object",
      "title": "Remove ideology (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "title": "Ideology",
          "description": "STRING. Id of the ideology to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.editable.edit_effect": {
      "type": "object",
      "title": "Effect (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Id of the effect to create or replace. It must be a constant; expressions are not supported here. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "data": {
          "$ref": "#/$defs/value",
          "description": "STRING. Constant STRING holding one EFFECTS definition as JSON, in the same format as the scenario's EFFECTS data but without the outer id. It is read when the script is loaded, not evaluated when it runs. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/jsonObject"
                    }
                  }
                }
              }
            }
          ]
        },
        "customText": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding localized names and descriptions as JSON, keyed by text id and language (the format of the scenario's custom text). Use ID for the name and ID_DESC for the description."
        },
        "imageData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported image for the definition, as the editor encodes it."
        },
        "iconData": {
          "$ref": "#/$defs/value",
          "description": "Optional constant STRING holding an imported icon for the definition, as the editor encodes it."
        }
      },
      "required": ["id", "data"],
      "additionalProperties": false
    },
    "command.editable.remove_effect": {
      "type": "object",
      "title": "Remove effect (Configuration) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "title": "Effect",
          "description": "STRING. Id of the effect to remove. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["id"],
      "additionalProperties": false
    },
    "command.script.set_game_date": {
      "type": "object",
      "title": "Game date (Advanced) fields",
      "properties": {
        "date": {
          "$ref": "#/$defs/value",
          "description": "DATE. Required.",
          "properties": {
            "type": {
              "examples": ["DATE"]
            }
          }
        }
      },
      "required": ["date"],
      "additionalProperties": false
    },
    "command.script.set_goal": {
      "type": "object",
      "title": "Change goal (Advanced) fields",
      "properties": {
        "goal": {
          "$ref": "#/$defs/value",
          "title": "Type",
          "description": "GOAL_TYPE. Goal type, for example POWER (a GOAL_TYPE value). Required. Suggested value: POWER.",
          "properties": {
            "type": {
              "examples": ["GOAL_TYPE"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "GOAL_TYPE",
            "value": "POWER"
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Normalized goal target, clamped to 0..1. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        }
      },
      "required": ["goal", "target"],
      "additionalProperties": false
    },
    "command.country.set_goal_progress": {
      "type": "object",
      "title": "Goal progress (Advanced) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "progress": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "progress"],
      "additionalProperties": false
    },
    "command.script.end_game": {
      "type": "object",
      "title": "End game (Advanced) fields",
      "properties": {
        "winner": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. Winning country; null/none represents no country winner. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "coalition": {
          "$ref": "#/$defs/value",
          "description": "COALITION. Optional explicit winning coalition; defaults to the winner's current coalition. Optional.",
          "properties": {
            "type": {
              "examples": ["COALITION"]
            }
          }
        },
        "settle": {
          "$ref": "#/$defs/value",
          "title": "Calculate player rewards",
          "description": "BOOLEAN. Request supported online World War player reward settlement before dispatching the result. Optional. Default: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        }
      },
      "required": ["winner"],
      "additionalProperties": false
    },
    "command.script.cancel_game_end": {
      "type": "object",
      "title": "Cancel game end (Advanced) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.script.set_enabled": {
      "type": "object",
      "title": "Script enabled (Advanced) fields",
      "properties": {
        "id": {
          "$ref": "#/$defs/value",
          "title": "Script id",
          "description": "STRING. Id of the script to enable or disable. Required. Suggested value: script_id.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "script_id"
          }
        },
        "enabled": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Required. Suggested value: true.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "true"
          }
        }
      },
      "required": ["id", "enabled"],
      "additionalProperties": false
    },
    "command.ui.message_set": {
      "type": "object",
      "title": "Message (Common) fields",
      "properties": {
        "key": {
          "$ref": "#/$defs/value",
          "description": "STRING. Key identifying the message or widget. Keys are shared by all scripts, so give them a prefix. Required. Suggested value: key.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "key"
          }
        },
        "title": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional heading. Supports placeholders and localized text (see textTemplate). Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "text": {
          "$ref": "#/$defs/value",
          "description": "STRING. Message body. Supports placeholders and localized text (see textTemplate). Empty title and text remove the message. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "style": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: info. Values: info, quest, success, warning, alert.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["info", "quest", "success", "warning", "alert"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "info"
          }
        },
        "color": {
          "$ref": "#/$defs/value",
          "description": "COLOR. Optional.",
          "properties": {
            "type": {
              "examples": ["COLOR"]
            }
          }
        },
        "format": {
          "$ref": "#/$defs/value",
          "description": "STRING. Optional. Default: text. Values: text, compact, checklist, progress.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["text", "compact", "checklist", "progress"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "text"
          }
        },
        "completed": {
          "$ref": "#/$defs/value",
          "description": "BOOLEAN. Required. Suggested value: false.",
          "properties": {
            "type": {
              "examples": ["BOOLEAN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "BOOLEAN",
            "value": "false"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "min": {
          "$ref": "#/$defs/value",
          "title": "Minimum",
          "description": "NUMBER. Optional. Default: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "max": {
          "$ref": "#/$defs/value",
          "title": "Maximum",
          "description": "NUMBER. Optional. Default: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        },
        "priority": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Optional.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["key", "text", "completed"],
      "additionalProperties": false
    },
    "command.ui.message_remove": {
      "type": "object",
      "title": "Remove message (Common) fields",
      "properties": {
        "key": {
          "$ref": "#/$defs/value",
          "description": "STRING. Key identifying the message or widget. Keys are shared by all scripts, so give them a prefix. Required. Suggested value: key.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "key"
          }
        }
      },
      "required": ["key"],
      "additionalProperties": false
    },
    "command.ui.message_clear": {
      "type": "object",
      "title": "Clear messages (Common) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.ui.widget_set": {
      "type": "object",
      "title": "HUD widget (Common) fields",
      "properties": {
        "key": {
          "$ref": "#/$defs/value",
          "description": "STRING. Widget key. Keys are shared by all scripts, so give them a prefix (for example myscenario.status). Setting an existing key replaces that widget. Required. Suggested value: widget.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "widget"
          }
        },
        "definition": {
          "$ref": "#/$defs/value",
          "title": "Widget definition",
          "description": "STRING holding the widget tree as JSON (see hudDefinition). Properties may bind expressions with {\"$value\": Value}; they are evaluated when this action runs. Required. Suggested value: {\"type\":\"column\",\"children\":[]}.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "{\"type\":\"column\",\"children\":[]}"
          },
          "allOf": [
            {
              "if": {
                "properties": {
                  "kind": {
                    "const": "CONSTANT"
                  }
                }
              },
              "then": {
                "properties": {
                  "value": {
                    "contentMediaType": "application/json",
                    "contentSchema": {
                      "$ref": "#/$defs/hudDefinition"
                    }
                  }
                }
              }
            }
          ]
        }
      },
      "required": ["key", "definition"],
      "additionalProperties": false
    },
    "options.property": {
      "type": "string",
      "description": "Accepted values of property and of other fields with the same choices.",
      "examples": [
        "text",
        "icon",
        "scaling",
        "value",
        "min",
        "max",
        "visible",
        "color",
        "background",
        "style",
        "anchor",
        "align",
        "x",
        "y",
        "width",
        "height",
        "widthFraction",
        "heightFraction",
        "padding",
        "gap",
        "fontScale",
        "wrap",
        "order",
        "animationIn",
        "durationIn",
        "animationOut",
        "durationOut",
        "direction",
        "valueDuration",
        "fillInset",
        "skinStyle",
        "backgroundTexture",
        "fillTexture",
        "borderTexture",
        "textureInset",
        "borderColor",
        "borderWidth",
        "cornerRadius",
        "opacity",
        "motion",
        "motionKey",
        "paddingLeft",
        "paddingRight",
        "paddingTop",
        "paddingBottom"
      ]
    },
    "command.ui.widget_update": {
      "type": "object",
      "title": "Update HUD element (Common) fields",
      "properties": {
        "key": {
          "$ref": "#/$defs/value",
          "description": "STRING. Key identifying the message or widget. Keys are shared by all scripts, so give them a prefix. Required. Suggested value: widget.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "widget"
          }
        },
        "element": {
          "$ref": "#/$defs/value",
          "description": "STRING. Element to change: its id, a child-index path such as /0/1, or empty for the root element. Optional.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "property": {
          "$ref": "#/$defs/value",
          "description": "STRING. Name of the HUD property to change (see hudDefinition). type, id and children cannot be changed this way; use ui.widget_set. Required. Suggested value: text. One of 45 values, listed in $defs/options.property.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "$ref": "#/$defs/options.property"
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "text"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "ANY. New value, of the type the property expects. Localized text and embedded images are given as JSON strings. Required."
        }
      },
      "required": ["key", "property", "value"],
      "additionalProperties": false
    },
    "command.ui.widget_remove": {
      "type": "object",
      "title": "Remove HUD widget (Common) fields",
      "properties": {
        "key": {
          "$ref": "#/$defs/value",
          "description": "STRING. Key identifying the message or widget. Keys are shared by all scripts, so give them a prefix. Required. Suggested value: widget.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "widget"
          }
        }
      },
      "required": ["key"],
      "additionalProperties": false
    },
    "command.ui.widget_clear": {
      "type": "object",
      "title": "Clear HUD widgets (Common) fields",
      "properties": {},
      "additionalProperties": false
    },
    "command.country.add_gdp": {
      "type": "object",
      "title": "Add country GDP (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.add_money": {
      "type": "object",
      "title": "Add country money (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.add_population": {
      "type": "object",
      "title": "Add country population (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.add_research_points": {
      "type": "object",
      "title": "Add research points (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Points",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.change_culture": {
      "type": "object",
      "title": "Culture (Country identity) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Culture",
          "description": "STRING. Required. Suggested value: WESTERN. Values: WESTERN, AFRICAN, ARABIC, EASTERN.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["WESTERN", "AFRICAN", "ARABIC", "EASTERN"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "WESTERN"
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.modify_gdp": {
      "type": "object",
      "title": "Modify GDP (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.modify_money": {
      "type": "object",
      "title": "Modify money (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.modify_population": {
      "type": "object",
      "title": "Modify population (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.modify_research_points": {
      "type": "object",
      "title": "Modify research points (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "operation": {
          "$ref": "#/$defs/value",
          "description": "STRING. How amount is combined with the current value. Required. Suggested value: ADD. Values: SET, ADD, SUB, MUL, MIN, MAX.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["SET", "ADD", "SUB", "MUL", "MIN", "MAX"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ADD"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Points",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "operation", "amount"],
      "additionalProperties": false
    },
    "command.country.restore_name": {
      "type": "object",
      "title": "Restore name (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        }
      },
      "required": ["country"],
      "additionalProperties": false
    },
    "command.country.set_ai_custom_personality": {
      "type": "object",
      "title": "Set AI personality value (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "personality": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: aggression.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "aggression"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.5.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.5"
          }
        }
      },
      "required": ["country", "personality", "value"],
      "additionalProperties": false
    },
    "command.country.set_ai_template": {
      "type": "object",
      "title": "Set AI template weight (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "personality": {
          "$ref": "#/$defs/value",
          "title": "Personality type",
          "description": "STRING. Required. Suggested value: BALANCED.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "BALANCED"
          }
        },
        "weight": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 100.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "100"
          }
        }
      },
      "required": ["country", "personality", "weight"],
      "additionalProperties": false
    },
    "command.country.set_ai_type": {
      "type": "object",
      "title": "Set AI type (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_budget_liquidity": {
      "type": "object",
      "title": "Set liquidity budget (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Funding",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_budget_military": {
      "type": "object",
      "title": "Set military budget (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Funding",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_budget_research": {
      "type": "object",
      "title": "Set research budget (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Funding",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_budget_social": {
      "type": "object",
      "title": "Set social budget (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Funding",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.25.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0.25"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_culture": {
      "type": "object",
      "title": "Set culture (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_flag": {
      "type": "object",
      "title": "Set flag (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Flag",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_gdp": {
      "type": "object",
      "title": "Set country GDP (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_ideology": {
      "type": "object",
      "title": "Set ideology (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_ideology_perk": {
      "type": "object",
      "title": "Set ideology perk (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Level",
          "description": "NUMBER. Required. Suggested value: 1.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "1"
          }
        }
      },
      "required": ["country", "id", "value"],
      "additionalProperties": false
    },
    "command.country.set_leader": {
      "type": "object",
      "title": "Set leader (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Leader id",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_localized_name": {
      "type": "object",
      "title": "Localized name (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "language": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: en.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "en"
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Name",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "language", "value"],
      "additionalProperties": false
    },
    "command.country.set_money": {
      "type": "object",
      "title": "Set country money (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_next_leader": {
      "type": "object",
      "title": "Set next leader (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "value": {
          "$ref": "#/$defs/value",
          "title": "Leader id",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "value"],
      "additionalProperties": false
    },
    "command.country.set_population": {
      "type": "object",
      "title": "Set country population (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_research_current": {
      "type": "object",
      "title": "Set research current and effective (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "id": {
          "$ref": "#/$defs/value",
          "title": "Research",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "current": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        },
        "effective": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "id", "current", "effective"],
      "additionalProperties": false
    },
    "command.country.set_research_points": {
      "type": "object",
      "title": "Research points (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "title": "Points",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "amount"],
      "additionalProperties": false
    },
    "command.country.set_research_progress": {
      "type": "object",
      "title": "Set research progress (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "id": {
          "$ref": "#/$defs/value",
          "title": "Research",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "progress": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "id", "progress"],
      "additionalProperties": false
    },
    "command.country.set_spent_research": {
      "type": "object",
      "title": "Set spent research (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "school": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required. Suggested value: ECONOMIC. Values: MILITARY, ECONOMIC, SOCIAL.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            },
            "value": {
              "examples": ["MILITARY", "ECONOMIC", "SOCIAL"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "STRING",
            "value": "ECONOMIC"
          }
        },
        "amount": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. The amount to set or apply. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "school", "amount"],
      "additionalProperties": false
    },
    "command.country.set_technology_progress": {
      "type": "object",
      "title": "Set technology progress (Country) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "id": {
          "$ref": "#/$defs/value",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        },
        "progress": {
          "$ref": "#/$defs/value",
          "description": "NUMBER. Required. Suggested value: 0.",
          "properties": {
            "type": {
              "examples": ["NUMBER"]
            }
          },
          "default": {
            "kind": "CONSTANT",
            "type": "NUMBER",
            "value": "0"
          }
        }
      },
      "required": ["country", "id", "progress"],
      "additionalProperties": false
    },
    "command.map.annex_points": {
      "type": "object",
      "title": "Annex points (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Recipient",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "description": "LIST of POINT. Required.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["country", "points"],
      "additionalProperties": false
    },
    "command.map.annex_polygon": {
      "type": "object",
      "title": "Annex polygon (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Recipient",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "points": {
          "$ref": "#/$defs/value",
          "title": "Polygon",
          "description": "LIST of POINT. Required.",
          "properties": {
            "type": {
              "examples": ["LIST"]
            },
            "elementType": {
              "examples": ["POINT"]
            }
          }
        }
      },
      "required": ["country", "points"],
      "additionalProperties": false
    },
    "command.map.annex_region": {
      "type": "object",
      "title": "Annex province or region (Map) fields",
      "properties": {
        "country": {
          "$ref": "#/$defs/value",
          "title": "Recipient",
          "description": "COUNTRY. The country the command applies to. Required.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "target": {
          "$ref": "#/$defs/value",
          "description": "COUNTRY. The other country involved. Optional.",
          "properties": {
            "type": {
              "examples": ["COUNTRY"]
            }
          }
        },
        "region": {
          "$ref": "#/$defs/value",
          "title": "Province or region",
          "description": "STRING. Required.",
          "properties": {
            "type": {
              "examples": ["STRING"]
            }
          }
        }
      },
      "required": ["country", "region"],
      "additionalProperties": false
    },
    "commandId": {
      "title": "Command",
      "description": "Id of a structured command. Deprecated ids still work in existing scripts, but the editor no longer offers them.",
      "oneOf": [
        {
          "const": "country.set_color",
          "description": "Changes one country's runtime map color. Fields: country, color.",
          "title": "Set country color (Country identity)"
        },
        {
          "const": "country.modify_data",
          "description": "Country data. Fields: country, field, unit, operation, amount.",
          "title": "Country data (Country data)"
        },
        {
          "const": "country.set_budget",
          "description": "Budget funding. Fields: country, social, research, liquidity, military.",
          "title": "Budget funding (Country data)"
        },
        {
          "const": "country.set_capital",
          "description": "Capital. Fields: country, point.",
          "title": "Capital (Country)"
        },
        {
          "const": "country.rename",
          "description": "Name. Fields: country, restore, language, value.",
          "title": "Name (Country identity)"
        },
        {
          "const": "country.change_flag",
          "description": "Flag. Fields: country, restore, value.",
          "title": "Flag (Country identity)"
        },
        {
          "const": "country.change_ideology",
          "description": "Ideology. Fields: country, value.",
          "title": "Ideology (Country identity)"
        },
        {
          "const": "country.change_leader",
          "description": "Leader. Fields: country, role, value.",
          "title": "Leader (Country identity)"
        },
        {
          "const": "country.set_ideology_profile",
          "description": "Ideology. Fields: country, ideology, leader, nextLeader, perks.",
          "title": "Ideology (Country ideology)"
        },
        {
          "const": "country.restore_flag",
          "description": "Restore flag. Fields: country.",
          "title": "Restore flag (Country)"
        },
        {
          "const": "country.reset_research",
          "description": "Reset research progress. Fields: country.",
          "title": "Reset research progress (Country)"
        },
        {
          "const": "country.set_research_profile",
          "description": "Updates selected technology/research progress fields, optionally resetting the complete research state first. Fields: country, reset_all.",
          "title": "R&D (Country)"
        },
        {
          "const": "country.set_effect",
          "description": "Sets one custom-effect level on a country or every current member of a coalition. Fields: country, effect_type, value.",
          "title": "Effect (Country effects)"
        },
        {
          "const": "country.set_bonus_profile",
          "description": "Updates multiple base/custom effect levels on a country or every current member of a coalition in one action. Fields: country, reset_base, clear_effects, bonus.MORALE, bonus.INTERNATIONAL_STANDING, bonus.COMBAT_EXPERIENCE, bonus.AMMUNITION_SHORTAGE.",
          "title": "Effects (Country effects)"
        },
        {
          "const": "country.reset_base_bonuses",
          "description": "Reset base effects. Fields: country.",
          "title": "Reset base effects (Country effects)"
        },
        {
          "const": "country.clear_effects",
          "description": "Clear effects. Fields: country.",
          "title": "Clear effects (Country effects)"
        },
        {
          "const": "country.remove_effect",
          "description": "Remove effect. Fields: country, effect_type.",
          "title": "Remove effect (Country effects)"
        },
        {
          "const": "country.change_diplomacy",
          "description": "Change diplomacy. Fields: country, target, amount, operation.",
          "title": "Change diplomacy (Diplomacy)"
        },
        {
          "const": "country.set_puppet",
          "description": "Set puppet. Fields: master, puppet.",
          "title": "Set puppet (Diplomacy)"
        },
        {
          "const": "country.remove_puppet",
          "description": "Remove puppet. Fields: master, puppet.",
          "title": "Remove puppet (Diplomacy)"
        },
        {
          "const": "country.clear_puppets",
          "description": "Clear puppets. Fields: country.",
          "title": "Clear puppets (Country)"
        },
        {
          "const": "country.set_military_unit_count",
          "description": "Set military unit count. Fields: country, unit, amount.",
          "title": "Set military unit count (Country)"
        },
        {
          "const": "country.modify_military_unit_count",
          "description": "Modify military unit count. Fields: country, unit, operation, amount.",
          "title": "Modify military unit count (Country)"
        },
        {
          "const": "country.create_custom",
          "description": "Creates a country, optionally embeds a serialized flag and assigns initial land, and stores the created country in a local variable. Fields: name, variable, flag, flagData, land, target, points, polygon, region.",
          "title": "Create country (Country)"
        },
        {
          "const": "country.remove",
          "description": "Remove country. Fields: country, recipient.",
          "title": "Remove country (Country)"
        },
        {
          "const": "country.set_feud",
          "description": "Set feud. Fields: country, target, amount, reason.",
          "title": "Set feud (Diplomacy)"
        },
        {
          "const": "country.remove_feud",
          "description": "Remove feud. Fields: country, target.",
          "title": "Remove feud (Diplomacy)"
        },
        {
          "const": "country.clear_feuds",
          "description": "Clear feuds. Fields: country.",
          "title": "Clear feuds (Diplomacy)"
        },
        {
          "const": "country.set_ai_profile",
          "description": "AI. Fields: country, type, template.IMPERIALIST, template.AGGRESSIVE, template.DEFENSIVE, template.PEACEFUL, personality.AUSTERITY, personality.AGGRESSIVITY, personality.DEFENSIVITY, personality.FEAR, personality.PUBLIC_RELATIONS, personality.SOCIAL_DEVELOPMENT and 7 more.",
          "title": "AI (Country)"
        },
        {
          "const": "map.annex_selection",
          "description": "Annex land. Fields: country, target, owner_filter, points, polygon, region.",
          "title": "Annex land (Map)"
        },
        {
          "const": "map.add_claims",
          "description": "Add claims. Fields: country, points, target, claim, homeland.",
          "title": "Add claims (Map)"
        },
        {
          "const": "map.remove_claims",
          "description": "Remove claims. Fields: country, points, target, claim, homeland.",
          "title": "Remove claims (Map)"
        },
        {
          "const": "map.liberate_country",
          "description": "Liberate country. Fields: country, target, path.",
          "title": "Liberate country (Map)"
        },
        {
          "const": "map.move_capital",
          "description": "Move capital. Fields: country, point, force.",
          "title": "Move capital (Map)"
        },
        {
          "const": "map.paint_population",
          "description": "Paint population. Paints the strokes recorded in mapBrushStrokes.",
          "title": "Paint population (Map)"
        },
        {
          "const": "map.paint_economy",
          "description": "Paint economy. Paints the strokes recorded in mapBrushStrokes.",
          "title": "Paint economy (Map)"
        },
        {
          "const": "map.paint_relief",
          "description": "Paint relief. Paints the strokes recorded in mapBrushStrokes.",
          "title": "Paint relief (Map)"
        },
        {
          "const": "map.paint_land_cover",
          "description": "Paint land cover. Paints the strokes recorded in mapBrushStrokes.",
          "title": "Paint land cover (Map)"
        },
        {
          "const": "map.paint_ocean",
          "description": "Paint ocean. Paints the strokes recorded in mapBrushStrokes.",
          "title": "Paint ocean (Map)"
        },
        {
          "const": "map.add_lake",
          "description": "Add lake. Fields: points.",
          "title": "Add lake (Map)"
        },
        {
          "const": "map.remove_lake",
          "description": "Remove lake. Fields: points.",
          "title": "Remove lake (Map)"
        },
        {
          "const": "map.add_river",
          "description": "Add river. Fields: points.",
          "title": "Add river (Map)"
        },
        {
          "const": "map.remove_river",
          "description": "Remove river. Fields: points.",
          "title": "Remove river (Map)"
        },
        {
          "const": "map.render_points",
          "description": "Retains point icons selected by command.landSelections; repeated execution updates the same overlay entry. Map overlays are visual only. Each action keeps one overlay: running it again updates that overlay, and skipping it leaves the last one in place. Disabling or removing the script removes its overlays. Fields: drawable, scale, zoomScale, densityScale, x, y, rotation, animation, speed, strength, phase, z and 4 more.",
          "title": "Render points (Map)"
        },
        {
          "const": "map.render_path",
          "description": "Retains an open or closed path with cached sprite/vector rendering, patterns, smoothing, optional image markers, and optional animation. Map overlays are visual only. Each action keeps one overlay: running it again updates that overlay, and skipping it leaves the last one in place. Disabling or removing the script removes its overlays. Fields: path, width, zoomWidth, zoomScale, color, outlineWidth, outlineColor, pattern, dashLength, gapLength, gapOpacity, dotSize and 14 more.",
          "title": "Render path (Map)"
        },
        {
          "const": "map.render_polygon",
          "description": "Retains a closed vector polygon with independent fill/outline and an optional imported or skin texture. Map overlays are visual only. Each action keeps one overlay: running it again updates that overlay, and skipping it leaves the last one in place. Disabling or removing the script removes its overlays. Fields: polygon, territory, fill, fillColor, drawable, textureMode, textureScale, textureScaleX, textureScaleY, textureRotation, textureOffsetX, textureOffsetY and 7 more.",
          "title": "Render polygon (Map)"
        },
        {
          "const": "map.render_circles",
          "description": "Retains vector circles at a point list, with independent fill/outline and optional latitude projection compensation. Map overlays are visual only. Each action keeps one overlay: running it again updates that overlay, and skipping it leaves the last one in place. Disabling or removing the script removes its overlays. Fields: points, radius, fill, fillColor, outline, outlineWidth, outlineColor, latitudeScale, motion, motionKey.",
          "title": "Render circles (Map)"
        },
        {
          "const": "map.render_text",
          "description": "Retains styled text at a map point, with localized templates, wrapping, backgrounds, shadows, alignment and optional animation. Static text is cached; animations reuse the glyph layout. Map overlays are visual only. Each action keeps one overlay: running it again updates that overlay, and skipping it leaves the last one in place. Disabling or removing the script removes its overlays. Fields: point, text, size, color, textStyle, zoomScale, densityScale, align, width, x, y, rotation and 13 more.",
          "title": "Render text (Map)"
        },
        {
          "const": "squad.spawn_militia",
          "description": "Spawn militia. Fields: point, defender, attacker, militians, type.",
          "title": "Spawn militia (Squads)"
        },
        {
          "const": "squad.create",
          "description": "Create squad. Fields: owner, type, point, variable.",
          "title": "Create squad (Squads)"
        },
        {
          "const": "squad.remove",
          "description": "Remove squad. Fields: squad.",
          "title": "Remove squad (Squads)"
        },
        {
          "const": "squad.set_unit_count",
          "description": "Squad units. Fields: squad, operation.",
          "title": "Squad units (Squads)"
        },
        {
          "const": "squad.move",
          "description": "Squad position. Fields: squad, point.",
          "title": "Squad position (Squads)"
        },
        {
          "const": "squad.set_task",
          "description": "Set squad task. Fields: squad, task.",
          "title": "Set squad task (Squads)"
        },
        {
          "const": "squad.task_move",
          "description": "Move squad. Fields: squad, point, strategy.",
          "title": "Move squad (Squads)"
        },
        {
          "const": "squad.task_patrol",
          "description": "Patrol path. Fields: squad, path.",
          "title": "Patrol path (Squads)"
        },
        {
          "const": "squad.task_attack_country",
          "description": "Attack country. Fields: squad, target, point, strategy.",
          "title": "Attack country (Squads)"
        },
        {
          "const": "squad.task_attack_squad",
          "description": "Attack squad. Fields: squad, target.",
          "title": "Attack squad (Squads)"
        },
        {
          "const": "squad.task_defend",
          "description": "Defend country. Fields: squad, target, point, strategy.",
          "title": "Defend country (Squads)"
        },
        {
          "const": "squad.task_retreat",
          "description": "Retreat. Fields: squad, strategy.",
          "title": "Retreat (Squads)"
        },
        {
          "const": "squad.remove_owned",
          "description": "Remove country squads. Fields: owner, type.",
          "title": "Remove country squads (Squads)"
        },
        {
          "const": "squad.remove_in_area",
          "description": "Remove squads in area. Fields: center, radius, owner, type.",
          "title": "Remove squads in area (Squads)"
        },
        {
          "const": "squad.modify_owned_unit_count",
          "description": "Modify country squads. Fields: owner, type, operation.",
          "title": "Modify country squads (Squads)"
        },
        {
          "const": "coalition.create",
          "description": "Create coalition. Fields: name, color, fortitude.",
          "title": "Create coalition (Diplomacy)"
        },
        {
          "const": "coalition.edit",
          "description": "Edit coalition. Fields: coalition, name, color, fortitude.",
          "title": "Edit coalition (Diplomacy)"
        },
        {
          "const": "coalition.add_member",
          "description": "Add coalition country. Fields: coalition, country.",
          "title": "Add coalition country (Diplomacy)"
        },
        {
          "const": "coalition.remove_member",
          "description": "Remove coalition country. Fields: coalition, country.",
          "title": "Remove coalition country (Diplomacy)"
        },
        {
          "const": "coalition.remove",
          "description": "Remove coalition. Fields: coalition.",
          "title": "Remove coalition (Diplomacy)"
        },
        {
          "const": "style.map_style",
          "description": "Map style. Fields: map_color.LIGHT, map_color.OCEAN_OUTLINE_COLOR, map_color.RIVER_COLOR, map_color.BORDER_COLOR, map_color.CONQUEST_STRIPE_COLOR, map_color.TRUCE_COLOR, map_color.SELECTION_COLOR, map_color.SELECTION_OUTLINE_COLOR, map_color.HOVER_COLOR, map_color.UNH_COLOR, map_color.UNH_OUTLINE_COLOR, map_color.SQUAD_FLAG and 119 more.",
          "title": "Map style (Map style)"
        },
        {
          "const": "config.custom_settings",
          "description": "Custom settings. Fields: setting.AI_REACTIVITY, setting.AI_AGGRESSIVENESS, setting.AI_PROXIMITY_BIAS, setting.AI_DIPLOMACY_BIAS, setting.AI_ALLIANCES_BIAS, setting.AI_DETERRANCE_BIAS, setting.MONEY_PRODUCTION, setting.RESEARCH_PRODUCTION, setting.POPULATION_GROWTH, setting.GDP_GROWTH, setting.MILITARY_GROWTH, setting.INVESTMENT_YIELD and 60 more.",
          "title": "Custom settings (Configuration)"
        },
        {
          "const": "config.advanced_params",
          "description": "Advanced params. Fields: param.PAUSABLE, param.SAVE_MODE, param.MOBILE_SAVE_MODE, param.RANDOM_COUNTRY, param.FLAT, param.MAX_DAYS, param.MIN_PACE, param.MAX_PACE, param.MAX_REPLAY_PACE, param.DEFAULT_PACE, param.TARGET_SECONDS_PER_DAY, param.DELTA_CAP and 801 more.",
          "title": "Advanced params (Configuration)"
        },
        {
          "const": "editable.edit_unit",
          "description": "Unit. Fields: id, data.",
          "title": "Unit (Configuration)"
        },
        {
          "const": "editable.remove_unit",
          "description": "Remove unit. Fields: id.",
          "title": "Remove unit (Configuration)"
        },
        {
          "const": "editable.edit_technology",
          "description": "Technology. Fields: id, data.",
          "title": "Technology (Configuration)"
        },
        {
          "const": "editable.remove_technology",
          "description": "Remove technology. Fields: id.",
          "title": "Remove technology (Configuration)"
        },
        {
          "const": "editable.edit_research",
          "description": "Research. Fields: id, data.",
          "title": "Research (Configuration)"
        },
        {
          "const": "editable.remove_research",
          "description": "Remove research. Fields: id.",
          "title": "Remove research (Configuration)"
        },
        {
          "const": "editable.edit_aoe",
          "description": "Area effect. Fields: id, data.",
          "title": "Area effect (Configuration)"
        },
        {
          "const": "editable.remove_aoe",
          "description": "Remove area effect. Fields: id.",
          "title": "Remove area effect (Configuration)"
        },
        {
          "const": "editable.edit_ideology",
          "description": "Ideology. Fields: id, data.",
          "title": "Ideology (Configuration)"
        },
        {
          "const": "editable.remove_ideology",
          "description": "Remove ideology. Fields: id.",
          "title": "Remove ideology (Configuration)"
        },
        {
          "const": "editable.edit_effect",
          "description": "Effect. Fields: id, data.",
          "title": "Effect (Configuration)"
        },
        {
          "const": "editable.remove_effect",
          "description": "Remove effect. Fields: id.",
          "title": "Remove effect (Configuration)"
        },
        {
          "const": "script.set_game_date",
          "description": "Game date. Fields: date.",
          "title": "Game date (Advanced)"
        },
        {
          "const": "script.set_goal",
          "description": "Changes the scenario goal type and its normalized target. Fields: goal, target.",
          "title": "Change goal (Advanced)"
        },
        {
          "const": "country.set_goal_progress",
          "description": "Goal progress. Fields: country, progress.",
          "title": "Goal progress (Advanced)"
        },
        {
          "const": "script.end_game",
          "description": "Ends the game with an explicit winner and optional winning coalition/result settlement. Fields: winner, coalition, settle.",
          "title": "End game (Advanced)"
        },
        {
          "const": "script.cancel_game_end",
          "description": "Cancels the automatic result currently being processed; effective only inside GAME_ENDING.",
          "title": "Cancel game end (Advanced)"
        },
        {
          "const": "script.set_enabled",
          "description": "Script enabled. Fields: id, enabled.",
          "title": "Script enabled (Advanced)"
        },
        {
          "const": "ui.message_set",
          "description": "Message. Fields: key, title, text, style, color, format, completed, value, min, max, priority.",
          "title": "Message (Common)"
        },
        {
          "const": "ui.message_remove",
          "description": "Remove message. Fields: key.",
          "title": "Remove message (Common)"
        },
        {
          "const": "ui.message_clear",
          "description": "Clear messages.",
          "title": "Clear messages (Common)"
        },
        {
          "const": "ui.widget_set",
          "description": "HUD widget. Fields: key, definition.",
          "title": "HUD widget (Common)"
        },
        {
          "const": "ui.widget_update",
          "description": "Update HUD element. Fields: key, element, property, value.",
          "title": "Update HUD element (Common)"
        },
        {
          "const": "ui.widget_remove",
          "description": "Remove HUD widget. Fields: key.",
          "title": "Remove HUD widget (Common)"
        },
        {
          "const": "ui.widget_clear",
          "description": "Clear HUD widgets.",
          "title": "Clear HUD widgets (Common)"
        },
        {
          "const": "country.add_gdp",
          "description": "Add country GDP. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Add country GDP (Country)",
          "deprecated": true
        },
        {
          "const": "country.add_money",
          "description": "Add country money. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Add country money (Country)",
          "deprecated": true
        },
        {
          "const": "country.add_population",
          "description": "Add country population. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Add country population (Country)",
          "deprecated": true
        },
        {
          "const": "country.add_research_points",
          "description": "Add research points. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Add research points (Country)",
          "deprecated": true
        },
        {
          "const": "country.change_culture",
          "description": "Culture. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Culture (Country identity)",
          "deprecated": true
        },
        {
          "const": "country.modify_gdp",
          "description": "Modify GDP. Deprecated: kept so that older scripts still load. Fields: country, operation, amount.",
          "title": "Modify GDP (Country)",
          "deprecated": true
        },
        {
          "const": "country.modify_money",
          "description": "Modify money. Deprecated: kept so that older scripts still load. Fields: country, operation, amount.",
          "title": "Modify money (Country)",
          "deprecated": true
        },
        {
          "const": "country.modify_population",
          "description": "Modify population. Deprecated: kept so that older scripts still load. Fields: country, operation, amount.",
          "title": "Modify population (Country)",
          "deprecated": true
        },
        {
          "const": "country.modify_research_points",
          "description": "Modify research points. Deprecated: kept so that older scripts still load. Fields: country, operation, amount.",
          "title": "Modify research points (Country)",
          "deprecated": true
        },
        {
          "const": "country.restore_name",
          "description": "Restore name. Deprecated: kept so that older scripts still load. Fields: country.",
          "title": "Restore name (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_ai_custom_personality",
          "description": "Set AI personality value. Deprecated: kept so that older scripts still load. Fields: country, personality, value.",
          "title": "Set AI personality value (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_ai_template",
          "description": "Set AI template weight. Deprecated: kept so that older scripts still load. Fields: country, personality, weight.",
          "title": "Set AI template weight (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_ai_type",
          "description": "Set AI type. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set AI type (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_budget_liquidity",
          "description": "Set liquidity budget. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set liquidity budget (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_budget_military",
          "description": "Set military budget. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set military budget (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_budget_research",
          "description": "Set research budget. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set research budget (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_budget_social",
          "description": "Set social budget. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set social budget (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_culture",
          "description": "Set culture. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set culture (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_flag",
          "description": "Set flag. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set flag (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_gdp",
          "description": "Set country GDP. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set country GDP (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_ideology",
          "description": "Set ideology. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set ideology (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_ideology_perk",
          "description": "Set ideology perk. Deprecated: kept so that older scripts still load. Fields: country, id, value.",
          "title": "Set ideology perk (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_leader",
          "description": "Set leader. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set leader (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_localized_name",
          "description": "Localized name. Deprecated: kept so that older scripts still load. Fields: country, language, value.",
          "title": "Localized name (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_money",
          "description": "Set country money. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set country money (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_next_leader",
          "description": "Set next leader. Deprecated: kept so that older scripts still load. Fields: country, value.",
          "title": "Set next leader (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_population",
          "description": "Set country population. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Set country population (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_research_current",
          "description": "Set research current and effective. Deprecated: kept so that older scripts still load. Fields: country, id, current, effective.",
          "title": "Set research current and effective (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_research_points",
          "description": "Research points. Deprecated: kept so that older scripts still load. Fields: country, amount.",
          "title": "Research points (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_research_progress",
          "description": "Set research progress. Deprecated: kept so that older scripts still load. Fields: country, id, progress.",
          "title": "Set research progress (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_spent_research",
          "description": "Set spent research. Deprecated: kept so that older scripts still load. Fields: country, school, amount.",
          "title": "Set spent research (Country)",
          "deprecated": true
        },
        {
          "const": "country.set_technology_progress",
          "description": "Set technology progress. Deprecated: kept so that older scripts still load. Fields: country, id, progress.",
          "title": "Set technology progress (Country)",
          "deprecated": true
        },
        {
          "const": "map.annex_points",
          "description": "Annex points. Deprecated: kept so that older scripts still load. Fields: country, target, points.",
          "title": "Annex points (Map)",
          "deprecated": true
        },
        {
          "const": "map.annex_polygon",
          "description": "Annex polygon. Deprecated: kept so that older scripts still load. Fields: country, target, points.",
          "title": "Annex polygon (Map)",
          "deprecated": true
        },
        {
          "const": "map.annex_region",
          "description": "Annex province or region. Deprecated: kept so that older scripts still load. Fields: country, target, region.",
          "title": "Annex province or region (Map)",
          "deprecated": true
        }
      ]
    },
    "command": {
      "type": "object",
      "title": "Command",
      "description": "A structured command: its id selects what it does, and values supplies its fields. Every field is a Value, so it can be a constant or an expression evaluated when the action runs.",
      "properties": {
        "id": {
          "$ref": "#/$defs/commandId"
        },
        "values": {
          "type": "object",
          "description": "Field values by field id. See the selected command for its fields.",
          "additionalProperties": {
            "$ref": "#/$defs/value"
          }
        },
        "landSelections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/landSelection"
          },
          "description": "Land chosen for map commands: map.annex_selection, map.add_claims, map.remove_claims, map.liberate_country, country.create_custom, the lake and river commands, and map.render_points (which requires at least one)."
        },
        "mapBrushStrokes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/mapBrushStroke"
          },
          "description": "Recorded paint strokes, used by the map.paint_* commands."
        }
      },
      "required": ["id"],
      "allOf": [
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_color"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_color"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_data"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_data"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_budget"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_budget"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_capital"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_capital"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.rename"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.rename"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.change_flag"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.change_flag"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.change_ideology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.change_ideology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.change_leader"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.change_leader"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ideology_profile"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ideology_profile"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.restore_flag"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.restore_flag"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.reset_research"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.reset_research"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_research_profile"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_research_profile"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_effect"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_effect"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_bonus_profile"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_bonus_profile"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.reset_base_bonuses"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.reset_base_bonuses"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.clear_effects"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.clear_effects"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.remove_effect"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.remove_effect"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.change_diplomacy"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.change_diplomacy"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_puppet"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_puppet"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.remove_puppet"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.remove_puppet"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.clear_puppets"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.clear_puppets"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_military_unit_count"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_military_unit_count"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_military_unit_count"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_military_unit_count"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.create_custom"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.create_custom"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.remove"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.remove"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_feud"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_feud"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.remove_feud"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.remove_feud"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.clear_feuds"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.clear_feuds"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ai_profile"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ai_profile"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.annex_selection"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.annex_selection"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.add_claims"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.add_claims"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.remove_claims"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.remove_claims"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.liberate_country"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.liberate_country"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.move_capital"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.move_capital"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.paint_population"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.paint_population"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.paint_economy"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.paint_economy"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.paint_relief"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.paint_relief"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.paint_land_cover"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.paint_land_cover"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.paint_ocean"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.paint_ocean"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.add_lake"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.add_lake"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.remove_lake"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.remove_lake"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.add_river"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.add_river"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.remove_river"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.remove_river"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.render_points"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.render_points"
              },
              "landSelections": {
                "minItems": 1
              }
            },
            "required": ["values", "landSelections"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.render_path"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.render_path"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.render_polygon"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.render_polygon"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.render_circles"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.render_circles"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.render_text"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.render_text"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.spawn_militia"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.spawn_militia"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.create"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.create"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.remove"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.remove"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.set_unit_count"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.set_unit_count"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.move"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.move"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.set_task"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.set_task"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_move"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_move"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_patrol"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_patrol"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_attack_country"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_attack_country"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_attack_squad"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_attack_squad"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_defend"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_defend"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.task_retreat"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.task_retreat"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.remove_owned"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.remove_owned"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.remove_in_area"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.remove_in_area"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "squad.modify_owned_unit_count"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.squad.modify_owned_unit_count"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "coalition.create"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.coalition.create"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "coalition.edit"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.coalition.edit"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "coalition.add_member"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.coalition.add_member"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "coalition.remove_member"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.coalition.remove_member"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "coalition.remove"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.coalition.remove"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "style.map_style"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.style.map_style"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "config.custom_settings"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.config.custom_settings"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "config.advanced_params"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.config.advanced_params"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_unit"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_unit"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_unit"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_unit"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_technology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_technology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_technology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_technology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_research"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_research"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_research"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_research"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_aoe"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_aoe"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_aoe"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_aoe"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_ideology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_ideology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_ideology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_ideology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.edit_effect"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.edit_effect"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "editable.remove_effect"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.editable.remove_effect"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "script.set_game_date"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.script.set_game_date"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "script.set_goal"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.script.set_goal"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_goal_progress"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_goal_progress"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "script.end_game"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.script.end_game"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "script.cancel_game_end"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.script.cancel_game_end"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "script.set_enabled"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.script.set_enabled"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.message_set"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.message_set"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.message_remove"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.message_remove"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.message_clear"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.message_clear"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.widget_set"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.widget_set"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.widget_update"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.widget_update"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.widget_remove"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.widget_remove"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "ui.widget_clear"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.ui.widget_clear"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.add_gdp"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.add_gdp"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.add_money"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.add_money"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.add_population"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.add_population"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.add_research_points"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.add_research_points"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.change_culture"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.change_culture"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_gdp"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_gdp"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_money"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_money"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_population"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_population"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.modify_research_points"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.modify_research_points"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.restore_name"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.restore_name"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ai_custom_personality"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ai_custom_personality"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ai_template"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ai_template"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ai_type"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ai_type"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_budget_liquidity"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_budget_liquidity"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_budget_military"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_budget_military"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_budget_research"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_budget_research"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_budget_social"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_budget_social"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_culture"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_culture"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_flag"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_flag"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_gdp"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_gdp"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ideology"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ideology"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_ideology_perk"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_ideology_perk"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_leader"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_leader"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_localized_name"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_localized_name"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_money"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_money"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_next_leader"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_next_leader"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_population"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_population"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_research_current"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_research_current"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_research_points"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_research_points"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_research_progress"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_research_progress"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_spent_research"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_spent_research"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "country.set_technology_progress"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.country.set_technology_progress"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.annex_points"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.annex_points"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.annex_polygon"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.annex_polygon"
              }
            },
            "required": ["values"]
          }
        },
        {
          "if": {
            "properties": {
              "id": {
                "const": "map.annex_region"
              }
            },
            "required": ["id"]
          },
          "then": {
            "properties": {
              "values": {
                "$ref": "#/$defs/command.map.annex_region"
              }
            },
            "required": ["values"]
          }
        }
      ],
      "additionalProperties": false,
      "examples": [
        {
          "id": "country.set_color",
          "values": {
            "country": {
              "kind": "PARAM",
              "type": "COUNTRY",
              "param": "COUNTRY"
            },
            "color": {
              "kind": "CONSTANT",
              "type": "COLOR",
              "value": "2563ebff"
            }
          }
        }
      ]
    },
    "landSelection": {
      "type": "object",
      "title": "Land selection",
      "description": "One piece of land for a map command. kind says how the land is chosen; source and ownerFilter restrict whose land is taken.",
      "properties": {
        "kind": {
          "default": "POLYGON",
          "oneOf": [
            {
              "const": "POLYGON",
              "description": "Cells inside the polygon given by value (LIST of POINT)."
            },
            {
              "const": "PATH",
              "description": "Cells along the path given by value (LIST of POINT)."
            },
            {
              "const": "POINTS",
              "description": "The cells given by value (LIST of POINT)."
            },
            {
              "const": "REGION",
              "description": "The province or region named by value (STRING)."
            },
            {
              "const": "TARGET",
              "description": "All land of the source country."
            }
          ]
        },
        "value": {
          "$ref": "#/$defs/value",
          "description": "The points (LIST of POINT) or the region name (STRING), depending on kind."
        },
        "source": {
          "$ref": "#/$defs/value",
          "description": "Optional COUNTRY: only land owned by this country is selected. Required by TARGET."
        },
        "ownerFilter": {
          "$ref": "#/$defs/value",
          "description": "Optional BOOLEAN evaluated for every cell, with the local variables owner (COUNTRY), point (POINT), x and y (NUMBER). Cells where it is false are skipped."
        }
      },
      "additionalProperties": false,
      "examples": [
        {
          "kind": "POLYGON",
          "value": {
            "kind": "CONSTANT",
            "type": "LIST",
            "elementType": "POINT",
            "value": "900,550;1000,550;1000,650;900,650"
          },
          "source": {
            "kind": "CONSTANT",
            "type": "COUNTRY",
            "value": "United_States_of_America"
          }
        }
      ]
    },
    "mapBrushStroke": {
      "type": "object",
      "title": "Paint stroke",
      "description": "One dab of the map paint brush, replayed when a map.paint_* command runs. The editor records these while you paint.",
      "properties": {
        "x": {
          "type": "number",
          "description": "Brush center, in map cells."
        },
        "y": {
          "type": "number",
          "description": "Brush center, in map cells."
        },
        "size": {
          "type": "number",
          "minimum": 1,
          "default": 8,
          "description": "Brush diameter in cells."
        },
        "hardness": {
          "type": "string",
          "default": "LINEAR",
          "description": "Falloff curve from the center to the edge. Unknown names use LINEAR.",
          "examples": [
            "LINEAR",
            "SINE_OUT",
            "POW2_OUT",
            "CIRCLE_OUT",
            "CIRCLE_IN",
            "POW2_IN",
            "SINE_IN",
            "SLIGHT",
            "SLIGHT_INV",
            "SFS",
            "EXP5_OUT",
            "EXP5_IN",
            "REVERSE",
            "SMOOTH",
            "SMOOTH2",
            "FADE",
            "POW2",
            "POW2_IN_INVERSE",
            "POW2_OUT_INVERSE",
            "SQUARE_INVERSE",
            "POW3",
            "POW3_IN",
            "POW3_OUT",
            "POW3_IN_INVERSE",
            "POW3_OUT_INVERSE",
            "POW4",
            "POW4_IN",
            "POW4_OUT",
            "POW5",
            "POW5_IN",
            "POW5_OUT",
            "SINE",
            "SINE_INVERSE",
            "EXP10",
            "EXP10_IN",
            "EXP10_OUT",
            "EXP100_OUT",
            "EXP5",
            "CIRCLE",
            "ELASTIC",
            "ELASTIC_IN",
            "ELASTIC_OUT",
            "SWING",
            "SWING_IN",
            "SWING_OUT",
            "BOUNCE",
            "BOUNCE_IN",
            "BOUNCE_OUT"
          ]
        },
        "noise": {
          "type": "number",
          "minimum": 0,
          "default": 0.1,
          "description": "Random variation of the brush strength."
        },
        "operation": {
          "type": "string",
          "default": "SET",
          "description": "How the painted value combines with the current one.",
          "examples": ["SET", "ADD", "SUB", "MUL", "DIV", "MIN", "MAX"]
        },
        "value": {
          "type": "string",
          "description": "Painted value: a number, or a land cover / ocean id for those commands."
        },
        "middleValue": {
          "type": "string",
          "description": "Optional value for the middle ring of the brush."
        },
        "weakValue": {
          "type": "string",
          "description": "Optional value for the outer ring of the brush."
        }
      },
      "required": ["x", "y"],
      "additionalProperties": false
    },
    "methods.FUNCTION": {
      "title": "General methods",
      "description": "General helpers that do not belong to one object type, such as boolean logic and comparisons of objects.",
      "anyOf": [
        {
          "const": "boolean.equal",
          "description": "Boolean equals (left == right). boolean.equal(left: BOOLEAN, right: BOOLEAN) -> BOOLEAN.",
          "title": "Boolean equals"
        },
        {
          "const": "boolean.not",
          "description": "Not. boolean.not(value: BOOLEAN) -> BOOLEAN.",
          "title": "Not"
        },
        {
          "const": "boolean.not_equal",
          "description": "Boolean not equals (left != right). boolean.not_equal(left: BOOLEAN, right: BOOLEAN) -> BOOLEAN.",
          "title": "Boolean not equals"
        },
        {
          "const": "chance",
          "description": "Chance. chance(value: NUMBER) -> BOOLEAN.",
          "title": "Chance"
        },
        {
          "const": "country_ideology.equal",
          "description": "Country ideology equals (left == right). country_ideology.equal(left: COUNTRY_IDEOLOGY, right: COUNTRY_IDEOLOGY) -> BOOLEAN.",
          "title": "Country ideology equals"
        },
        {
          "const": "country_ideology.exists",
          "description": "Country ideology exists. country_ideology.exists(value: COUNTRY_IDEOLOGY) -> BOOLEAN.",
          "title": "Country ideology exists"
        },
        {
          "const": "country_ideology.is_null",
          "description": "Country ideology is null. country_ideology.is_null(value: COUNTRY_IDEOLOGY) -> BOOLEAN.",
          "title": "Country ideology is null"
        },
        {
          "const": "country_ideology.not_equal",
          "description": "Country ideology not equals (left != right). country_ideology.not_equal(left: COUNTRY_IDEOLOGY, right: COUNTRY_IDEOLOGY) -> BOOLEAN.",
          "title": "Country ideology not equals"
        },
        {
          "const": "goal_type.equal",
          "description": "Goal type equals (left == right). goal_type.equal(left: GOAL_TYPE, right: GOAL_TYPE) -> BOOLEAN.",
          "title": "Goal type equals"
        },
        {
          "const": "goal_type.not_equal",
          "description": "Goal type not equals (left != right). goal_type.not_equal(left: GOAL_TYPE, right: GOAL_TYPE) -> BOOLEAN.",
          "title": "Goal type not equals"
        },
        {
          "const": "not",
          "description": "Not. not(value: BOOLEAN) -> BOOLEAN.",
          "title": "Not"
        }
      ]
    },
    "methods.MATH": {
      "title": "Number methods",
      "description": "Arithmetic, comparisons, rounding, formatting and random numbers (number.*).",
      "anyOf": [
        {
          "const": "number.abs",
          "description": "Absolute. number.abs(value: NUMBER) -> NUMBER.",
          "title": "Absolute"
        },
        {
          "const": "number.add",
          "description": "Add (left + right). number.add(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Add"
        },
        {
          "const": "number.annual_from_daily",
          "description": "Annual from daily. number.annual_from_daily(value: NUMBER) -> NUMBER.",
          "title": "Annual from daily"
        },
        {
          "const": "number.cbrt",
          "description": "Cube root. number.cbrt(value: NUMBER) -> NUMBER.",
          "title": "Cube root"
        },
        {
          "const": "number.ceil",
          "description": "Ceiling. number.ceil(value: NUMBER) -> NUMBER.",
          "title": "Ceiling"
        },
        {
          "const": "number.clamp",
          "description": "Clamp. number.clamp(value: NUMBER, min: NUMBER, max: NUMBER) -> NUMBER.",
          "title": "Clamp"
        },
        {
          "const": "number.cube",
          "description": "Cube. number.cube(value: NUMBER) -> NUMBER.",
          "title": "Cube"
        },
        {
          "const": "number.daily_from_annual",
          "description": "Daily from annual. number.daily_from_annual(value: NUMBER) -> NUMBER.",
          "title": "Daily from annual"
        },
        {
          "const": "number.div",
          "description": "Divide (left / right). number.div(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Divide"
        },
        {
          "const": "number.equal",
          "description": "Number equals (left == right). number.equal(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Number equals"
        },
        {
          "const": "number.exp",
          "description": "Exponential. number.exp(value: NUMBER) -> NUMBER.",
          "title": "Exponential"
        },
        {
          "const": "number.floor",
          "description": "Floor. number.floor(value: NUMBER) -> NUMBER.",
          "title": "Floor"
        },
        {
          "const": "number.format",
          "description": "Format. number.format(value: NUMBER) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Format"
        },
        {
          "const": "number.format_bonus_percent",
          "description": "Format bonus percent. number.format_bonus_percent(value: NUMBER) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Format bonus percent"
        },
        {
          "const": "number.format_percent",
          "description": "Format percent. number.format_percent(value: NUMBER) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Format percent"
        },
        {
          "const": "number.greater",
          "description": "Greater than (left > right). number.greater(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Greater than"
        },
        {
          "const": "number.greater_equal",
          "description": "Greater or equal (left >= right). number.greater_equal(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Greater or equal"
        },
        {
          "const": "number.inverse_lerp",
          "description": "Inverse interpolate. number.inverse_lerp(from: NUMBER, to: NUMBER, value: NUMBER) -> NUMBER.",
          "title": "Inverse interpolate"
        },
        {
          "const": "number.lerp",
          "description": "Interpolate. number.lerp(from: NUMBER, to: NUMBER, percent: NUMBER) -> NUMBER.",
          "title": "Interpolate"
        },
        {
          "const": "number.less",
          "description": "Less than (left < right). number.less(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Less than"
        },
        {
          "const": "number.less_equal",
          "description": "Less or equal (left <= right). number.less_equal(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Less or equal"
        },
        {
          "const": "number.log",
          "description": "Natural log. number.log(value: NUMBER) -> NUMBER.",
          "title": "Natural log"
        },
        {
          "const": "number.log10",
          "description": "Log 10. number.log10(value: NUMBER) -> NUMBER.",
          "title": "Log 10"
        },
        {
          "const": "number.max",
          "description": "Maximum. number.max(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Maximum"
        },
        {
          "const": "number.min",
          "description": "Minimum. number.min(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Minimum"
        },
        {
          "const": "number.mod",
          "description": "Modulo (left % right). number.mod(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Modulo"
        },
        {
          "const": "number.mul",
          "description": "Multiply (left * right). number.mul(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Multiply"
        },
        {
          "const": "number.not_equal",
          "description": "Number not equals (left != right). number.not_equal(left: NUMBER, right: NUMBER) -> BOOLEAN.",
          "title": "Number not equals"
        },
        {
          "const": "number.pow",
          "description": "Power. number.pow(left: NUMBER, exponent: NUMBER) -> NUMBER.",
          "title": "Power"
        },
        {
          "const": "number.random",
          "description": "Random 0 to 1. number.random() -> NUMBER.",
          "title": "Random 0 to 1"
        },
        {
          "const": "number.random_between",
          "description": "Random between. number.random_between(min: NUMBER, max: NUMBER) -> NUMBER.",
          "title": "Random between"
        },
        {
          "const": "number.random_gaussian",
          "description": "Random bell curve. number.random_gaussian(mean: NUMBER, deviation: NUMBER) -> NUMBER.",
          "title": "Random bell curve"
        },
        {
          "const": "number.random_triangular",
          "description": "Random triangular. number.random_triangular(min: NUMBER, max: NUMBER, most_likely: NUMBER) -> NUMBER.",
          "title": "Random triangular"
        },
        {
          "const": "number.remap",
          "description": "Remap. number.remap(value: NUMBER, from_min: NUMBER, from_max: NUMBER, to_min: NUMBER, to_max: NUMBER) -> NUMBER.",
          "title": "Remap"
        },
        {
          "const": "number.round",
          "description": "Round. number.round(value: NUMBER) -> NUMBER.",
          "title": "Round"
        },
        {
          "const": "number.sqrt",
          "description": "Square root. number.sqrt(value: NUMBER) -> NUMBER.",
          "title": "Square root"
        },
        {
          "const": "number.square",
          "description": "Square. number.square(value: NUMBER) -> NUMBER.",
          "title": "Square"
        },
        {
          "const": "number.sub",
          "description": "Subtract (left - right). number.sub(left: NUMBER, right: NUMBER) -> NUMBER.",
          "title": "Subtract"
        }
      ]
    },
    "methods.TEXT": {
      "title": "Text methods",
      "description": "Text helpers: joining, comparing and searching text (string.*).",
      "anyOf": [
        {
          "const": "string.after",
          "description": "After. string.after(text: STRING, separator: STRING) -> STRING.",
          "title": "After"
        },
        {
          "const": "string.append",
          "description": "Append. string.append(text: STRING, suffix: STRING) -> STRING.",
          "title": "Append"
        },
        {
          "const": "string.before",
          "description": "Before. string.before(text: STRING, separator: STRING) -> STRING.",
          "title": "Before"
        },
        {
          "const": "string.contains",
          "description": "Contains. string.contains(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Contains"
        },
        {
          "const": "string.contains_ignore_case",
          "description": "Contains ignoring case. string.contains_ignore_case(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Contains ignoring case"
        },
        {
          "const": "string.ends_with",
          "description": "Ends with. string.ends_with(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Ends with"
        },
        {
          "const": "string.ends_with_ignore_case",
          "description": "Ends with ignoring case. string.ends_with_ignore_case(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Ends with ignoring case"
        },
        {
          "const": "string.equal",
          "description": "Text equals (text == text). string.equal(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Text equals"
        },
        {
          "const": "string.equal_ignore_case",
          "description": "Text equals ignoring case. string.equal_ignore_case(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Text equals ignoring case"
        },
        {
          "const": "string.index_of",
          "description": "Index of. string.index_of(text: STRING, search: STRING) -> NUMBER.",
          "title": "Index of"
        },
        {
          "const": "string.insert",
          "description": "Insert. string.insert(text: STRING, at: NUMBER, insert: STRING) -> STRING.",
          "title": "Insert"
        },
        {
          "const": "string.is_blank",
          "description": "Is blank. string.is_blank(text: STRING) -> BOOLEAN.",
          "title": "Is blank"
        },
        {
          "const": "string.is_empty",
          "description": "Is empty. string.is_empty(text: STRING) -> BOOLEAN.",
          "title": "Is empty"
        },
        {
          "const": "string.last_index_of",
          "description": "Last index of. string.last_index_of(text: STRING, search: STRING) -> NUMBER.",
          "title": "Last index of"
        },
        {
          "const": "string.left",
          "description": "Left. string.left(text: STRING, count: NUMBER) -> STRING.",
          "title": "Left"
        },
        {
          "const": "string.length",
          "description": "Length. string.length(text: STRING) -> NUMBER.",
          "title": "Length"
        },
        {
          "const": "string.lowercase",
          "description": "Lowercase. string.lowercase(text: STRING) -> STRING.",
          "title": "Lowercase"
        },
        {
          "const": "string.not_equal",
          "description": "Text not equals (text != text). string.not_equal(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Text not equals"
        },
        {
          "const": "string.not_equal_ignore_case",
          "description": "Text not equals ignoring case. string.not_equal_ignore_case(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Text not equals ignoring case"
        },
        {
          "const": "string.prepend",
          "description": "Prepend. string.prepend(text: STRING, prefix: STRING) -> STRING.",
          "title": "Prepend"
        },
        {
          "const": "string.remove",
          "description": "Remove. string.remove(text: STRING, remove: STRING) -> STRING.",
          "title": "Remove"
        },
        {
          "const": "string.repeat",
          "description": "Repeat. string.repeat(text: STRING, count: NUMBER) -> STRING.",
          "title": "Repeat"
        },
        {
          "const": "string.replace",
          "description": "Replace. string.replace(text: STRING, search: STRING, replacement: STRING) -> STRING.",
          "title": "Replace"
        },
        {
          "const": "string.right",
          "description": "Right. string.right(text: STRING, count: NUMBER) -> STRING.",
          "title": "Right"
        },
        {
          "const": "string.starts_with",
          "description": "Starts with. string.starts_with(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Starts with"
        },
        {
          "const": "string.starts_with_ignore_case",
          "description": "Starts with ignoring case. string.starts_with_ignore_case(text: STRING, text: STRING) -> BOOLEAN.",
          "title": "Starts with ignoring case"
        },
        {
          "const": "string.substring",
          "description": "Substring. string.substring(text: STRING, start: NUMBER, end: NUMBER) -> STRING.",
          "title": "Substring"
        },
        {
          "const": "string.to_boolean",
          "description": "Value. string.to_boolean(text: STRING) -> BOOLEAN.",
          "title": "Value"
        },
        {
          "const": "string.to_number",
          "description": "Value. string.to_number(text: STRING) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "string.trim",
          "description": "Trim. string.trim(text: STRING) -> STRING.",
          "title": "Trim"
        },
        {
          "const": "string.uppercase",
          "description": "Uppercase. string.uppercase(text: STRING) -> STRING.",
          "title": "Uppercase"
        }
      ]
    },
    "methods.COLOR": {
      "title": "Color methods",
      "description": "Building and changing colors (color.*).",
      "anyOf": [
        {
          "const": "color.alpha",
          "description": "Alpha. color.alpha(color: COLOR) -> NUMBER.",
          "title": "Alpha"
        },
        {
          "const": "color.blend",
          "description": "Blend. color.blend(color: COLOR, to: COLOR, percent: NUMBER) -> COLOR.",
          "title": "Blend"
        },
        {
          "const": "color.blue",
          "description": "Blue. color.blue(color: COLOR) -> NUMBER.",
          "title": "Blue"
        },
        {
          "const": "color.conditionally",
          "description": "Conditionally. color.conditionally(if: BOOLEAN, then: COLOR, else: COLOR) -> COLOR.",
          "title": "Conditionally"
        },
        {
          "const": "color.darken",
          "description": "Darken. color.darken(color: COLOR, amount: NUMBER) -> COLOR.",
          "title": "Darken"
        },
        {
          "const": "color.equal",
          "description": "Color equals (color == color). color.equal(color: COLOR, color: COLOR) -> BOOLEAN.",
          "title": "Color equals"
        },
        {
          "const": "color.format",
          "description": "Format. color.format(color: COLOR) -> STRING.",
          "title": "Format"
        },
        {
          "const": "color.from_hsv",
          "description": "From hsv. color.from_hsv(hue: NUMBER, saturation: NUMBER, value: NUMBER) -> COLOR.",
          "title": "From hsv"
        },
        {
          "const": "color.from_hsva",
          "description": "From hsva. color.from_hsva(hue: NUMBER, saturation: NUMBER, value: NUMBER, alpha: NUMBER) -> COLOR.",
          "title": "From hsva"
        },
        {
          "const": "color.from_rgb",
          "description": "From rgb. color.from_rgb(red: NUMBER, green: NUMBER, blue: NUMBER) -> COLOR.",
          "title": "From rgb"
        },
        {
          "const": "color.from_rgba",
          "description": "From rgba. color.from_rgba(red: NUMBER, green: NUMBER, blue: NUMBER, alpha: NUMBER) -> COLOR.",
          "title": "From rgba"
        },
        {
          "const": "color.grayscale",
          "description": "Grayscale. color.grayscale(color: COLOR) -> COLOR.",
          "title": "Grayscale"
        },
        {
          "const": "color.green",
          "description": "Green. color.green(color: COLOR) -> NUMBER.",
          "title": "Green"
        },
        {
          "const": "color.hue",
          "description": "Hue. color.hue(color: COLOR) -> NUMBER.",
          "title": "Hue"
        },
        {
          "const": "color.invert",
          "description": "Invert. color.invert(color: COLOR) -> COLOR.",
          "title": "Invert"
        },
        {
          "const": "color.lighten",
          "description": "Lighten. color.lighten(color: COLOR, amount: NUMBER) -> COLOR.",
          "title": "Lighten"
        },
        {
          "const": "color.multiply",
          "description": "Multiply. color.multiply(color: COLOR, by: COLOR) -> COLOR.",
          "title": "Multiply"
        },
        {
          "const": "color.multiply_alpha",
          "description": "Multiply alpha. color.multiply_alpha(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "Multiply alpha"
        },
        {
          "const": "color.not_equal",
          "description": "Color not equals (color != color). color.not_equal(color: COLOR, color: COLOR) -> BOOLEAN.",
          "title": "Color not equals"
        },
        {
          "const": "color.red",
          "description": "Red. color.red(color: COLOR) -> NUMBER.",
          "title": "Red"
        },
        {
          "const": "color.saturation",
          "description": "Saturation. color.saturation(color: COLOR) -> NUMBER.",
          "title": "Saturation"
        },
        {
          "const": "color.tint",
          "description": "Tint. color.tint(color: COLOR, to: COLOR, percent: NUMBER) -> COLOR.",
          "title": "Tint"
        },
        {
          "const": "color.value",
          "description": "Value. color.value(color: COLOR) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "color.with_alpha",
          "description": "With alpha. color.with_alpha(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "With alpha"
        },
        {
          "const": "color.with_blue",
          "description": "With blue. color.with_blue(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "With blue"
        },
        {
          "const": "color.with_green",
          "description": "With green. color.with_green(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "With green"
        },
        {
          "const": "color.with_hue",
          "description": "With hue. color.with_hue(color: COLOR, hue: NUMBER) -> COLOR.",
          "title": "With hue"
        },
        {
          "const": "color.with_red",
          "description": "With red. color.with_red(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "With red"
        },
        {
          "const": "color.with_saturation",
          "description": "With saturation. color.with_saturation(color: COLOR, saturation: NUMBER) -> COLOR.",
          "title": "With saturation"
        },
        {
          "const": "color.with_value",
          "description": "With value. color.with_value(color: COLOR, value: NUMBER) -> COLOR.",
          "title": "With value"
        }
      ]
    },
    "methods.RNG": {
      "title": "Random number methods",
      "description": "Random number generators (rng.*). They use the game's synchronized random generator.",
      "anyOf": [
        {
          "const": "rng",
          "description": "Rng. rng() -> RNG.",
          "title": "Rng"
        },
        {
          "const": "rng.between",
          "description": "Between. rng.between(rng: RNG, min: NUMBER, max: NUMBER) -> NUMBER.",
          "title": "Between"
        },
        {
          "const": "rng.chance",
          "description": "Chance. rng.chance(rng: RNG, chance: NUMBER) -> BOOLEAN.",
          "title": "Chance"
        },
        {
          "const": "rng.gaussian",
          "description": "Bell curve. rng.gaussian(rng: RNG, mean: NUMBER, deviation: NUMBER) -> NUMBER.",
          "title": "Bell curve"
        },
        {
          "const": "rng.number",
          "description": "Random number. rng.number(rng: RNG) -> NUMBER.",
          "title": "Random number"
        },
        {
          "const": "rng.triangular",
          "description": "Triangular. rng.triangular(rng: RNG, min: NUMBER, max: NUMBER, most_likely: NUMBER) -> NUMBER.",
          "title": "Triangular"
        }
      ]
    },
    "methods.REGISTRY": {
      "title": "Registry methods",
      "description": "Reading registries, the saved key-value tables written with SET_REGISTRY (registry.*).",
      "anyOf": [
        {
          "const": "registry.boolean",
          "description": "Boolean. registry.boolean(registry: REGISTRY, key: STRING) -> BOOLEAN.",
          "title": "Boolean"
        },
        {
          "const": "registry.color",
          "description": "Color. registry.color(registry: REGISTRY, key: STRING) -> COLOR.",
          "title": "Color"
        },
        {
          "const": "registry.contains",
          "description": "Contains. registry.contains(registry: REGISTRY, key: STRING, value: ANY) -> BOOLEAN.",
          "title": "Contains"
        },
        {
          "const": "registry.country",
          "description": "Country. registry.country(registry: REGISTRY, key: STRING) -> COUNTRY.",
          "title": "Country"
        },
        {
          "const": "registry.get",
          "description": "Value. registry.get(registry: REGISTRY, key: STRING) -> ANY.",
          "title": "Value"
        },
        {
          "const": "registry.has_key",
          "description": "Has key. registry.has_key(registry: REGISTRY, key: STRING) -> BOOLEAN.",
          "title": "Has key"
        },
        {
          "const": "registry.keys",
          "description": "Keys. registry.keys(registry: REGISTRY) -> LIST of STRING.",
          "title": "Keys"
        },
        {
          "const": "registry.list",
          "description": "List. registry.list(registry: REGISTRY, key: STRING) -> LIST.",
          "title": "List"
        },
        {
          "const": "registry.number",
          "description": "Number. registry.number(registry: REGISTRY, key: STRING) -> NUMBER.",
          "title": "Number"
        },
        {
          "const": "registry.point",
          "description": "Point. registry.point(registry: REGISTRY, key: STRING) -> POINT.",
          "title": "Point"
        },
        {
          "const": "registry.size",
          "description": "Size. registry.size(registry: REGISTRY) -> NUMBER.",
          "title": "Size"
        },
        {
          "const": "registry.text",
          "description": "Text. registry.text(registry: REGISTRY, key: STRING) -> STRING.",
          "title": "Text"
        },
        {
          "const": "registry.values",
          "description": "Values. registry.values(registry: REGISTRY) -> LIST.",
          "title": "Values"
        }
      ]
    },
    "methods.COUNTRY": {
      "title": "Country methods",
      "description": "Reading a country's data (country.*). Pass the country as the first argument.",
      "anyOf": [
        {
          "const": "country.ai",
          "description": "AI. country.ai(country: COUNTRY) -> COUNTRY_AI.",
          "title": "AI"
        },
        {
          "const": "country.allies",
          "description": "Allies. country.allies(country: COUNTRY) -> LIST of COUNTRY.",
          "title": "Allies"
        },
        {
          "const": "country.area",
          "description": "Area. country.area(country: COUNTRY) -> NUMBER.",
          "title": "Area"
        },
        {
          "const": "country.bonus",
          "description": "Bonus. country.bonus(country: COUNTRY) -> BONUS.",
          "title": "Bonus"
        },
        {
          "const": "country.border_count",
          "description": "Border count. country.border_count(country: COUNTRY) -> NUMBER.",
          "title": "Border count"
        },
        {
          "const": "country.border_size",
          "description": "Border size. country.border_size(country: COUNTRY) -> NUMBER.",
          "title": "Border size"
        },
        {
          "const": "country.border_size_with",
          "description": "Border size with. country.border_size_with(country: COUNTRY, other_country: COUNTRY) -> NUMBER.",
          "title": "Border size with"
        },
        {
          "const": "country.border_weight_with",
          "description": "Border weight with. country.border_weight_with(country: COUNTRY, other_country: COUNTRY) -> NUMBER.",
          "title": "Border weight with"
        },
        {
          "const": "country.bordering_countries",
          "description": "Bordering countries. country.bordering_countries(country: COUNTRY) -> LIST of COUNTRY.",
          "title": "Bordering countries"
        },
        {
          "const": "country.budget",
          "description": "Budget. country.budget(country: COUNTRY) -> BUDGET.",
          "title": "Budget"
        },
        {
          "const": "country.calculations",
          "description": "Calculations. country.calculations(country: COUNTRY) -> COUNTRY_CALCULATIONS.",
          "title": "Calculations"
        },
        {
          "const": "country.can_attack",
          "description": "Can attack. country.can_attack(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Can attack"
        },
        {
          "const": "country.capital",
          "description": "Capital. country.capital(country: COUNTRY) -> POINT.",
          "title": "Capital"
        },
        {
          "const": "country.claims",
          "description": "Claims. country.claims(country: COUNTRY) -> COUNTRY_CLAIMS.",
          "title": "Claims"
        },
        {
          "const": "country.coalition",
          "description": "Coalition. country.coalition(country: COUNTRY) -> COALITION.",
          "title": "Coalition"
        },
        {
          "const": "country.code",
          "description": "Code. country.code(country: COUNTRY) -> STRING.",
          "title": "Code"
        },
        {
          "const": "country.color",
          "description": "Color. country.color(country: COUNTRY) -> COLOR.",
          "title": "Color"
        },
        {
          "const": "country.controller",
          "description": "Controlling country. country.controller(country: COUNTRY) -> COUNTRY. Internal: valid in scripts, but not offered by the editor.",
          "title": "Controlling country"
        },
        {
          "const": "country.current_battles",
          "description": "Current battles. country.current_battles(country: COUNTRY) -> LIST of BATTLE.",
          "title": "Current battles"
        },
        {
          "const": "country.death_day",
          "description": "Death day. country.death_day(country: COUNTRY) -> NUMBER.",
          "title": "Death day"
        },
        {
          "const": "country.diplomacy",
          "description": "Diplomacy. country.diplomacy(country: COUNTRY, other_country: COUNTRY) -> NUMBER.",
          "title": "Diplomacy"
        },
        {
          "const": "country.diplomatic_exhaustion",
          "description": "Diplomatic exhaustion. country.diplomatic_exhaustion(country: COUNTRY) -> NUMBER.",
          "title": "Diplomatic exhaustion"
        },
        {
          "const": "country.disputed_points",
          "description": "Disputed points. country.disputed_points(country: COUNTRY) -> NUMBER.",
          "title": "Disputed points"
        },
        {
          "const": "country.enemies",
          "description": "Enemies. country.enemies(country: COUNTRY) -> LIST of COUNTRY.",
          "title": "Enemies"
        },
        {
          "const": "country.equal",
          "description": "Country equals (country == other_country). country.equal(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Country equals"
        },
        {
          "const": "country.exists",
          "description": "Exists. country.exists(country: COUNTRY) -> BOOLEAN.",
          "title": "Exists"
        },
        {
          "const": "country.external_shares_sold_percent",
          "description": "External shares sold. country.external_shares_sold_percent(country: COUNTRY) -> NUMBER. Internal: valid in scripts, but not offered by the editor.",
          "title": "External shares sold"
        },
        {
          "const": "country.fertility",
          "description": "Fertility. country.fertility(country: COUNTRY) -> NUMBER.",
          "title": "Fertility"
        },
        {
          "const": "country.feud",
          "description": "Feud. country.feud(country: COUNTRY, target: COUNTRY) -> NUMBER.",
          "title": "Feud"
        },
        {
          "const": "country.freedom",
          "description": "Freedom. country.freedom(country: COUNTRY) -> NUMBER.",
          "title": "Freedom"
        },
        {
          "const": "country.has_enemies",
          "description": "Has enemies. country.has_enemies(country: COUNTRY) -> BOOLEAN.",
          "title": "Has enemies"
        },
        {
          "const": "country.has_land_border_with",
          "description": "Has land border with. country.has_land_border_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Has land border with"
        },
        {
          "const": "country.has_ocean_border_with",
          "description": "Has ocean border with. country.has_ocean_border_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Has ocean border with"
        },
        {
          "const": "country.has_puppet",
          "description": "Has puppet. country.has_puppet(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Has puppet"
        },
        {
          "const": "country.ideology",
          "description": "Ideology. country.ideology(country: COUNTRY) -> COUNTRY_IDEOLOGY.",
          "title": "Ideology"
        },
        {
          "const": "country.in_different_coalition",
          "description": "In different coalition. country.in_different_coalition(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "In different coalition"
        },
        {
          "const": "country.in_rival_coalition",
          "description": "In rival coalition. country.in_rival_coalition(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "In rival coalition"
        },
        {
          "const": "country.index",
          "description": "Index. country.index(country: COUNTRY) -> NUMBER.",
          "title": "Index"
        },
        {
          "const": "country.invasions",
          "description": "Invasions. country.invasions(country: COUNTRY) -> LIST of INVASION.",
          "title": "Invasions"
        },
        {
          "const": "country.is_aligned_with",
          "description": "Is aligned with. country.is_aligned_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is aligned with"
        },
        {
          "const": "country.is_alive",
          "description": "Is alive. country.is_alive(country: COUNTRY) -> BOOLEAN.",
          "title": "Is alive"
        },
        {
          "const": "country.is_allied_with",
          "description": "Is allied with. country.is_allied_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is allied with"
        },
        {
          "const": "country.is_any_player",
          "description": "Is online player. country.is_any_player(country: COUNTRY) -> BOOLEAN.",
          "title": "Is online player"
        },
        {
          "const": "country.is_dead",
          "description": "Is dead. country.is_dead(country: COUNTRY) -> BOOLEAN.",
          "title": "Is dead"
        },
        {
          "const": "country.is_friendly_with",
          "description": "Is friendly with. country.is_friendly_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is friendly with"
        },
        {
          "const": "country.is_hostile_with",
          "description": "Is hostile with. country.is_hostile_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is hostile with"
        },
        {
          "const": "country.is_invaded",
          "description": "Is invaded. country.is_invaded(country: COUNTRY) -> BOOLEAN.",
          "title": "Is invaded"
        },
        {
          "const": "country.is_invading",
          "description": "Is invading. country.is_invading(country: COUNTRY) -> BOOLEAN.",
          "title": "Is invading"
        },
        {
          "const": "country.is_landlocked",
          "description": "Is landlocked. country.is_landlocked(country: COUNTRY) -> BOOLEAN.",
          "title": "Is landlocked"
        },
        {
          "const": "country.is_neutral_with",
          "description": "Is neutral with. country.is_neutral_with(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is neutral with"
        },
        {
          "const": "country.is_null",
          "description": "Is none. country.is_null(country: COUNTRY) -> BOOLEAN.",
          "title": "Is none"
        },
        {
          "const": "country.is_online",
          "description": "Is online. country.is_online(country: COUNTRY) -> BOOLEAN.",
          "title": "Is online"
        },
        {
          "const": "country.is_player",
          "description": "Is the player. country.is_player(country: COUNTRY) -> BOOLEAN. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Is the player"
        },
        {
          "const": "country.is_puppet",
          "description": "Is puppet. country.is_puppet(country: COUNTRY) -> BOOLEAN.",
          "title": "Is puppet"
        },
        {
          "const": "country.is_puppet_of",
          "description": "Is puppet of. country.is_puppet_of(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Is puppet of"
        },
        {
          "const": "country.is_synthetic",
          "description": "Is synthetic. country.is_synthetic(country: COUNTRY) -> BOOLEAN.",
          "title": "Is synthetic"
        },
        {
          "const": "country.leader",
          "description": "Leader. country.leader(country: COUNTRY) -> LEADER.",
          "title": "Leader"
        },
        {
          "const": "country.master",
          "description": "Master. country.master(country: COUNTRY) -> COUNTRY.",
          "title": "Master"
        },
        {
          "const": "country.name",
          "description": "Name. country.name(country: COUNTRY) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "country.next_leader",
          "description": "Next leader. country.next_leader(country: COUNTRY) -> LEADER.",
          "title": "Next leader"
        },
        {
          "const": "country.not_equal",
          "description": "Country not equals (country != other_country). country.not_equal(country: COUNTRY, other_country: COUNTRY) -> BOOLEAN.",
          "title": "Country not equals"
        },
        {
          "const": "country.ocean_border_count",
          "description": "Ocean border count. country.ocean_border_count(country: COUNTRY) -> NUMBER.",
          "title": "Ocean border count"
        },
        {
          "const": "country.ocean_border_size",
          "description": "Ocean border size. country.ocean_border_size(country: COUNTRY) -> NUMBER.",
          "title": "Ocean border size"
        },
        {
          "const": "country.ocean_border_size_at",
          "description": "Ocean border size at. country.ocean_border_size_at(country: COUNTRY, ocean: NUMBER) -> NUMBER.",
          "title": "Ocean border size at"
        },
        {
          "const": "country.ocean_border_weight_with",
          "description": "Ocean border weight with. country.ocean_border_weight_with(country: COUNTRY, other_country: COUNTRY) -> NUMBER.",
          "title": "Ocean border weight with"
        },
        {
          "const": "country.ocean_borders",
          "description": "Ocean borders. country.ocean_borders(country: COUNTRY) -> LIST of NUMBER.",
          "title": "Ocean borders"
        },
        {
          "const": "country.online_external_shareholders",
          "description": "Online external shareholders. country.online_external_shareholders(country: COUNTRY) -> LIST of COUNTRY. Internal: valid in scripts, but not offered by the editor.",
          "title": "Online external shareholders"
        },
        {
          "const": "country.population",
          "description": "Population. country.population(country: COUNTRY) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "country.progress",
          "description": "Progress. country.progress(country: COUNTRY) -> NUMBER.",
          "title": "Progress"
        },
        {
          "const": "country.puppets",
          "description": "Puppets. country.puppets(country: COUNTRY) -> LIST of COUNTRY.",
          "title": "Puppets"
        },
        {
          "const": "country.rankings",
          "description": "Rankings. country.rankings(country: COUNTRY) -> COUNTRY_RANKINGS.",
          "title": "Rankings"
        },
        {
          "const": "country.shared_ocean_border_size_with",
          "description": "Shared ocean border size with. country.shared_ocean_border_size_with(country: COUNTRY, other_country: COUNTRY) -> NUMBER.",
          "title": "Shared ocean border size with"
        },
        {
          "const": "country.squads",
          "description": "Squads. country.squads(country: COUNTRY) -> LIST of SQUAD.",
          "title": "Squads"
        },
        {
          "const": "country.territory_points",
          "description": "Territory points. country.territory_points(country: COUNTRY) -> LIST of POINT.",
          "title": "Territory points"
        }
      ]
    },
    "methods.COUNTRY_CLAIMS": {
      "title": "Country claims methods",
      "description": "Methods that read country claims values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "claims.claim_point_count",
          "description": "Claim point count. claims.claim_point_count(claims: COUNTRY_CLAIMS) -> NUMBER.",
          "title": "Claim point count"
        },
        {
          "const": "claims.claim_points",
          "description": "Claim points. claims.claim_points(claims: COUNTRY_CLAIMS, target_country: COUNTRY) -> LIST of POINT.",
          "title": "Claim points"
        },
        {
          "const": "claims.claimer_point_count",
          "description": "Claimer point count. claims.claimer_point_count(claims: COUNTRY_CLAIMS) -> NUMBER.",
          "title": "Claimer point count"
        },
        {
          "const": "claims.claimer_points",
          "description": "Claimer points. claims.claimer_points(claims: COUNTRY_CLAIMS, claimer: COUNTRY) -> LIST of POINT.",
          "title": "Claimer points"
        },
        {
          "const": "claims.claimers",
          "description": "Claimers. claims.claimers(claims: COUNTRY_CLAIMS) -> LIST of COUNTRY.",
          "title": "Claimers"
        },
        {
          "const": "claims.claims",
          "description": "Claims. claims.claims(claims: COUNTRY_CLAIMS) -> LIST of COUNTRY.",
          "title": "Claims"
        },
        {
          "const": "claims.has_claim_on",
          "description": "Has claim on. claims.has_claim_on(claims: COUNTRY_CLAIMS, target_country: COUNTRY) -> BOOLEAN.",
          "title": "Has claim on"
        },
        {
          "const": "claims.has_claimers",
          "description": "Has claimers. claims.has_claimers(claims: COUNTRY_CLAIMS) -> BOOLEAN.",
          "title": "Has claimers"
        },
        {
          "const": "claims.has_claims",
          "description": "Has claims. claims.has_claims(claims: COUNTRY_CLAIMS) -> BOOLEAN.",
          "title": "Has claims"
        },
        {
          "const": "claims.has_homeland",
          "description": "Has homeland. claims.has_homeland(claims: COUNTRY_CLAIMS) -> BOOLEAN.",
          "title": "Has homeland"
        },
        {
          "const": "claims.has_homeland_on",
          "description": "Has homeland on. claims.has_homeland_on(claims: COUNTRY_CLAIMS, target_country: COUNTRY) -> BOOLEAN.",
          "title": "Has homeland on"
        },
        {
          "const": "claims.has_homelander",
          "description": "Has homelander. claims.has_homelander(claims: COUNTRY_CLAIMS, homelander: COUNTRY) -> BOOLEAN.",
          "title": "Has homelander"
        },
        {
          "const": "claims.has_homelanders",
          "description": "Has homelanders. claims.has_homelanders(claims: COUNTRY_CLAIMS) -> BOOLEAN.",
          "title": "Has homelanders"
        },
        {
          "const": "claims.homeland_point_count",
          "description": "Homeland point count. claims.homeland_point_count(claims: COUNTRY_CLAIMS) -> NUMBER.",
          "title": "Homeland point count"
        },
        {
          "const": "claims.homeland_points",
          "description": "Homeland points. claims.homeland_points(claims: COUNTRY_CLAIMS, target_country: COUNTRY) -> LIST of POINT.",
          "title": "Homeland points"
        },
        {
          "const": "claims.homelander_point_count",
          "description": "Homelander point count. claims.homelander_point_count(claims: COUNTRY_CLAIMS) -> NUMBER.",
          "title": "Homelander point count"
        },
        {
          "const": "claims.homelander_points",
          "description": "Homelander points. claims.homelander_points(claims: COUNTRY_CLAIMS, homelander: COUNTRY) -> LIST of POINT.",
          "title": "Homelander points"
        },
        {
          "const": "claims.homelanders",
          "description": "Homelanders. claims.homelanders(claims: COUNTRY_CLAIMS) -> LIST of COUNTRY.",
          "title": "Homelanders"
        },
        {
          "const": "claims.homelands",
          "description": "Homeland. claims.homelands(claims: COUNTRY_CLAIMS) -> LIST of COUNTRY.",
          "title": "Homeland"
        },
        {
          "const": "claims.is_claimed_by",
          "description": "Is claimed by. claims.is_claimed_by(claims: COUNTRY_CLAIMS, claimer: COUNTRY) -> BOOLEAN.",
          "title": "Is claimed by"
        }
      ]
    },
    "methods.COUNTRY_AI": {
      "title": "Country AI methods",
      "description": "Methods that read country ai values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "ai.awake_day",
          "description": "Inactive until. ai.awake_day(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Inactive until"
        },
        {
          "const": "ai.brain_index",
          "description": "Brain index. ai.brain_index(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Brain index"
        },
        {
          "const": "ai.brain_profile",
          "description": "Brain profile. ai.brain_profile(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Brain profile"
        },
        {
          "const": "ai.brain_speed",
          "description": "Brain speed. ai.brain_speed(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Brain speed"
        },
        {
          "const": "ai.can_attack",
          "description": "Can attack. ai.can_attack(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Can attack"
        },
        {
          "const": "ai.can_reclaim",
          "description": "Can reclaim. ai.can_reclaim(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Can reclaim"
        },
        {
          "const": "ai.custom_aggressivity",
          "description": "Custom aggressivity. ai.custom_aggressivity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom aggressivity"
        },
        {
          "const": "ai.custom_austerity",
          "description": "Custom austerity. ai.custom_austerity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom austerity"
        },
        {
          "const": "ai.custom_defensivity",
          "description": "Custom defensivity. ai.custom_defensivity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom defensivity"
        },
        {
          "const": "ai.custom_economic_development",
          "description": "Custom economic development. ai.custom_economic_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom economic development"
        },
        {
          "const": "ai.custom_fear",
          "description": "Custom fear. ai.custom_fear(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom fear"
        },
        {
          "const": "ai.custom_military_development",
          "description": "Custom military development. ai.custom_military_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom military development"
        },
        {
          "const": "ai.custom_path_strategy",
          "description": "Custom path strategy. ai.custom_path_strategy(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom path strategy"
        },
        {
          "const": "ai.custom_public_relations",
          "description": "Custom public relations. ai.custom_public_relations(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom public relations"
        },
        {
          "const": "ai.custom_research_development",
          "description": "Custom research development. ai.custom_research_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom research development"
        },
        {
          "const": "ai.custom_social_development",
          "description": "Custom social development. ai.custom_social_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Custom social development"
        },
        {
          "const": "ai.equal",
          "description": "Country AI equals (AI == arg_1). ai.equal(AI: COUNTRY_AI, arg_1: COUNTRY_AI) -> BOOLEAN.",
          "title": "Country AI equals"
        },
        {
          "const": "ai.exists",
          "description": "Country AI exists. ai.exists(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Country AI exists"
        },
        {
          "const": "ai.feud",
          "description": "Feud. ai.feud(AI: COUNTRY_AI, target: COUNTRY) -> NUMBER.",
          "title": "Feud"
        },
        {
          "const": "ai.high_feuds",
          "description": "High feuds. ai.high_feuds(AI: COUNTRY_AI) -> NUMBER.",
          "title": "High feuds"
        },
        {
          "const": "ai.is_aggressive",
          "description": "Is aggressive. ai.is_aggressive(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is aggressive"
        },
        {
          "const": "ai.is_awake",
          "description": "Is awake. ai.is_awake(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is awake"
        },
        {
          "const": "ai.is_defensive",
          "description": "Is defensive. ai.is_defensive(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is defensive"
        },
        {
          "const": "ai.is_imperialist",
          "description": "Is imperialist. ai.is_imperialist(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is imperialist"
        },
        {
          "const": "ai.is_null",
          "description": "Country AI is null. ai.is_null(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Country AI is null"
        },
        {
          "const": "ai.is_peaceful",
          "description": "Is peaceful. ai.is_peaceful(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is peaceful"
        },
        {
          "const": "ai.is_player_ai",
          "description": "Is player AI. ai.is_player_ai(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is player AI"
        },
        {
          "const": "ai.is_player_ai_delay",
          "description": "Is player AI in delay. ai.is_player_ai_delay(AI: COUNTRY_AI) -> BOOLEAN.",
          "title": "Is player AI in delay"
        },
        {
          "const": "ai.main_template",
          "description": "Main template. ai.main_template(AI: COUNTRY_AI) -> AI_TYPE.",
          "title": "Main template"
        },
        {
          "const": "ai.not_equal",
          "description": "Country AI not equals (AI != arg_1). ai.not_equal(AI: COUNTRY_AI, arg_1: COUNTRY_AI) -> BOOLEAN.",
          "title": "Country AI not equals"
        },
        {
          "const": "ai.owner",
          "description": "Owner. ai.owner(AI: COUNTRY_AI) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "ai.personality_aggressivity",
          "description": "Aggressivity. ai.personality_aggressivity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Aggressivity"
        },
        {
          "const": "ai.personality_austerity",
          "description": "Austerity. ai.personality_austerity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Austerity"
        },
        {
          "const": "ai.personality_defensivity",
          "description": "Defensivity. ai.personality_defensivity(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Defensivity"
        },
        {
          "const": "ai.personality_economic_development",
          "description": "Economic development. ai.personality_economic_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Economic development"
        },
        {
          "const": "ai.personality_fear",
          "description": "Fear. ai.personality_fear(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Fear"
        },
        {
          "const": "ai.personality_military_development",
          "description": "Military development. ai.personality_military_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Military development"
        },
        {
          "const": "ai.personality_path_strategy",
          "description": "Path strategy. ai.personality_path_strategy(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Path strategy"
        },
        {
          "const": "ai.personality_public_relations",
          "description": "Public relations. ai.personality_public_relations(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Public relations"
        },
        {
          "const": "ai.personality_research_development",
          "description": "Research development. ai.personality_research_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Research development"
        },
        {
          "const": "ai.personality_social_development",
          "description": "Social development. ai.personality_social_development(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Social development"
        },
        {
          "const": "ai.template_aggressive",
          "description": "Aggressive template. ai.template_aggressive(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Aggressive template"
        },
        {
          "const": "ai.template_defensive",
          "description": "Defensive template. ai.template_defensive(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Defensive template"
        },
        {
          "const": "ai.template_imperialist",
          "description": "Imperialist template. ai.template_imperialist(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Imperialist template"
        },
        {
          "const": "ai.template_peaceful",
          "description": "Peaceful template. ai.template_peaceful(AI: COUNTRY_AI) -> NUMBER.",
          "title": "Peaceful template"
        },
        {
          "const": "ai.type",
          "description": "Type. ai.type(AI: COUNTRY_AI) -> AI_TYPE.",
          "title": "Type"
        },
        {
          "const": "ai_type.equal",
          "description": "Ai type equals (AI_type == arg_1). ai_type.equal(AI_type: AI_TYPE, arg_1: AI_TYPE) -> BOOLEAN.",
          "title": "Ai type equals"
        },
        {
          "const": "ai_type.exists",
          "description": "AI type exists. ai_type.exists(AI_type: AI_TYPE) -> BOOLEAN.",
          "title": "AI type exists"
        },
        {
          "const": "ai_type.id",
          "description": "Id. ai_type.id(AI_type: AI_TYPE) -> STRING.",
          "title": "Id"
        },
        {
          "const": "ai_type.is_null",
          "description": "AI type is null. ai_type.is_null(AI_type: AI_TYPE) -> BOOLEAN.",
          "title": "AI type is null"
        },
        {
          "const": "ai_type.name",
          "description": "Name. ai_type.name(AI_type: AI_TYPE) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "ai_type.not_equal",
          "description": "Ai type not equals (AI_type != arg_1). ai_type.not_equal(AI_type: AI_TYPE, arg_1: AI_TYPE) -> BOOLEAN.",
          "title": "Ai type not equals"
        }
      ]
    },
    "methods.BUDGET": {
      "title": "Budget methods",
      "description": "Methods that read budget values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "budget.base_military_funding_percent",
          "description": "Base military funding percent. budget.base_military_funding_percent(budget: BUDGET) -> NUMBER.",
          "title": "Base military funding percent"
        },
        {
          "const": "budget.equal",
          "description": "Budget equals (budget == arg_1). budget.equal(budget: BUDGET, arg_1: BUDGET) -> BOOLEAN.",
          "title": "Budget equals"
        },
        {
          "const": "budget.exchange_rate",
          "description": "Exchange rate. budget.exchange_rate(budget: BUDGET) -> NUMBER.",
          "title": "Exchange rate"
        },
        {
          "const": "budget.exists",
          "description": "Budget exists. budget.exists(budget: BUDGET) -> BOOLEAN.",
          "title": "Budget exists"
        },
        {
          "const": "budget.expenditure",
          "description": "Expenditure. budget.expenditure(budget: BUDGET) -> NUMBER.",
          "title": "Expenditure"
        },
        {
          "const": "budget.expenditure_percent",
          "description": "Expenditure percent. budget.expenditure_percent(budget: BUDGET) -> NUMBER.",
          "title": "Expenditure percent"
        },
        {
          "const": "budget.gdp",
          "description": "GDP. budget.gdp(budget: BUDGET) -> NUMBER.",
          "title": "GDP"
        },
        {
          "const": "budget.gdp_growth",
          "description": "GDP growth. budget.gdp_growth(budget: BUDGET) -> NUMBER.",
          "title": "GDP growth"
        },
        {
          "const": "budget.gdp_per_capita",
          "description": "GDP per capita. budget.gdp_per_capita(budget: BUDGET) -> NUMBER.",
          "title": "GDP per capita"
        },
        {
          "const": "budget.global_military_bonus",
          "description": "Global military bonus. budget.global_military_bonus(budget: BUDGET) -> NUMBER.",
          "title": "Global military bonus"
        },
        {
          "const": "budget.immigration",
          "description": "Immigration. budget.immigration(budget: BUDGET) -> NUMBER.",
          "title": "Immigration"
        },
        {
          "const": "budget.is_null",
          "description": "Budget is null. budget.is_null(budget: BUDGET) -> BOOLEAN.",
          "title": "Budget is null"
        },
        {
          "const": "budget.liquidity_funding",
          "description": "Liquidity funding. budget.liquidity_funding(budget: BUDGET) -> NUMBER.",
          "title": "Liquidity funding"
        },
        {
          "const": "budget.liquidity_funding_target",
          "description": "Liquidity funding target. budget.liquidity_funding_target(budget: BUDGET) -> NUMBER.",
          "title": "Liquidity funding target"
        },
        {
          "const": "budget.market_rate",
          "description": "Market rate. budget.market_rate(budget: BUDGET) -> NUMBER.",
          "title": "Market rate"
        },
        {
          "const": "budget.military_bonus",
          "description": "Military bonus. budget.military_bonus(budget: BUDGET) -> NUMBER.",
          "title": "Military bonus"
        },
        {
          "const": "budget.military_funding",
          "description": "Military funding. budget.military_funding(budget: BUDGET) -> NUMBER.",
          "title": "Military funding"
        },
        {
          "const": "budget.military_funding_target",
          "description": "Military funding target. budget.military_funding_target(budget: BUDGET) -> NUMBER.",
          "title": "Military funding target"
        },
        {
          "const": "budget.military_growth",
          "description": "Military growth. budget.military_growth(budget: BUDGET) -> NUMBER.",
          "title": "Military growth"
        },
        {
          "const": "budget.military_rate",
          "description": "Military rate. budget.military_rate(budget: BUDGET) -> NUMBER.",
          "title": "Military rate"
        },
        {
          "const": "budget.money",
          "description": "Money. budget.money(budget: BUDGET) -> NUMBER.",
          "title": "Money"
        },
        {
          "const": "budget.money_growth",
          "description": "Annual money growth. budget.money_growth(budget: BUDGET) -> NUMBER.",
          "title": "Annual money growth"
        },
        {
          "const": "budget.money_production",
          "description": "Annual money production. budget.money_production(budget: BUDGET) -> NUMBER.",
          "title": "Annual money production"
        },
        {
          "const": "budget.not_equal",
          "description": "Budget not equals (budget != arg_1). budget.not_equal(budget: BUDGET, arg_1: BUDGET) -> BOOLEAN.",
          "title": "Budget not equals"
        },
        {
          "const": "budget.population",
          "description": "Population. budget.population(budget: BUDGET) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "budget.population_growth",
          "description": "Population growth. budget.population_growth(budget: BUDGET) -> NUMBER.",
          "title": "Population growth"
        },
        {
          "const": "budget.research_funding",
          "description": "Research funding. budget.research_funding(budget: BUDGET) -> NUMBER.",
          "title": "Research funding"
        },
        {
          "const": "budget.research_funding_target",
          "description": "Research funding target. budget.research_funding_target(budget: BUDGET) -> NUMBER.",
          "title": "Research funding target"
        },
        {
          "const": "budget.research_growth",
          "description": "Annual research growth. budget.research_growth(budget: BUDGET) -> NUMBER.",
          "title": "Annual research growth"
        },
        {
          "const": "budget.research_points",
          "description": "Research points. budget.research_points(budget: BUDGET) -> NUMBER.",
          "title": "Research points"
        },
        {
          "const": "budget.salary",
          "description": "Salary. budget.salary(budget: BUDGET) -> NUMBER.",
          "title": "Salary"
        },
        {
          "const": "budget.salary_rate",
          "description": "Salary rate. budget.salary_rate(budget: BUDGET) -> NUMBER.",
          "title": "Salary rate"
        },
        {
          "const": "budget.social_funding",
          "description": "Social funding. budget.social_funding(budget: BUDGET) -> NUMBER.",
          "title": "Social funding"
        },
        {
          "const": "budget.social_funding_target",
          "description": "Social funding target. budget.social_funding_target(budget: BUDGET) -> NUMBER.",
          "title": "Social funding target"
        },
        {
          "const": "budget.target_expenditure",
          "description": "Target expenditure. budget.target_expenditure(budget: BUDGET) -> NUMBER.",
          "title": "Target expenditure"
        },
        {
          "const": "budget.wealth_rate",
          "description": "Wealth rate. budget.wealth_rate(budget: BUDGET) -> NUMBER.",
          "title": "Wealth rate"
        }
      ]
    },
    "methods.COUNTRY_CALCULATIONS": {
      "title": "Country calculations methods",
      "description": "Methods that read country calculations values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "calculations.active_military_ratio",
          "description": "Active military ratio. calculations.active_military_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Active military ratio"
        },
        {
          "const": "calculations.ally_ratio",
          "description": "Ally ratio. calculations.ally_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Ally ratio"
        },
        {
          "const": "calculations.claim",
          "description": "Claim deficit. calculations.claim(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Claim deficit"
        },
        {
          "const": "calculations.claim_balance",
          "description": "Claim balance. calculations.claim_balance(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Claim balance"
        },
        {
          "const": "calculations.defense_balance",
          "description": "Defense balance. calculations.defense_balance(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Defense balance"
        },
        {
          "const": "calculations.defense_balance_ratio",
          "description": "Defense balance ratio. calculations.defense_balance_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Defense balance ratio"
        },
        {
          "const": "calculations.defense_power",
          "description": "Defense power. calculations.defense_power(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Defense power"
        },
        {
          "const": "calculations.defense_power_ratio",
          "description": "Defense power ratio. calculations.defense_power_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Defense power ratio"
        },
        {
          "const": "calculations.defense_ratio",
          "description": "Defense ratio. calculations.defense_ratio(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Defense ratio"
        },
        {
          "const": "calculations.diplomacy_rate",
          "description": "Diplomacy rate. calculations.diplomacy_rate(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Diplomacy rate"
        },
        {
          "const": "calculations.diplomatic_balance",
          "description": "Diplomatic balance. calculations.diplomatic_balance(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Diplomatic balance"
        },
        {
          "const": "calculations.diplomatic_balance_ratio",
          "description": "Diplomatic balance ratio. calculations.diplomatic_balance_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Diplomatic balance ratio"
        },
        {
          "const": "calculations.diplomatic_jeopardy",
          "description": "Diplomatic jeopardy. calculations.diplomatic_jeopardy(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Diplomatic jeopardy"
        },
        {
          "const": "calculations.diplomatic_power_ratio",
          "description": "Diplomatic power ratio. calculations.diplomatic_power_ratio(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Diplomatic power ratio"
        },
        {
          "const": "calculations.dominance",
          "description": "Dominance. calculations.dominance(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Dominance"
        },
        {
          "const": "calculations.domination_deterrence",
          "description": "Domination deterrence. calculations.domination_deterrence(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Domination deterrence"
        },
        {
          "const": "calculations.domination_tolerance",
          "description": "Domination tolerance. calculations.domination_tolerance(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Domination tolerance"
        },
        {
          "const": "calculations.economic_power_ratio",
          "description": "Economic power ratio. calculations.economic_power_ratio(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Economic power ratio"
        },
        {
          "const": "calculations.enemy_power",
          "description": "Enemy power. calculations.enemy_power(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Enemy power"
        },
        {
          "const": "calculations.equal",
          "description": "Calculations equals (calculations == arg_1). calculations.equal(calculations: COUNTRY_CALCULATIONS, arg_1: COUNTRY_CALCULATIONS) -> BOOLEAN.",
          "title": "Calculations equals"
        },
        {
          "const": "calculations.exists",
          "description": "Calculations exists. calculations.exists(calculations: COUNTRY_CALCULATIONS) -> BOOLEAN.",
          "title": "Calculations exists"
        },
        {
          "const": "calculations.fertility_rate",
          "description": "Fertility rate. calculations.fertility_rate(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Fertility rate"
        },
        {
          "const": "calculations.is_null",
          "description": "Calculations is null. calculations.is_null(calculations: COUNTRY_CALCULATIONS) -> BOOLEAN.",
          "title": "Calculations is null"
        },
        {
          "const": "calculations.jeopardy",
          "description": "Jeopardy. calculations.jeopardy(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Jeopardy"
        },
        {
          "const": "calculations.military_overwhelm",
          "description": "Military overwhelm. calculations.military_overwhelm(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Military overwhelm"
        },
        {
          "const": "calculations.military_power",
          "description": "Military power. calculations.military_power(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Military power"
        },
        {
          "const": "calculations.military_power_ratio",
          "description": "Military power ratio. calculations.military_power_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Military power ratio"
        },
        {
          "const": "calculations.military_power_ratio_to",
          "description": "Military power ratio to. calculations.military_power_ratio_to(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Military power ratio to"
        },
        {
          "const": "calculations.money_rate",
          "description": "Money rate. calculations.money_rate(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Money rate"
        },
        {
          "const": "calculations.not_equal",
          "description": "Calculations not equals (calculations != arg_1). calculations.not_equal(calculations: COUNTRY_CALCULATIONS, arg_1: COUNTRY_CALCULATIONS) -> BOOLEAN.",
          "title": "Calculations not equals"
        },
        {
          "const": "calculations.population_power_ratio",
          "description": "Population power ratio. calculations.population_power_ratio(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Population power ratio"
        },
        {
          "const": "calculations.power_ratio",
          "description": "Power ratio. calculations.power_ratio(calculations: COUNTRY_CALCULATIONS, other_country: COUNTRY) -> NUMBER.",
          "title": "Power ratio"
        },
        {
          "const": "calculations.research_rate",
          "description": "Research rate. calculations.research_rate(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Research rate"
        },
        {
          "const": "calculations.self_defense_balance_ratio",
          "description": "Self defense balance ratio. calculations.self_defense_balance_ratio(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Self defense balance ratio"
        },
        {
          "const": "calculations.self_defense_power",
          "description": "Self defense power. calculations.self_defense_power(calculations: COUNTRY_CALCULATIONS) -> NUMBER.",
          "title": "Self defense power"
        }
      ]
    },
    "methods.RANKINGS": {
      "title": "Rankings methods",
      "description": "Methods that read rankings values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "country_rankings.area",
          "description": "Area. country_rankings.area(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Area"
        },
        {
          "const": "country_rankings.defense",
          "description": "Defense. country_rankings.defense(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Defense"
        },
        {
          "const": "country_rankings.diplomacy",
          "description": "Diplomacy. country_rankings.diplomacy(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Diplomacy"
        },
        {
          "const": "country_rankings.equal",
          "description": "Rankings equals (rankings == arg_1). country_rankings.equal(rankings: COUNTRY_RANKINGS, arg_1: COUNTRY_RANKINGS) -> BOOLEAN.",
          "title": "Rankings equals"
        },
        {
          "const": "country_rankings.exists",
          "description": "Rankings exists. country_rankings.exists(rankings: COUNTRY_RANKINGS) -> BOOLEAN.",
          "title": "Rankings exists"
        },
        {
          "const": "country_rankings.freedom",
          "description": "Freedom. country_rankings.freedom(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Freedom"
        },
        {
          "const": "country_rankings.gdp",
          "description": "GDP. country_rankings.gdp(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "GDP"
        },
        {
          "const": "country_rankings.gdp_growth",
          "description": "GDP growth. country_rankings.gdp_growth(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "GDP growth"
        },
        {
          "const": "country_rankings.gdp_per_capita",
          "description": "GDP per capita. country_rankings.gdp_per_capita(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "GDP per capita"
        },
        {
          "const": "country_rankings.is_null",
          "description": "Rankings is null. country_rankings.is_null(rankings: COUNTRY_RANKINGS) -> BOOLEAN.",
          "title": "Rankings is null"
        },
        {
          "const": "country_rankings.military",
          "description": "Military. country_rankings.military(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Military"
        },
        {
          "const": "country_rankings.money",
          "description": "Money. country_rankings.money(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Money"
        },
        {
          "const": "country_rankings.not_equal",
          "description": "Rankings not equals (rankings != arg_1). country_rankings.not_equal(rankings: COUNTRY_RANKINGS, arg_1: COUNTRY_RANKINGS) -> BOOLEAN.",
          "title": "Rankings not equals"
        },
        {
          "const": "country_rankings.population",
          "description": "Population. country_rankings.population(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Population"
        },
        {
          "const": "country_rankings.population_growth",
          "description": "Population growth. country_rankings.population_growth(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Population growth"
        },
        {
          "const": "country_rankings.power",
          "description": "Power. country_rankings.power(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Power"
        },
        {
          "const": "country_rankings.progress",
          "description": "Progress. country_rankings.progress(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Progress"
        },
        {
          "const": "country_rankings.self_defense",
          "description": "Self defense. country_rankings.self_defense(rankings: COUNTRY_RANKINGS) -> COUNTRY_RANKING.",
          "title": "Self defense"
        },
        {
          "const": "rankings.area",
          "description": "Area. rankings.area(rankings: RANKINGS) -> RANKING.",
          "title": "Area"
        },
        {
          "const": "rankings.defense",
          "description": "Defense. rankings.defense(rankings: RANKINGS) -> RANKING.",
          "title": "Defense"
        },
        {
          "const": "rankings.diplomacy",
          "description": "Diplomacy. rankings.diplomacy(rankings: RANKINGS) -> RANKING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Diplomacy"
        },
        {
          "const": "rankings.freedom",
          "description": "Freedom. rankings.freedom(rankings: RANKINGS) -> RANKING.",
          "title": "Freedom"
        },
        {
          "const": "rankings.gdp",
          "description": "GDP. rankings.gdp(rankings: RANKINGS) -> RANKING.",
          "title": "GDP"
        },
        {
          "const": "rankings.gdp_growth",
          "description": "GDP growth. rankings.gdp_growth(rankings: RANKINGS) -> RANKING.",
          "title": "GDP growth"
        },
        {
          "const": "rankings.gdp_per_capita",
          "description": "GDP per capita. rankings.gdp_per_capita(rankings: RANKINGS) -> RANKING.",
          "title": "GDP per capita"
        },
        {
          "const": "rankings.military",
          "description": "Military. rankings.military(rankings: RANKINGS) -> RANKING.",
          "title": "Military"
        },
        {
          "const": "rankings.money",
          "description": "Money. rankings.money(rankings: RANKINGS) -> RANKING.",
          "title": "Money"
        },
        {
          "const": "rankings.population",
          "description": "Population. rankings.population(rankings: RANKINGS) -> RANKING.",
          "title": "Population"
        },
        {
          "const": "rankings.population_growth",
          "description": "Population growth. rankings.population_growth(rankings: RANKINGS) -> RANKING.",
          "title": "Population growth"
        },
        {
          "const": "rankings.power",
          "description": "Power. rankings.power(rankings: RANKINGS) -> RANKING.",
          "title": "Power"
        },
        {
          "const": "rankings.progress",
          "description": "Progress. rankings.progress(rankings: RANKINGS) -> RANKING.",
          "title": "Progress"
        },
        {
          "const": "rankings.self_defense",
          "description": "Self defense. rankings.self_defense(rankings: RANKINGS) -> RANKING.",
          "title": "Self defense"
        }
      ]
    },
    "methods.RANKING": {
      "title": "Ranking methods",
      "description": "Methods that read ranking values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "country_ranking.equal",
          "description": "Ranking equals (ranking == arg_1). country_ranking.equal(ranking: COUNTRY_RANKING, arg_1: COUNTRY_RANKING) -> BOOLEAN.",
          "title": "Ranking equals"
        },
        {
          "const": "country_ranking.exists",
          "description": "Country ranking exists. country_ranking.exists(ranking: COUNTRY_RANKING) -> BOOLEAN.",
          "title": "Country ranking exists"
        },
        {
          "const": "country_ranking.is_null",
          "description": "Country ranking is null. country_ranking.is_null(ranking: COUNTRY_RANKING) -> BOOLEAN.",
          "title": "Country ranking is null"
        },
        {
          "const": "country_ranking.not_equal",
          "description": "Ranking not equals (ranking != arg_1). country_ranking.not_equal(ranking: COUNTRY_RANKING, arg_1: COUNTRY_RANKING) -> BOOLEAN.",
          "title": "Ranking not equals"
        },
        {
          "const": "country_ranking.percent",
          "description": "Share. country_ranking.percent(ranking: COUNTRY_RANKING) -> NUMBER.",
          "title": "Share"
        },
        {
          "const": "country_ranking.rank",
          "description": "Rank. country_ranking.rank(ranking: COUNTRY_RANKING) -> NUMBER.",
          "title": "Rank"
        },
        {
          "const": "country_ranking.value",
          "description": "Value. country_ranking.value(ranking: COUNTRY_RANKING) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "ranking.aggregate",
          "description": "Aggregate. ranking.aggregate(ranking: RANKING) -> NUMBER.",
          "title": "Aggregate"
        },
        {
          "const": "ranking.count",
          "description": "Country count. ranking.count(ranking: RANKING) -> NUMBER.",
          "title": "Country count"
        },
        {
          "const": "ranking.country_at_rank",
          "description": "Country at rank. ranking.country_at_rank(ranking: RANKING, rank: NUMBER) -> COUNTRY.",
          "title": "Country at rank"
        },
        {
          "const": "ranking.equal",
          "description": "Ranking equals (ranking == arg_1). ranking.equal(ranking: RANKING, arg_1: RANKING) -> BOOLEAN.",
          "title": "Ranking equals"
        },
        {
          "const": "ranking.exists",
          "description": "Ranking exists. ranking.exists(ranking: RANKING) -> BOOLEAN.",
          "title": "Ranking exists"
        },
        {
          "const": "ranking.is_null",
          "description": "Ranking is null. ranking.is_null(ranking: RANKING) -> BOOLEAN.",
          "title": "Ranking is null"
        },
        {
          "const": "ranking.mean",
          "description": "Mean. ranking.mean(ranking: RANKING) -> NUMBER.",
          "title": "Mean"
        },
        {
          "const": "ranking.median",
          "description": "Median. ranking.median(ranking: RANKING) -> NUMBER.",
          "title": "Median"
        },
        {
          "const": "ranking.not_equal",
          "description": "Ranking not equals (ranking != arg_1). ranking.not_equal(ranking: RANKING, arg_1: RANKING) -> BOOLEAN.",
          "title": "Ranking not equals"
        },
        {
          "const": "ranking.percent",
          "description": "Country share. ranking.percent(ranking: RANKING, country: COUNTRY) -> NUMBER.",
          "title": "Country share"
        },
        {
          "const": "ranking.rank",
          "description": "Country rank. ranking.rank(ranking: RANKING, country: COUNTRY) -> NUMBER.",
          "title": "Country rank"
        },
        {
          "const": "ranking.top_country",
          "description": "Top country. ranking.top_country(ranking: RANKING) -> COUNTRY.",
          "title": "Top country"
        },
        {
          "const": "ranking.value",
          "description": "Country value. ranking.value(ranking: RANKING, country: COUNTRY) -> NUMBER.",
          "title": "Country value"
        }
      ]
    },
    "methods.COALITION": {
      "title": "Coalition methods",
      "description": "Methods that read coalition values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "coalition.countries",
          "description": "Countries. coalition.countries(coalition: COALITION) -> LIST of COUNTRY.",
          "title": "Countries"
        },
        {
          "const": "coalition.current_fortitude",
          "description": "Current fortitude. coalition.current_fortitude(coalition: COALITION) -> NUMBER.",
          "title": "Current fortitude"
        },
        {
          "const": "coalition.equal",
          "description": "Coalition equals (coalition == arg_1). coalition.equal(coalition: COALITION, arg_1: COALITION) -> BOOLEAN.",
          "title": "Coalition equals"
        },
        {
          "const": "coalition.exists",
          "description": "Coalition exists. coalition.exists(coalition: COALITION) -> BOOLEAN.",
          "title": "Coalition exists"
        },
        {
          "const": "coalition.fortitude",
          "description": "Fortitude. coalition.fortitude(coalition: COALITION) -> NUMBER.",
          "title": "Fortitude"
        },
        {
          "const": "coalition.gdp",
          "description": "GDP. coalition.gdp(coalition: COALITION) -> NUMBER.",
          "title": "GDP"
        },
        {
          "const": "coalition.is_null",
          "description": "Coalition is null. coalition.is_null(coalition: COALITION) -> BOOLEAN.",
          "title": "Coalition is null"
        },
        {
          "const": "coalition.leader",
          "description": "Leader. coalition.leader(coalition: COALITION) -> COUNTRY.",
          "title": "Leader"
        },
        {
          "const": "coalition.military_power",
          "description": "Military power. coalition.military_power(coalition: COALITION) -> NUMBER.",
          "title": "Military power"
        },
        {
          "const": "coalition.name",
          "description": "Name. coalition.name(coalition: COALITION) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "coalition.not_equal",
          "description": "Coalition not equals (coalition != arg_1). coalition.not_equal(coalition: COALITION, arg_1: COALITION) -> BOOLEAN.",
          "title": "Coalition not equals"
        },
        {
          "const": "coalition.percent",
          "description": "Share. coalition.percent(coalition: COALITION) -> NUMBER.",
          "title": "Share"
        },
        {
          "const": "coalition.player_gdp",
          "description": "GDP (players). coalition.player_gdp(coalition: COALITION) -> NUMBER.",
          "title": "GDP (players)"
        },
        {
          "const": "coalition.player_military_power",
          "description": "Military power (players). coalition.player_military_power(coalition: COALITION) -> NUMBER.",
          "title": "Military power (players)"
        },
        {
          "const": "coalition.player_population",
          "description": "Population (players). coalition.player_population(coalition: COALITION) -> NUMBER.",
          "title": "Population (players)"
        },
        {
          "const": "coalition.player_production",
          "description": "Production (players). coalition.player_production(coalition: COALITION) -> NUMBER.",
          "title": "Production (players)"
        },
        {
          "const": "coalition.population",
          "description": "Population. coalition.population(coalition: COALITION) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "coalition.production",
          "description": "Production. coalition.production(coalition: COALITION) -> NUMBER.",
          "title": "Production"
        },
        {
          "const": "coalition.progress",
          "description": "Progress. coalition.progress(coalition: COALITION) -> NUMBER.",
          "title": "Progress"
        },
        {
          "const": "coalition.rival",
          "description": "Rival. coalition.rival(coalition: COALITION) -> COALITION.",
          "title": "Rival"
        },
        {
          "const": "coalition.weight",
          "description": "Weight. coalition.weight(coalition: COALITION) -> NUMBER.",
          "title": "Weight"
        }
      ]
    },
    "methods.MAP": {
      "title": "Map methods",
      "description": "Methods that read map values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "map.battles",
          "description": "Battles. map.battles(map: MAP) -> LIST of BATTLE.",
          "title": "Battles"
        },
        {
          "const": "map.continents",
          "description": "Continents. map.continents(map: MAP) -> MAP_CONTINENTS.",
          "title": "Continents"
        },
        {
          "const": "map.continents.africa",
          "description": "Africa. map.continents.africa(map: MAP_CONTINENTS) -> LIST of COUNTRY.",
          "title": "Africa"
        },
        {
          "const": "map.continents.america",
          "description": "America. map.continents.america(map: MAP_CONTINENTS) -> LIST of COUNTRY.",
          "title": "America"
        },
        {
          "const": "map.continents.asia",
          "description": "Asia. map.continents.asia(map: MAP_CONTINENTS) -> LIST of COUNTRY.",
          "title": "Asia"
        },
        {
          "const": "map.continents.europe",
          "description": "Europe. map.continents.europe(map: MAP_CONTINENTS) -> LIST of COUNTRY.",
          "title": "Europe"
        },
        {
          "const": "map.continents.oceania",
          "description": "Oceania. map.continents.oceania(map: MAP_CONTINENTS) -> LIST of COUNTRY.",
          "title": "Oceania"
        },
        {
          "const": "map.hovered_country",
          "description": "Hovered country. map.hovered_country(map: MAP) -> COUNTRY. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Hovered country"
        },
        {
          "const": "map.invasions",
          "description": "Invasions. map.invasions(map: MAP) -> LIST of INVASION.",
          "title": "Invasions"
        },
        {
          "const": "map.point_economy",
          "description": "Economy. map.point_economy(map: MAP, x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Economy"
        },
        {
          "const": "map.point_loyalty",
          "description": "Loyalty. map.point_loyalty(map: MAP, x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Loyalty"
        },
        {
          "const": "map.point_owner",
          "description": "Owner. map.point_owner(map: MAP, x: NUMBER, y: NUMBER) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "map.point_population",
          "description": "Population. map.point_population(map: MAP, x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "map.regions",
          "description": "Regions. map.regions(map: MAP) -> MAP_REGIONS.",
          "title": "Regions"
        },
        {
          "const": "map.regions.east_asia__pacific",
          "description": "East Asia & Pacific. map.regions.east_asia__pacific(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "East Asia & Pacific"
        },
        {
          "const": "map.regions.europe__central_asia",
          "description": "Europe & Central Asia. map.regions.europe__central_asia(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "Europe & Central Asia"
        },
        {
          "const": "map.regions.latin_america__caribbean",
          "description": "Latin America & Caribbean. map.regions.latin_america__caribbean(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "Latin America & Caribbean"
        },
        {
          "const": "map.regions.middle_east__north_africa",
          "description": "Middle East & North Africa. map.regions.middle_east__north_africa(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "Middle East & North Africa"
        },
        {
          "const": "map.regions.south_asia",
          "description": "South Asia. map.regions.south_asia(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "South Asia"
        },
        {
          "const": "map.regions.subsaharan_africa",
          "description": "Sub-Saharan Africa. map.regions.subsaharan_africa(map: MAP_REGIONS) -> LIST of COUNTRY.",
          "title": "Sub-Saharan Africa"
        },
        {
          "const": "map.selected_country",
          "description": "Selected country. map.selected_country(map: MAP) -> COUNTRY. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Selected country"
        },
        {
          "const": "map.subregions",
          "description": "Subregions. map.subregions(map: MAP) -> MAP_SUBREGIONS.",
          "title": "Subregions"
        },
        {
          "const": "map.subregions.australia_and_new_zealand",
          "description": "Australia and New Zealand. map.subregions.australia_and_new_zealand(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Australia and New Zealand"
        },
        {
          "const": "map.subregions.caribbean",
          "description": "Caribbean. map.subregions.caribbean(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Caribbean"
        },
        {
          "const": "map.subregions.central_america",
          "description": "Central America. map.subregions.central_america(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Central America"
        },
        {
          "const": "map.subregions.central_asia",
          "description": "Central Asia. map.subregions.central_asia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Central Asia"
        },
        {
          "const": "map.subregions.eastern_africa",
          "description": "Eastern Africa. map.subregions.eastern_africa(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Eastern Africa"
        },
        {
          "const": "map.subregions.eastern_asia",
          "description": "Eastern Asia. map.subregions.eastern_asia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Eastern Asia"
        },
        {
          "const": "map.subregions.eastern_europe",
          "description": "Eastern Europe. map.subregions.eastern_europe(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Eastern Europe"
        },
        {
          "const": "map.subregions.melanesia",
          "description": "Melanesia. map.subregions.melanesia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Melanesia"
        },
        {
          "const": "map.subregions.micronesia",
          "description": "Micronesia. map.subregions.micronesia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Micronesia"
        },
        {
          "const": "map.subregions.middle_africa",
          "description": "Middle Africa. map.subregions.middle_africa(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Middle Africa"
        },
        {
          "const": "map.subregions.north_america",
          "description": "North America. map.subregions.north_america(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "North America"
        },
        {
          "const": "map.subregions.northern_africa",
          "description": "Northern Africa. map.subregions.northern_africa(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Northern Africa"
        },
        {
          "const": "map.subregions.northern_europe",
          "description": "Northern Europe. map.subregions.northern_europe(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Northern Europe"
        },
        {
          "const": "map.subregions.polynesia",
          "description": "Polynesia. map.subregions.polynesia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Polynesia"
        },
        {
          "const": "map.subregions.south_america",
          "description": "South America. map.subregions.south_america(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "South America"
        },
        {
          "const": "map.subregions.southeastern_asia",
          "description": "South-Eastern Asia. map.subregions.southeastern_asia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "South-Eastern Asia"
        },
        {
          "const": "map.subregions.southern_africa",
          "description": "Southern Africa. map.subregions.southern_africa(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Southern Africa"
        },
        {
          "const": "map.subregions.southern_asia",
          "description": "Southern Asia. map.subregions.southern_asia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Southern Asia"
        },
        {
          "const": "map.subregions.southern_europe",
          "description": "Southern Europe. map.subregions.southern_europe(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Southern Europe"
        },
        {
          "const": "map.subregions.western_africa",
          "description": "Western Africa. map.subregions.western_africa(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Western Africa"
        },
        {
          "const": "map.subregions.western_asia",
          "description": "Western Asia. map.subregions.western_asia(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Western Asia"
        },
        {
          "const": "map.subregions.western_europe",
          "description": "Western Europe. map.subregions.western_europe(map: MAP_SUBREGIONS) -> LIST of COUNTRY.",
          "title": "Western Europe"
        }
      ]
    },
    "methods.SQUAD": {
      "title": "Squad methods",
      "description": "Methods that read squad values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "squad.age",
          "description": "Age. squad.age(squad: SQUAD) -> NUMBER.",
          "title": "Age"
        },
        {
          "const": "squad.attack",
          "description": "Attack. squad.attack(squad: SQUAD) -> NUMBER.",
          "title": "Attack"
        },
        {
          "const": "squad.base_attack",
          "description": "Base attack. squad.base_attack(squad: SQUAD) -> NUMBER.",
          "title": "Base attack"
        },
        {
          "const": "squad.base_defense",
          "description": "Base defense. squad.base_defense(squad: SQUAD) -> NUMBER.",
          "title": "Base defense"
        },
        {
          "const": "squad.base_piercing",
          "description": "Base piercing. squad.base_piercing(squad: SQUAD) -> NUMBER.",
          "title": "Base piercing"
        },
        {
          "const": "squad.base_power",
          "description": "Base power. squad.base_power(squad: SQUAD) -> NUMBER.",
          "title": "Base power"
        },
        {
          "const": "squad.battle_outcome_against",
          "description": "Battle outcome against. squad.battle_outcome_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Battle outcome against"
        },
        {
          "const": "squad.battle_with",
          "description": "Battle with. squad.battle_with(squad: SQUAD, other_squad: SQUAD) -> BATTLE.",
          "title": "Battle with"
        },
        {
          "const": "squad.battles",
          "description": "Battles. squad.battles(squad: SQUAD) -> LIST of BATTLE.",
          "title": "Battles"
        },
        {
          "const": "squad.casualty_balance_against",
          "description": "Casualty balance against. squad.casualty_balance_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Casualty balance against"
        },
        {
          "const": "squad.combat_radius",
          "description": "Combat radius. squad.combat_radius(squad: SQUAD) -> NUMBER.",
          "title": "Combat radius"
        },
        {
          "const": "squad.combat_rate_against",
          "description": "Combat rate against. squad.combat_rate_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Combat rate against"
        },
        {
          "const": "squad.creation_day",
          "description": "Creation day. squad.creation_day(squad: SQUAD) -> NUMBER.",
          "title": "Creation day"
        },
        {
          "const": "squad.death_day",
          "description": "Death day. squad.death_day(squad: SQUAD) -> NUMBER.",
          "title": "Death day"
        },
        {
          "const": "squad.defense",
          "description": "Defense. squad.defense(squad: SQUAD) -> NUMBER.",
          "title": "Defense"
        },
        {
          "const": "squad.equal",
          "description": "Squad equals (squad == other_squad). squad.equal(squad: SQUAD, other_squad: SQUAD) -> BOOLEAN.",
          "title": "Squad equals"
        },
        {
          "const": "squad.estimated_battle_duration_against",
          "description": "Estimated battle duration against. squad.estimated_battle_duration_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Estimated battle duration against"
        },
        {
          "const": "squad.estimated_casualties_against",
          "description": "Estimated casualties against. squad.estimated_casualties_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Estimated casualties against"
        },
        {
          "const": "squad.estimated_casualty_percent_against",
          "description": "Estimated casualty percent against. squad.estimated_casualty_percent_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Estimated casualty percent against"
        },
        {
          "const": "squad.estimated_enemy_casualties_against",
          "description": "Estimated enemy casualties against. squad.estimated_enemy_casualties_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Estimated enemy casualties against"
        },
        {
          "const": "squad.estimated_enemy_casualty_percent_against",
          "description": "Estimated enemy casualty percent against. squad.estimated_enemy_casualty_percent_against(squad: SQUAD, other_squad: SQUAD) -> NUMBER.",
          "title": "Estimated enemy casualty percent against"
        },
        {
          "const": "squad.exists",
          "description": "Squad exists. squad.exists(squad: SQUAD) -> BOOLEAN.",
          "title": "Squad exists"
        },
        {
          "const": "squad.has_effect",
          "description": "Has effect. squad.has_effect(squad: SQUAD) -> BOOLEAN.",
          "title": "Has effect"
        },
        {
          "const": "squad.id",
          "description": "Id. squad.id(squad: SQUAD) -> NUMBER.",
          "title": "Id"
        },
        {
          "const": "squad.invasion",
          "description": "Current invasion. squad.invasion(squad: SQUAD) -> INVASION.",
          "title": "Current invasion"
        },
        {
          "const": "squad.is_alive",
          "description": "Is alive. squad.is_alive(squad: SQUAD) -> BOOLEAN.",
          "title": "Is alive"
        },
        {
          "const": "squad.is_battling",
          "description": "Is battling. squad.is_battling(squad: SQUAD) -> BOOLEAN.",
          "title": "Is battling"
        },
        {
          "const": "squad.is_controllable",
          "description": "Is controllable. squad.is_controllable(squad: SQUAD) -> BOOLEAN.",
          "title": "Is controllable"
        },
        {
          "const": "squad.is_in_country",
          "description": "Is in country. squad.is_in_country(squad: SQUAD, arg_1: COUNTRY) -> BOOLEAN.",
          "title": "Is in country"
        },
        {
          "const": "squad.is_invading",
          "description": "Is invading. squad.is_invading(squad: SQUAD) -> BOOLEAN.",
          "title": "Is invading"
        },
        {
          "const": "squad.is_militia",
          "description": "Is militia. squad.is_militia(squad: SQUAD) -> BOOLEAN.",
          "title": "Is militia"
        },
        {
          "const": "squad.is_moving",
          "description": "Is moving. squad.is_moving(squad: SQUAD) -> BOOLEAN.",
          "title": "Is moving"
        },
        {
          "const": "squad.is_null",
          "description": "Squad is null. squad.is_null(squad: SQUAD) -> BOOLEAN.",
          "title": "Squad is null"
        },
        {
          "const": "squad.is_reservist",
          "description": "Is reservist. squad.is_reservist(squad: SQUAD) -> BOOLEAN.",
          "title": "Is reservist"
        },
        {
          "const": "squad.location",
          "description": "Location. squad.location(squad: SQUAD) -> POINT.",
          "title": "Location"
        },
        {
          "const": "squad.location_country",
          "description": "Location country. squad.location_country(squad: SQUAD) -> COUNTRY.",
          "title": "Location country"
        },
        {
          "const": "squad.not_equal",
          "description": "Squad not equals (squad != other_squad). squad.not_equal(squad: SQUAD, other_squad: SQUAD) -> BOOLEAN.",
          "title": "Squad not equals"
        },
        {
          "const": "squad.owner",
          "description": "Owner. squad.owner(squad: SQUAD) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "squad.personnel",
          "description": "Personnel. squad.personnel(squad: SQUAD) -> NUMBER.",
          "title": "Personnel"
        },
        {
          "const": "squad.piercing",
          "description": "Piercing. squad.piercing(squad: SQUAD) -> NUMBER.",
          "title": "Piercing"
        },
        {
          "const": "squad.power",
          "description": "Power. squad.power(squad: SQUAD) -> NUMBER.",
          "title": "Power"
        },
        {
          "const": "squad.sees",
          "description": "Sees squad. squad.sees(squad: SQUAD, other_squad: SQUAD) -> BOOLEAN.",
          "title": "Sees squad"
        },
        {
          "const": "squad.speed",
          "description": "Speed. squad.speed(squad: SQUAD) -> NUMBER.",
          "title": "Speed"
        },
        {
          "const": "squad.task",
          "description": "Task. squad.task(squad: SQUAD) -> SQUAD_TASK.",
          "title": "Task"
        },
        {
          "const": "squad.troops",
          "description": "Troops. squad.troops(squad: SQUAD) -> NUMBER.",
          "title": "Troops"
        },
        {
          "const": "squad.type",
          "description": "Type. squad.type(squad: SQUAD) -> SQUAD_TYPE.",
          "title": "Type"
        },
        {
          "const": "squad.unit_attack",
          "description": "Attack. squad.unit_attack(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Attack"
        },
        {
          "const": "squad.unit_consumption",
          "description": "Unit consumption. squad.unit_consumption(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Unit consumption"
        },
        {
          "const": "squad.unit_cost",
          "description": "Cost. squad.unit_cost(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "squad.unit_defense",
          "description": "Defense. squad.unit_defense(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Defense"
        },
        {
          "const": "squad.unit_number",
          "description": "Number. squad.unit_number(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Number"
        },
        {
          "const": "squad.unit_personnel",
          "description": "Personnel. squad.unit_personnel(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Personnel"
        },
        {
          "const": "squad.unit_piercing",
          "description": "Piercing. squad.unit_piercing(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Piercing"
        },
        {
          "const": "squad.unit_power",
          "description": "Power. squad.unit_power(squad: SQUAD, unit: UNIT) -> NUMBER.",
          "title": "Power"
        },
        {
          "const": "squad.weight",
          "description": "Weight. squad.weight(squad: SQUAD) -> NUMBER.",
          "title": "Weight"
        },
        {
          "const": "squad.x",
          "description": "X. squad.x(squad: SQUAD) -> NUMBER.",
          "title": "X"
        },
        {
          "const": "squad.y",
          "description": "Y. squad.y(squad: SQUAD) -> NUMBER.",
          "title": "Y"
        },
        {
          "const": "squad_task.equal",
          "description": "Squad task equals (left == right). squad_task.equal(left: SQUAD_TASK, right: SQUAD_TASK) -> BOOLEAN.",
          "title": "Squad task equals"
        },
        {
          "const": "squad_task.exists",
          "description": "Squad task exists. squad_task.exists(value: SQUAD_TASK) -> BOOLEAN.",
          "title": "Squad task exists"
        },
        {
          "const": "squad_task.is_null",
          "description": "Squad task is null. squad_task.is_null(value: SQUAD_TASK) -> BOOLEAN.",
          "title": "Squad task is null"
        },
        {
          "const": "squad_task.not_equal",
          "description": "Squad task not equals (left != right). squad_task.not_equal(left: SQUAD_TASK, right: SQUAD_TASK) -> BOOLEAN.",
          "title": "Squad task not equals"
        },
        {
          "const": "squad_type.equal",
          "description": "Squad type equals (left == right). squad_type.equal(left: SQUAD_TYPE, right: SQUAD_TYPE) -> BOOLEAN.",
          "title": "Squad type equals"
        },
        {
          "const": "squad_type.exists",
          "description": "Squad type exists. squad_type.exists(value: SQUAD_TYPE) -> BOOLEAN.",
          "title": "Squad type exists"
        },
        {
          "const": "squad_type.is_null",
          "description": "Squad type is null. squad_type.is_null(value: SQUAD_TYPE) -> BOOLEAN.",
          "title": "Squad type is null"
        },
        {
          "const": "squad_type.not_equal",
          "description": "Squad type not equals (left != right). squad_type.not_equal(left: SQUAD_TYPE, right: SQUAD_TYPE) -> BOOLEAN.",
          "title": "Squad type not equals"
        }
      ]
    },
    "methods.POINT": {
      "title": "Point methods",
      "description": "Methods that read point values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "point.area",
          "description": "Area. point.area(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Area"
        },
        {
          "const": "point.area_at",
          "description": "Area. point.area_at(point: POINT) -> NUMBER.",
          "title": "Area"
        },
        {
          "const": "point.as_list",
          "description": "List. point.as_list(point: POINT) -> LIST of POINT.",
          "title": "List"
        },
        {
          "const": "point.claimer",
          "description": "Claimer. point.claimer(x: NUMBER, y: NUMBER) -> COUNTRY.",
          "title": "Claimer"
        },
        {
          "const": "point.claimer_at",
          "description": "Claimer. point.claimer_at(point: POINT) -> COUNTRY.",
          "title": "Claimer"
        },
        {
          "const": "point.distance_to",
          "description": "Distance to. point.distance_to(point: POINT, other_point: POINT) -> NUMBER.",
          "title": "Distance to"
        },
        {
          "const": "point.economy",
          "description": "Economy. point.economy(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Economy"
        },
        {
          "const": "point.economy_at",
          "description": "Economy. point.economy_at(point: POINT) -> NUMBER.",
          "title": "Economy"
        },
        {
          "const": "point.elevation",
          "description": "Elevation. point.elevation(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Elevation"
        },
        {
          "const": "point.elevation_at",
          "description": "Elevation. point.elevation_at(point: POINT) -> NUMBER.",
          "title": "Elevation"
        },
        {
          "const": "point.elevation_percent",
          "description": "Elevation percent. point.elevation_percent(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Elevation percent"
        },
        {
          "const": "point.elevation_percent_at",
          "description": "Elevation percent. point.elevation_percent_at(point: POINT) -> NUMBER.",
          "title": "Elevation percent"
        },
        {
          "const": "point.equal",
          "description": "Point equals (point == other_point). point.equal(point: POINT, other_point: POINT) -> BOOLEAN.",
          "title": "Point equals"
        },
        {
          "const": "point.exists",
          "description": "Point exists. point.exists(point: POINT) -> BOOLEAN.",
          "title": "Point exists"
        },
        {
          "const": "point.fertility",
          "description": "Fertility. point.fertility(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Fertility"
        },
        {
          "const": "point.fertility_at",
          "description": "Fertility. point.fertility_at(point: POINT) -> NUMBER.",
          "title": "Fertility"
        },
        {
          "const": "point.from_xy",
          "description": "Point. point.from_xy(x: NUMBER, y: NUMBER) -> POINT.",
          "title": "Point"
        },
        {
          "const": "point.homelander",
          "description": "Homelander. point.homelander(x: NUMBER, y: NUMBER) -> COUNTRY.",
          "title": "Homelander"
        },
        {
          "const": "point.homelander_at",
          "description": "Homelander. point.homelander_at(point: POINT) -> COUNTRY.",
          "title": "Homelander"
        },
        {
          "const": "point.is_null",
          "description": "Point is null. point.is_null(point: POINT) -> BOOLEAN.",
          "title": "Point is null"
        },
        {
          "const": "point.land_cover",
          "description": "Land cover. point.land_cover(x: NUMBER, y: NUMBER) -> LAND_COVER.",
          "title": "Land cover"
        },
        {
          "const": "point.land_cover_at",
          "description": "Land cover. point.land_cover_at(point: POINT) -> LAND_COVER.",
          "title": "Land cover"
        },
        {
          "const": "point.loyalty",
          "description": "Loyalty. point.loyalty(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Loyalty"
        },
        {
          "const": "point.loyalty_at",
          "description": "Loyalty. point.loyalty_at(point: POINT) -> NUMBER.",
          "title": "Loyalty"
        },
        {
          "const": "point.manhattan_distance_to",
          "description": "Grid distance to. point.manhattan_distance_to(point: POINT, other_point: POINT) -> NUMBER.",
          "title": "Grid distance to"
        },
        {
          "const": "point.not_equal",
          "description": "Point not equals (point != other_point). point.not_equal(point: POINT, other_point: POINT) -> BOOLEAN.",
          "title": "Point not equals"
        },
        {
          "const": "point.ocean",
          "description": "Ocean. point.ocean(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Ocean"
        },
        {
          "const": "point.ocean_at",
          "description": "Ocean. point.ocean_at(point: POINT) -> NUMBER.",
          "title": "Ocean"
        },
        {
          "const": "point.owner",
          "description": "Owner. point.owner(x: NUMBER, y: NUMBER) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "point.owner_at",
          "description": "Owner. point.owner_at(point: POINT) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "point.population",
          "description": "Population. point.population(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "point.population_at",
          "description": "Population. point.population_at(point: POINT) -> NUMBER.",
          "title": "Population"
        },
        {
          "const": "point.slope",
          "description": "Slope. point.slope(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Slope"
        },
        {
          "const": "point.slope_at",
          "description": "Slope. point.slope_at(point: POINT) -> NUMBER.",
          "title": "Slope"
        },
        {
          "const": "point.terrain",
          "description": "Terrain. point.terrain(x: NUMBER, y: NUMBER) -> NUMBER.",
          "title": "Terrain"
        },
        {
          "const": "point.terrain_at",
          "description": "Terrain. point.terrain_at(point: POINT) -> NUMBER.",
          "title": "Terrain"
        },
        {
          "const": "point.translate",
          "description": "Translate. point.translate(point: POINT, dx: NUMBER, dy: NUMBER) -> POINT.",
          "title": "Translate"
        },
        {
          "const": "point.x",
          "description": "X. point.x(point: POINT) -> NUMBER.",
          "title": "X"
        },
        {
          "const": "point.y",
          "description": "Y. point.y(point: POINT) -> NUMBER.",
          "title": "Y"
        }
      ]
    },
    "methods.LAND_COVER": {
      "title": "Land cover methods",
      "description": "Methods that read land cover values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "land_cover.area_effect_cost",
          "description": "Area effect cost. land_cover.area_effect_cost(land_cover: LAND_COVER) -> NUMBER.",
          "title": "Area effect cost"
        },
        {
          "const": "land_cover.code",
          "description": "Code. land_cover.code(land_cover: LAND_COVER) -> NUMBER.",
          "title": "Code"
        },
        {
          "const": "land_cover.equal",
          "description": "Land cover equals (land_cover == other_land_cover). land_cover.equal(land_cover: LAND_COVER, other_land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Land cover equals"
        },
        {
          "const": "land_cover.exists",
          "description": "Land cover exists. land_cover.exists(land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Land cover exists"
        },
        {
          "const": "land_cover.fertility",
          "description": "Fertility. land_cover.fertility(land_cover: LAND_COVER) -> NUMBER.",
          "title": "Fertility"
        },
        {
          "const": "land_cover.id",
          "description": "Id. land_cover.id(land_cover: LAND_COVER) -> STRING.",
          "title": "Id"
        },
        {
          "const": "land_cover.is_land",
          "description": "Is land. land_cover.is_land(land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Is land"
        },
        {
          "const": "land_cover.is_null",
          "description": "Land cover is null. land_cover.is_null(land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Land cover is null"
        },
        {
          "const": "land_cover.is_water",
          "description": "Is water. land_cover.is_water(land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Is water"
        },
        {
          "const": "land_cover.name",
          "description": "Name. land_cover.name(land_cover: LAND_COVER) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "land_cover.not_equal",
          "description": "Land cover not equals (land_cover != other_land_cover). land_cover.not_equal(land_cover: LAND_COVER, other_land_cover: LAND_COVER) -> BOOLEAN.",
          "title": "Land cover not equals"
        },
        {
          "const": "land_cover.travel_cost",
          "description": "Travel cost. land_cover.travel_cost(land_cover: LAND_COVER) -> NUMBER.",
          "title": "Travel cost"
        }
      ]
    },
    "methods.IDEOLOGY": {
      "title": "Ideology methods",
      "description": "Methods that read ideology values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "ideology.effect",
          "description": "Effect. ideology.effect(ideology: COUNTRY_IDEOLOGY) -> IDEOLOGY_EFFECT.",
          "title": "Effect"
        },
        {
          "const": "ideology.equal",
          "description": "Ideology equals (ideology == arg_1). ideology.equal(ideology: IDEOLOGY, arg_1: IDEOLOGY) -> BOOLEAN.",
          "title": "Ideology equals"
        },
        {
          "const": "ideology.exists",
          "description": "Ideology exists. ideology.exists(ideology: IDEOLOGY) -> BOOLEAN.",
          "title": "Ideology exists"
        },
        {
          "const": "ideology.freedom",
          "description": "Freedom. ideology.freedom(ideology: COUNTRY_IDEOLOGY) -> NUMBER.",
          "title": "Freedom"
        },
        {
          "const": "ideology.id",
          "description": "Id. ideology.id(ideology: COUNTRY_IDEOLOGY) -> STRING.",
          "title": "Id"
        },
        {
          "const": "ideology.is_active",
          "description": "Is active. ideology.is_active(ideology: COUNTRY_IDEOLOGY) -> BOOLEAN.",
          "title": "Is active"
        },
        {
          "const": "ideology.is_null",
          "description": "Ideology is null. ideology.is_null(ideology: IDEOLOGY) -> BOOLEAN.",
          "title": "Ideology is null"
        },
        {
          "const": "ideology.leaders",
          "description": "Leaders. ideology.leaders(ideology: COUNTRY_IDEOLOGY) -> LIST of LEADER.",
          "title": "Leaders"
        },
        {
          "const": "ideology.max_freedom",
          "description": "Max freedom. ideology.max_freedom(ideology: COUNTRY_IDEOLOGY) -> NUMBER.",
          "title": "Max freedom"
        },
        {
          "const": "ideology.name",
          "description": "Name. ideology.name(ideology: COUNTRY_IDEOLOGY) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "ideology.not_equal",
          "description": "Ideology not equals (ideology != arg_1). ideology.not_equal(ideology: IDEOLOGY, arg_1: IDEOLOGY) -> BOOLEAN.",
          "title": "Ideology not equals"
        },
        {
          "const": "ideology.owner",
          "description": "Owner. ideology.owner(ideology: COUNTRY_IDEOLOGY) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "ideology.perks",
          "description": "Perks. ideology.perks(ideology: COUNTRY_IDEOLOGY) -> LIST of IDEOLOGY_PERK.",
          "title": "Perks"
        },
        {
          "const": "ideology_effect.bonuses",
          "description": "Bonuses. ideology_effect.bonuses(effect: IDEOLOGY_EFFECT) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "ideology_effect.equal",
          "description": "Ideology effect equals (effect == arg_1). ideology_effect.equal(effect: IDEOLOGY_EFFECT, arg_1: IDEOLOGY_EFFECT) -> BOOLEAN.",
          "title": "Ideology effect equals"
        },
        {
          "const": "ideology_effect.exists",
          "description": "Ideology effect exists. ideology_effect.exists(effect: IDEOLOGY_EFFECT) -> BOOLEAN.",
          "title": "Ideology effect exists"
        },
        {
          "const": "ideology_effect.id",
          "description": "Id. ideology_effect.id(effect: IDEOLOGY_EFFECT) -> STRING.",
          "title": "Id"
        },
        {
          "const": "ideology_effect.is_null",
          "description": "Ideology effect is null. ideology_effect.is_null(effect: IDEOLOGY_EFFECT) -> BOOLEAN.",
          "title": "Ideology effect is null"
        },
        {
          "const": "ideology_effect.name",
          "description": "Name. ideology_effect.name(effect: IDEOLOGY_EFFECT) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "ideology_effect.not_equal",
          "description": "Ideology effect not equals (effect != arg_1). ideology_effect.not_equal(effect: IDEOLOGY_EFFECT, arg_1: IDEOLOGY_EFFECT) -> BOOLEAN.",
          "title": "Ideology effect not equals"
        },
        {
          "const": "ideology_effect.percent",
          "description": "Percent. ideology_effect.percent(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Percent"
        },
        {
          "const": "ideology_effect.progress",
          "description": "Progress. ideology_effect.progress(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Progress"
        },
        {
          "const": "ideology_effect.progress_percent",
          "description": "Progress percent. ideology_effect.progress_percent(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Progress percent"
        },
        {
          "const": "ideology_effect.source",
          "description": "Source. ideology_effect.source(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Source"
        },
        {
          "const": "ideology_effect.target",
          "description": "Target. ideology_effect.target(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Target"
        },
        {
          "const": "ideology_effect.time",
          "description": "Time. ideology_effect.time(effect: IDEOLOGY_EFFECT) -> NUMBER.",
          "title": "Time"
        },
        {
          "const": "ideology_perk.bonuses",
          "description": "Bonuses. ideology_perk.bonuses(perk: IDEOLOGY_PERK) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "ideology_perk.cost",
          "description": "Freedom cost. ideology_perk.cost(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Freedom cost"
        },
        {
          "const": "ideology_perk.equal",
          "description": "Ideology perk equals (perk == arg_1). ideology_perk.equal(perk: IDEOLOGY_PERK, arg_1: IDEOLOGY_PERK) -> BOOLEAN.",
          "title": "Ideology perk equals"
        },
        {
          "const": "ideology_perk.exists",
          "description": "Ideology perk exists. ideology_perk.exists(perk: IDEOLOGY_PERK) -> BOOLEAN.",
          "title": "Ideology perk exists"
        },
        {
          "const": "ideology_perk.id",
          "description": "Id. ideology_perk.id(perk: IDEOLOGY_PERK) -> STRING.",
          "title": "Id"
        },
        {
          "const": "ideology_perk.is_null",
          "description": "Ideology perk is null. ideology_perk.is_null(perk: IDEOLOGY_PERK) -> BOOLEAN.",
          "title": "Ideology perk is null"
        },
        {
          "const": "ideology_perk.max_cost",
          "description": "Max freedom cost. ideology_perk.max_cost(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Max freedom cost"
        },
        {
          "const": "ideology_perk.name",
          "description": "Name. ideology_perk.name(perk: IDEOLOGY_PERK) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "ideology_perk.not_equal",
          "description": "Ideology perk not equals (perk != arg_1). ideology_perk.not_equal(perk: IDEOLOGY_PERK, arg_1: IDEOLOGY_PERK) -> BOOLEAN.",
          "title": "Ideology perk not equals"
        },
        {
          "const": "ideology_perk.percent",
          "description": "Percent. ideology_perk.percent(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Percent"
        },
        {
          "const": "ideology_perk.progress",
          "description": "Progress. ideology_perk.progress(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Progress"
        },
        {
          "const": "ideology_perk.progress_percent",
          "description": "Progress percent. ideology_perk.progress_percent(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Progress percent"
        },
        {
          "const": "ideology_perk.source",
          "description": "Source. ideology_perk.source(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Source"
        },
        {
          "const": "ideology_perk.target",
          "description": "Target. ideology_perk.target(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Target"
        },
        {
          "const": "ideology_perk.time",
          "description": "Time. ideology_perk.time(perk: IDEOLOGY_PERK) -> NUMBER.",
          "title": "Time"
        }
      ]
    },
    "methods.LEADER": {
      "title": "Leader methods",
      "description": "Methods that read leader values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "leader.bonuses",
          "description": "Bonuses. leader.bonuses(leader: LEADER) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "leader.current_age",
          "description": "Current age. leader.current_age(leader: LEADER) -> NUMBER.",
          "title": "Current age"
        },
        {
          "const": "leader.current_experience",
          "description": "Current experience. leader.current_experience(leader: LEADER) -> NUMBER.",
          "title": "Current experience"
        },
        {
          "const": "leader.current_prime",
          "description": "Current potential. leader.current_prime(leader: LEADER) -> NUMBER.",
          "title": "Current potential"
        },
        {
          "const": "leader.current_skill",
          "description": "Current base skill. leader.current_skill(leader: LEADER) -> NUMBER.",
          "title": "Current base skill"
        },
        {
          "const": "leader.equal",
          "description": "Leader equals (leader == arg_1). leader.equal(leader: LEADER, arg_1: LEADER) -> BOOLEAN.",
          "title": "Leader equals"
        },
        {
          "const": "leader.exists",
          "description": "Leader exists. leader.exists(leader: LEADER) -> BOOLEAN.",
          "title": "Leader exists"
        },
        {
          "const": "leader.id",
          "description": "Id. leader.id(leader: LEADER) -> STRING.",
          "title": "Id"
        },
        {
          "const": "leader.is_active",
          "description": "Is active. leader.is_active(leader: LEADER) -> BOOLEAN.",
          "title": "Is active"
        },
        {
          "const": "leader.is_null",
          "description": "Leader is null. leader.is_null(leader: LEADER) -> BOOLEAN.",
          "title": "Leader is null"
        },
        {
          "const": "leader.max_percent",
          "description": "Potential skill. leader.max_percent(leader: LEADER) -> NUMBER.",
          "title": "Potential skill"
        },
        {
          "const": "leader.name",
          "description": "Name. leader.name(leader: LEADER) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "leader.next_age",
          "description": "Next age. leader.next_age(leader: LEADER) -> NUMBER.",
          "title": "Next age"
        },
        {
          "const": "leader.next_experience",
          "description": "Next experience. leader.next_experience(leader: LEADER) -> NUMBER.",
          "title": "Next experience"
        },
        {
          "const": "leader.next_prime",
          "description": "Next potential. leader.next_prime(leader: LEADER) -> NUMBER.",
          "title": "Next potential"
        },
        {
          "const": "leader.next_skill",
          "description": "Next base skill. leader.next_skill(leader: LEADER) -> NUMBER.",
          "title": "Next base skill"
        },
        {
          "const": "leader.not_equal",
          "description": "Leader not equals (leader != arg_1). leader.not_equal(leader: LEADER, arg_1: LEADER) -> BOOLEAN.",
          "title": "Leader not equals"
        },
        {
          "const": "leader.owner",
          "description": "Owner. leader.owner(leader: LEADER) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "leader.percent",
          "description": "Current skill. leader.percent(leader: LEADER) -> NUMBER.",
          "title": "Current skill"
        }
      ]
    },
    "methods.TECHNOLOGY": {
      "title": "Technology methods",
      "description": "Methods that read technology values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "tech_school.equal",
          "description": "Tech school equals (school == arg_1). tech_school.equal(school: TECH_SCHOOL, arg_1: TECH_SCHOOL) -> BOOLEAN.",
          "title": "Tech school equals"
        },
        {
          "const": "tech_school.exists",
          "description": "Tech school exists. tech_school.exists(school: TECH_SCHOOL) -> BOOLEAN.",
          "title": "Tech school exists"
        },
        {
          "const": "tech_school.is_null",
          "description": "Tech school is null. tech_school.is_null(school: TECH_SCHOOL) -> BOOLEAN.",
          "title": "Tech school is null"
        },
        {
          "const": "tech_school.not_equal",
          "description": "Tech school not equals (school != arg_1). tech_school.not_equal(school: TECH_SCHOOL, arg_1: TECH_SCHOOL) -> BOOLEAN.",
          "title": "Tech school not equals"
        },
        {
          "const": "technology.bonuses",
          "description": "Bonuses. technology.bonuses(technology: TECHNOLOGY) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "technology.can_reduce_cost",
          "description": "Cost can be reduced. technology.can_reduce_cost(technology: TECHNOLOGY) -> BOOLEAN.",
          "title": "Cost can be reduced"
        },
        {
          "const": "technology.cost",
          "description": "Cost. technology.cost(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "technology.description",
          "description": "Technology description. technology.description(technology: TECHNOLOGY) -> STRING.",
          "title": "Technology description"
        },
        {
          "const": "technology.equal",
          "description": "Technology equals (technology == arg_1). technology.equal(technology: TECHNOLOGY, arg_1: TECHNOLOGY) -> BOOLEAN.",
          "title": "Technology equals"
        },
        {
          "const": "technology.exists",
          "description": "Technology exists. technology.exists(technology: TECHNOLOGY) -> BOOLEAN.",
          "title": "Technology exists"
        },
        {
          "const": "technology.id",
          "description": "Technology id. technology.id(technology: TECHNOLOGY) -> STRING.",
          "title": "Technology id"
        },
        {
          "const": "technology.index",
          "description": "Index. technology.index(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Index"
        },
        {
          "const": "technology.is_excluded_for",
          "description": "Excluded for country. technology.is_excluded_for(technology: TECHNOLOGY, arg_1: COUNTRY) -> BOOLEAN.",
          "title": "Excluded for country"
        },
        {
          "const": "technology.is_null",
          "description": "Technology is null. technology.is_null(technology: TECHNOLOGY) -> BOOLEAN.",
          "title": "Technology is null"
        },
        {
          "const": "technology.name",
          "description": "Technology name. technology.name(technology: TECHNOLOGY) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Technology name"
        },
        {
          "const": "technology.node",
          "description": "Node. technology.node(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Node"
        },
        {
          "const": "technology.not_equal",
          "description": "Technology not equals (technology != arg_1). technology.not_equal(technology: TECHNOLOGY, arg_1: TECHNOLOGY) -> BOOLEAN.",
          "title": "Technology not equals"
        },
        {
          "const": "technology.prerequisite",
          "description": "Prerequisite. technology.prerequisite(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Prerequisite"
        },
        {
          "const": "technology.ranks",
          "description": "Ranks. technology.ranks(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Ranks"
        },
        {
          "const": "technology.school",
          "description": "School. technology.school(technology: TECHNOLOGY) -> TECH_SCHOOL.",
          "title": "School"
        },
        {
          "const": "technology.step",
          "description": "Step. technology.step(technology: TECHNOLOGY) -> NUMBER.",
          "title": "Step"
        }
      ]
    },
    "methods.RESEARCH": {
      "title": "Research methods",
      "description": "Methods that read research values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "research.base_time",
          "description": "Base time. research.base_time(research: RESEARCH) -> NUMBER.",
          "title": "Base time"
        },
        {
          "const": "research.bonuses",
          "description": "Bonuses. research.bonuses(research: RESEARCH) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "research.cost",
          "description": "Cost. research.cost(research: RESEARCH) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "research.description",
          "description": "Research description. research.description(research: RESEARCH) -> STRING.",
          "title": "Research description"
        },
        {
          "const": "research.equal",
          "description": "Research equals (research == arg_1). research.equal(research: RESEARCH, arg_1: RESEARCH) -> BOOLEAN.",
          "title": "Research equals"
        },
        {
          "const": "research.exists",
          "description": "Research exists. research.exists(research: RESEARCH) -> BOOLEAN.",
          "title": "Research exists"
        },
        {
          "const": "research.id",
          "description": "Research id. research.id(research: RESEARCH) -> STRING.",
          "title": "Research id"
        },
        {
          "const": "research.index",
          "description": "Index. research.index(research: RESEARCH) -> NUMBER.",
          "title": "Index"
        },
        {
          "const": "research.is_excluded_for",
          "description": "Excluded for country. research.is_excluded_for(research: RESEARCH, arg_1: COUNTRY) -> BOOLEAN.",
          "title": "Excluded for country"
        },
        {
          "const": "research.is_null",
          "description": "Research is null. research.is_null(research: RESEARCH) -> BOOLEAN.",
          "title": "Research is null"
        },
        {
          "const": "research.name",
          "description": "Research name. research.name(research: RESEARCH) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Research name"
        },
        {
          "const": "research.not_equal",
          "description": "Research not equals (research != arg_1). research.not_equal(research: RESEARCH, arg_1: RESEARCH) -> BOOLEAN.",
          "title": "Research not equals"
        },
        {
          "const": "research.prerequisite",
          "description": "Prerequisite. research.prerequisite(research: RESEARCH) -> NUMBER.",
          "title": "Prerequisite"
        },
        {
          "const": "research.school",
          "description": "School. research.school(research: RESEARCH) -> TECH_SCHOOL.",
          "title": "School"
        },
        {
          "const": "research.time",
          "description": "Time. research.time(research: RESEARCH) -> NUMBER.",
          "title": "Time"
        }
      ]
    },
    "methods.DATE": {
      "title": "Date methods",
      "description": "Methods that read date values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "date.after",
          "description": "After. date.after(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "After"
        },
        {
          "const": "date.before",
          "description": "Before. date.before(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "Before"
        },
        {
          "const": "date.between",
          "description": "Between. date.between(date: DATE, other_date: DATE, arg_2: DATE) -> BOOLEAN.",
          "title": "Between"
        },
        {
          "const": "date.day",
          "description": "Day. date.day(date: DATE) -> NUMBER.",
          "title": "Day"
        },
        {
          "const": "date.day_of_year",
          "description": "Day of year. date.day_of_year(date: DATE) -> NUMBER.",
          "title": "Day of year"
        },
        {
          "const": "date.days_until",
          "description": "Days until. date.days_until(date: DATE, other_date: DATE) -> NUMBER.",
          "title": "Days until"
        },
        {
          "const": "date.equal",
          "description": "Date equals (date == other_date). date.equal(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "Date equals"
        },
        {
          "const": "date.exists",
          "description": "Date exists. date.exists(date: DATE) -> BOOLEAN.",
          "title": "Date exists"
        },
        {
          "const": "date.format",
          "description": "Format. date.format(date: DATE) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Format"
        },
        {
          "const": "date.is_null",
          "description": "Date is null. date.is_null(date: DATE) -> BOOLEAN.",
          "title": "Date is null"
        },
        {
          "const": "date.month",
          "description": "Month. date.month(date: DATE) -> NUMBER.",
          "title": "Month"
        },
        {
          "const": "date.not_equal",
          "description": "Date not equals (date != other_date). date.not_equal(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "Date not equals"
        },
        {
          "const": "date.on_or_after",
          "description": "On or after. date.on_or_after(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "On or after"
        },
        {
          "const": "date.on_or_before",
          "description": "On or before. date.on_or_before(date: DATE, other_date: DATE) -> BOOLEAN.",
          "title": "On or before"
        },
        {
          "const": "date.plus_days",
          "description": "Plus days. date.plus_days(date: DATE, arg_1: NUMBER) -> DATE.",
          "title": "Plus days"
        },
        {
          "const": "date.within_days",
          "description": "Within days. date.within_days(date: DATE, other_date: DATE, days: NUMBER) -> BOOLEAN.",
          "title": "Within days"
        },
        {
          "const": "date.year",
          "description": "Year. date.year(date: DATE) -> NUMBER.",
          "title": "Year"
        }
      ]
    },
    "methods.AOE": {
      "title": "Area effect methods",
      "description": "Methods that read aoe values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "aoe.can_develop_for",
          "description": "Can develop for country. aoe.can_develop_for(aoe: AOE, country: COUNTRY, percent: NUMBER) -> BOOLEAN.",
          "title": "Can develop for country"
        },
        {
          "const": "aoe.description",
          "description": "Aoe description. aoe.description(aoe: AOE) -> STRING.",
          "title": "Aoe description"
        },
        {
          "const": "aoe.equal",
          "description": "Aoe equals (aoe == arg_1). aoe.equal(aoe: AOE, arg_1: AOE) -> BOOLEAN.",
          "title": "Aoe equals"
        },
        {
          "const": "aoe.exists",
          "description": "Aoe exists. aoe.exists(aoe: AOE) -> BOOLEAN.",
          "title": "Aoe exists"
        },
        {
          "const": "aoe.id",
          "description": "Aoe id. aoe.id(aoe: AOE) -> STRING.",
          "title": "Aoe id"
        },
        {
          "const": "aoe.is_excluded_for",
          "description": "Excluded for country. aoe.is_excluded_for(aoe: AOE, country: COUNTRY) -> BOOLEAN.",
          "title": "Excluded for country"
        },
        {
          "const": "aoe.is_null",
          "description": "Aoe is null. aoe.is_null(aoe: AOE) -> BOOLEAN.",
          "title": "Aoe is null"
        },
        {
          "const": "aoe.max_economy",
          "description": "Max economy effect. aoe.max_economy(aoe: AOE) -> NUMBER.",
          "title": "Max economy effect"
        },
        {
          "const": "aoe.max_morale",
          "description": "Max morale effect. aoe.max_morale(aoe: AOE) -> NUMBER.",
          "title": "Max morale effect"
        },
        {
          "const": "aoe.max_population",
          "description": "Max population effect. aoe.max_population(aoe: AOE) -> NUMBER.",
          "title": "Max population effect"
        },
        {
          "const": "aoe.max_radius",
          "description": "Max radius. aoe.max_radius(aoe: AOE) -> NUMBER.",
          "title": "Max radius"
        },
        {
          "const": "aoe.min_economy",
          "description": "Min economy effect. aoe.min_economy(aoe: AOE) -> NUMBER.",
          "title": "Min economy effect"
        },
        {
          "const": "aoe.min_morale",
          "description": "Min morale effect. aoe.min_morale(aoe: AOE) -> NUMBER.",
          "title": "Min morale effect"
        },
        {
          "const": "aoe.min_population",
          "description": "Min population effect. aoe.min_population(aoe: AOE) -> NUMBER.",
          "title": "Min population effect"
        },
        {
          "const": "aoe.min_radius",
          "description": "Min radius. aoe.min_radius(aoe: AOE) -> NUMBER.",
          "title": "Min radius"
        },
        {
          "const": "aoe.money_cost",
          "description": "Money cost. aoe.money_cost(aoe: AOE) -> NUMBER.",
          "title": "Money cost"
        },
        {
          "const": "aoe.name",
          "description": "Aoe name. aoe.name(aoe: AOE) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Aoe name"
        },
        {
          "const": "aoe.not_equal",
          "description": "Aoe not equals (aoe != arg_1). aoe.not_equal(aoe: AOE, arg_1: AOE) -> BOOLEAN.",
          "title": "Aoe not equals"
        },
        {
          "const": "aoe.prerequisite",
          "description": "Prerequisite. aoe.prerequisite(aoe: AOE) -> NUMBER.",
          "title": "Prerequisite"
        },
        {
          "const": "aoe.ranks",
          "description": "Ranks. aoe.ranks(aoe: AOE) -> NUMBER.",
          "title": "Ranks"
        },
        {
          "const": "aoe.required_for",
          "description": "Required for country. aoe.required_for(aoe: AOE, country: COUNTRY) -> NUMBER.",
          "title": "Required for country"
        },
        {
          "const": "aoe.research_cost",
          "description": "Cost. aoe.research_cost(aoe: AOE) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "aoe.school",
          "description": "School. aoe.school(aoe: AOE) -> TECH_SCHOOL.",
          "title": "School"
        },
        {
          "const": "aoe.step",
          "description": "Step. aoe.step(aoe: AOE) -> NUMBER.",
          "title": "Step"
        },
        {
          "const": "aoe.type",
          "description": "Type. aoe.type(aoe: AOE) -> AOE_TYPE.",
          "title": "Type"
        },
        {
          "const": "aoe_type.equal",
          "description": "Area effect type equals (area_effect_type == arg_1). aoe_type.equal(area_effect_type: AOE_TYPE, arg_1: AOE_TYPE) -> BOOLEAN.",
          "title": "Area effect type equals"
        },
        {
          "const": "aoe_type.exists",
          "description": "Area effect type exists. aoe_type.exists(area_effect_type: AOE_TYPE) -> BOOLEAN.",
          "title": "Area effect type exists"
        },
        {
          "const": "aoe_type.is_null",
          "description": "Area effect type is null. aoe_type.is_null(area_effect_type: AOE_TYPE) -> BOOLEAN.",
          "title": "Area effect type is null"
        },
        {
          "const": "aoe_type.not_equal",
          "description": "Area effect type not equals (area_effect_type != arg_1). aoe_type.not_equal(area_effect_type: AOE_TYPE, arg_1: AOE_TYPE) -> BOOLEAN.",
          "title": "Area effect type not equals"
        }
      ]
    },
    "methods.BONUS": {
      "title": "Bonus methods",
      "description": "Methods that read bonus values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "bonus.ammunition_shortage",
          "description": "Ammunition shortage. bonus.ammunition_shortage(bonus: BONUS) -> NUMBER.",
          "title": "Ammunition shortage"
        },
        {
          "const": "bonus.bonuses",
          "description": "Bonuses. bonus.bonuses(bonus: BONUS) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "bonus.buff",
          "description": "Bonus. bonus.buff(bonus: BONUS, bonus_type: BONUS_TYPE) -> BONUS_ENTRY.",
          "title": "Bonus"
        },
        {
          "const": "bonus.by_type",
          "description": "By type. bonus.by_type(bonus: BONUS, bonus_type: BONUS_TYPE) -> BONUS_ENTRY.",
          "title": "By type"
        },
        {
          "const": "bonus.combat_experience",
          "description": "Combat experience. bonus.combat_experience(bonus: BONUS) -> NUMBER.",
          "title": "Combat experience"
        },
        {
          "const": "bonus.effect_type_value",
          "description": "Effect type value. bonus.effect_type_value(bonus: BONUS, effect_type: CUSTOM_EFFECT) -> NUMBER.",
          "title": "Effect type value"
        },
        {
          "const": "bonus.effects",
          "description": "Effects. bonus.effects(bonus: BONUS) -> LIST of CUSTOM_EFFECT_INSTANCE.",
          "title": "Effects"
        },
        {
          "const": "bonus.equal",
          "description": "Bonus equals (bonus == arg_1). bonus.equal(bonus: BONUS, arg_1: BONUS) -> BOOLEAN.",
          "title": "Bonus equals"
        },
        {
          "const": "bonus.exists",
          "description": "Bonus exists. bonus.exists(bonus: BONUS) -> BOOLEAN.",
          "title": "Bonus exists"
        },
        {
          "const": "bonus.international_standing",
          "description": "International standing. bonus.international_standing(bonus: BONUS) -> NUMBER.",
          "title": "International standing"
        },
        {
          "const": "bonus.is_null",
          "description": "Bonus is null. bonus.is_null(bonus: BONUS) -> BOOLEAN.",
          "title": "Bonus is null"
        },
        {
          "const": "bonus.morale",
          "description": "Morale. bonus.morale(bonus: BONUS) -> NUMBER.",
          "title": "Morale"
        },
        {
          "const": "bonus.multiplier",
          "description": "Multiplier. bonus.multiplier(bonus: BONUS, bonus_type: BONUS_TYPE) -> NUMBER.",
          "title": "Multiplier"
        },
        {
          "const": "bonus.not_equal",
          "description": "Bonus not equals (bonus != arg_1). bonus.not_equal(bonus: BONUS, arg_1: BONUS) -> BOOLEAN.",
          "title": "Bonus not equals"
        },
        {
          "const": "bonus.owner",
          "description": "Owner. bonus.owner(bonus: BONUS) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "bonus.research",
          "description": "Research. bonus.research(bonus: BONUS, research: RESEARCH) -> COUNTRY_RESEARCH.",
          "title": "Research"
        },
        {
          "const": "bonus.research_current",
          "description": "Research current. bonus.research_current(bonus: BONUS) -> NUMBER.",
          "title": "Research current"
        },
        {
          "const": "bonus.research_progress",
          "description": "Research progress. bonus.research_progress(bonus: BONUS) -> NUMBER.",
          "title": "Research progress"
        },
        {
          "const": "bonus.research_total",
          "description": "Research total. bonus.research_total(bonus: BONUS) -> NUMBER.",
          "title": "Research total"
        },
        {
          "const": "bonus.researchs",
          "description": "Research. bonus.researchs(bonus: BONUS) -> LIST of COUNTRY_RESEARCH.",
          "title": "Research"
        },
        {
          "const": "bonus.technologies",
          "description": "Technologies. bonus.technologies(bonus: BONUS) -> LIST of COUNTRY_TECH.",
          "title": "Technologies"
        },
        {
          "const": "bonus.technology",
          "description": "Technology. bonus.technology(bonus: BONUS, technology: TECHNOLOGY) -> COUNTRY_TECH.",
          "title": "Technology"
        },
        {
          "const": "bonus.value",
          "description": "Value. bonus.value(bonus: BONUS, bonus_type: BONUS_TYPE) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "bonus_entry.base_value",
          "description": "Base value. bonus_entry.base_value(bonus: BONUS_ENTRY) -> NUMBER.",
          "title": "Base value"
        },
        {
          "const": "bonus_entry.equal",
          "description": "Bonus equals (bonus == arg_1). bonus_entry.equal(bonus: BONUS_ENTRY, arg_1: BONUS_ENTRY) -> BOOLEAN.",
          "title": "Bonus equals"
        },
        {
          "const": "bonus_entry.exists",
          "description": "Bonus exists. bonus_entry.exists(bonus: BONUS_ENTRY) -> BOOLEAN.",
          "title": "Bonus exists"
        },
        {
          "const": "bonus_entry.is_enabled",
          "description": "Enabled. bonus_entry.is_enabled(bonus: BONUS_ENTRY) -> BOOLEAN.",
          "title": "Enabled"
        },
        {
          "const": "bonus_entry.is_null",
          "description": "Bonus is null. bonus_entry.is_null(bonus: BONUS_ENTRY) -> BOOLEAN.",
          "title": "Bonus is null"
        },
        {
          "const": "bonus_entry.max_value",
          "description": "Max value. bonus_entry.max_value(bonus: BONUS_ENTRY) -> NUMBER.",
          "title": "Max value"
        },
        {
          "const": "bonus_entry.multiplier",
          "description": "Multiplier. bonus_entry.multiplier(bonus: BONUS_ENTRY) -> NUMBER.",
          "title": "Multiplier"
        },
        {
          "const": "bonus_entry.name",
          "description": "Name. bonus_entry.name(bonus: BONUS_ENTRY) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "bonus_entry.not_equal",
          "description": "Bonus not equals (bonus != arg_1). bonus_entry.not_equal(bonus: BONUS_ENTRY, arg_1: BONUS_ENTRY) -> BOOLEAN.",
          "title": "Bonus not equals"
        },
        {
          "const": "bonus_entry.owner",
          "description": "Owner. bonus_entry.owner(bonus: BONUS_ENTRY) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "bonus_entry.type",
          "description": "Type. bonus_entry.type(bonus: BONUS_ENTRY) -> BONUS_TYPE.",
          "title": "Type"
        },
        {
          "const": "bonus_entry.value",
          "description": "Value. bonus_entry.value(bonus: BONUS_ENTRY) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "bonus_type.equal",
          "description": "Bonus type equals (left == right). bonus_type.equal(left: BONUS_TYPE, right: BONUS_TYPE) -> BOOLEAN.",
          "title": "Bonus type equals"
        },
        {
          "const": "bonus_type.exists",
          "description": "Bonus type exists. bonus_type.exists(value: BONUS_TYPE) -> BOOLEAN.",
          "title": "Bonus type exists"
        },
        {
          "const": "bonus_type.is_null",
          "description": "Bonus type is null. bonus_type.is_null(value: BONUS_TYPE) -> BOOLEAN.",
          "title": "Bonus type is null"
        },
        {
          "const": "bonus_type.not_equal",
          "description": "Bonus type not equals (left != right). bonus_type.not_equal(left: BONUS_TYPE, right: BONUS_TYPE) -> BOOLEAN.",
          "title": "Bonus type not equals"
        },
        {
          "const": "effect.active",
          "description": "Active. effect.active(effect: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Active"
        },
        {
          "const": "effect.bidirectional",
          "description": "Bidirectional. effect.bidirectional(effect: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Bidirectional"
        },
        {
          "const": "effect.bonuses",
          "description": "Bonuses. effect.bonuses(effect: CUSTOM_EFFECT_INSTANCE) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "effect.current",
          "description": "Current. effect.current(effect: CUSTOM_EFFECT_INSTANCE) -> NUMBER.",
          "title": "Current"
        },
        {
          "const": "effect.equal",
          "description": "Effect equals (effect == arg_1). effect.equal(effect: CUSTOM_EFFECT_INSTANCE, arg_1: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Effect equals"
        },
        {
          "const": "effect.exists",
          "description": "Effect exists. effect.exists(effect: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Effect exists"
        },
        {
          "const": "effect.id",
          "description": "Id. effect.id(effect: CUSTOM_EFFECT_INSTANCE) -> STRING.",
          "title": "Id"
        },
        {
          "const": "effect.is_null",
          "description": "Effect is null. effect.is_null(effect: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Effect is null"
        },
        {
          "const": "effect.max",
          "description": "Max. effect.max(effect: CUSTOM_EFFECT_INSTANCE) -> NUMBER.",
          "title": "Max"
        },
        {
          "const": "effect.min",
          "description": "Min. effect.min(effect: CUSTOM_EFFECT_INSTANCE) -> NUMBER.",
          "title": "Min"
        },
        {
          "const": "effect.name",
          "description": "Name. effect.name(effect: CUSTOM_EFFECT_INSTANCE) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "effect.not_equal",
          "description": "Effect not equals (effect != arg_1). effect.not_equal(effect: CUSTOM_EFFECT_INSTANCE, arg_1: CUSTOM_EFFECT_INSTANCE) -> BOOLEAN.",
          "title": "Effect not equals"
        },
        {
          "const": "effect.owner",
          "description": "Owner. effect.owner(effect: CUSTOM_EFFECT_INSTANCE) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "effect.percent",
          "description": "Percent. effect.percent(effect: CUSTOM_EFFECT_INSTANCE) -> NUMBER.",
          "title": "Percent"
        },
        {
          "const": "effect.type",
          "description": "Type. effect.type(effect: CUSTOM_EFFECT_INSTANCE) -> CUSTOM_EFFECT.",
          "title": "Type"
        },
        {
          "const": "effect.value",
          "description": "Value. effect.value(effect: CUSTOM_EFFECT_INSTANCE) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "effect_type.description",
          "description": "Description. effect_type.description(effect_type: CUSTOM_EFFECT) -> STRING.",
          "title": "Description"
        },
        {
          "const": "effect_type.equal",
          "description": "Effect type equals (effect_type == arg_1). effect_type.equal(effect_type: CUSTOM_EFFECT, arg_1: CUSTOM_EFFECT) -> BOOLEAN.",
          "title": "Effect type equals"
        },
        {
          "const": "effect_type.exists",
          "description": "Effect type exists. effect_type.exists(effect_type: CUSTOM_EFFECT) -> BOOLEAN.",
          "title": "Effect type exists"
        },
        {
          "const": "effect_type.id",
          "description": "Id. effect_type.id(effect_type: CUSTOM_EFFECT) -> STRING.",
          "title": "Id"
        },
        {
          "const": "effect_type.is_null",
          "description": "Effect type is null. effect_type.is_null(effect_type: CUSTOM_EFFECT) -> BOOLEAN.",
          "title": "Effect type is null"
        },
        {
          "const": "effect_type.name",
          "description": "Name. effect_type.name(effect_type: CUSTOM_EFFECT) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "effect_type.not_equal",
          "description": "Effect type not equals (effect_type != arg_1). effect_type.not_equal(effect_type: CUSTOM_EFFECT, arg_1: CUSTOM_EFFECT) -> BOOLEAN.",
          "title": "Effect type not equals"
        }
      ]
    },
    "methods.TYPE_BONUS": {
      "title": "Bonus entry methods",
      "description": "Methods that read type bonus values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "country_bonus.equal",
          "description": "Bonus equals (bonus == arg_1). country_bonus.equal(bonus: COUNTRY_BONUS, arg_1: COUNTRY_BONUS) -> BOOLEAN.",
          "title": "Bonus equals"
        },
        {
          "const": "country_bonus.exists",
          "description": "Country bonus exists. country_bonus.exists(bonus: COUNTRY_BONUS) -> BOOLEAN.",
          "title": "Country bonus exists"
        },
        {
          "const": "country_bonus.is_enabled",
          "description": "Enabled. country_bonus.is_enabled(bonus: COUNTRY_BONUS) -> BOOLEAN.",
          "title": "Enabled"
        },
        {
          "const": "country_bonus.is_null",
          "description": "Country bonus is null. country_bonus.is_null(bonus: COUNTRY_BONUS) -> BOOLEAN.",
          "title": "Country bonus is null"
        },
        {
          "const": "country_bonus.max_value",
          "description": "Max value. country_bonus.max_value(bonus: COUNTRY_BONUS) -> NUMBER.",
          "title": "Max value"
        },
        {
          "const": "country_bonus.not_equal",
          "description": "Bonus not equals (bonus != arg_1). country_bonus.not_equal(bonus: COUNTRY_BONUS, arg_1: COUNTRY_BONUS) -> BOOLEAN.",
          "title": "Bonus not equals"
        },
        {
          "const": "country_bonus.type",
          "description": "Type. country_bonus.type(bonus: COUNTRY_BONUS) -> BONUS_TYPE.",
          "title": "Type"
        },
        {
          "const": "country_bonus.value",
          "description": "Value. country_bonus.value(bonus: COUNTRY_BONUS) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "ideology_bonus.base_value",
          "description": "Base value. ideology_bonus.base_value(bonus: IDEOLOGY_BONUS) -> NUMBER.",
          "title": "Base value"
        },
        {
          "const": "ideology_bonus.equal",
          "description": "Ideology bonus equals (bonus == arg_1). ideology_bonus.equal(bonus: IDEOLOGY_BONUS, arg_1: IDEOLOGY_BONUS) -> BOOLEAN.",
          "title": "Ideology bonus equals"
        },
        {
          "const": "ideology_bonus.exists",
          "description": "Ideology bonus exists. ideology_bonus.exists(bonus: IDEOLOGY_BONUS) -> BOOLEAN.",
          "title": "Ideology bonus exists"
        },
        {
          "const": "ideology_bonus.is_enabled",
          "description": "Enabled. ideology_bonus.is_enabled(bonus: IDEOLOGY_BONUS) -> BOOLEAN.",
          "title": "Enabled"
        },
        {
          "const": "ideology_bonus.is_null",
          "description": "Ideology bonus is null. ideology_bonus.is_null(bonus: IDEOLOGY_BONUS) -> BOOLEAN.",
          "title": "Ideology bonus is null"
        },
        {
          "const": "ideology_bonus.max_value",
          "description": "Max value. ideology_bonus.max_value(bonus: IDEOLOGY_BONUS) -> NUMBER.",
          "title": "Max value"
        },
        {
          "const": "ideology_bonus.not_equal",
          "description": "Ideology bonus not equals (bonus != arg_1). ideology_bonus.not_equal(bonus: IDEOLOGY_BONUS, arg_1: IDEOLOGY_BONUS) -> BOOLEAN.",
          "title": "Ideology bonus not equals"
        },
        {
          "const": "ideology_bonus.type",
          "description": "Type. ideology_bonus.type(bonus: IDEOLOGY_BONUS) -> BONUS_TYPE.",
          "title": "Type"
        },
        {
          "const": "ideology_bonus.value",
          "description": "Value. ideology_bonus.value(bonus: IDEOLOGY_BONUS) -> NUMBER.",
          "title": "Value"
        },
        {
          "const": "type_bonus.equal",
          "description": "Bonus entry equals (bonus == arg_1). type_bonus.equal(bonus: TYPE_BONUS, arg_1: TYPE_BONUS) -> BOOLEAN.",
          "title": "Bonus entry equals"
        },
        {
          "const": "type_bonus.exists",
          "description": "Bonus entry exists. type_bonus.exists(bonus: TYPE_BONUS) -> BOOLEAN.",
          "title": "Bonus entry exists"
        },
        {
          "const": "type_bonus.is_null",
          "description": "Bonus entry is null. type_bonus.is_null(bonus: TYPE_BONUS) -> BOOLEAN.",
          "title": "Bonus entry is null"
        },
        {
          "const": "type_bonus.max_value",
          "description": "Max value. type_bonus.max_value(bonus: TYPE_BONUS) -> NUMBER.",
          "title": "Max value"
        },
        {
          "const": "type_bonus.not_equal",
          "description": "Bonus entry not equals (bonus != arg_1). type_bonus.not_equal(bonus: TYPE_BONUS, arg_1: TYPE_BONUS) -> BOOLEAN.",
          "title": "Bonus entry not equals"
        },
        {
          "const": "type_bonus.type",
          "description": "Type. type_bonus.type(bonus: TYPE_BONUS) -> BONUS_TYPE.",
          "title": "Type"
        },
        {
          "const": "type_bonus.value_at",
          "description": "Value at percent. type_bonus.value_at(bonus: TYPE_BONUS, percent: NUMBER) -> NUMBER.",
          "title": "Value at percent"
        }
      ]
    },
    "methods.UNIT": {
      "title": "Unit methods",
      "description": "Methods that read unit values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "unit.description",
          "description": "Unit description. unit.description(unit: UNIT) -> STRING.",
          "title": "Unit description"
        },
        {
          "const": "unit.equal",
          "description": "Unit equals (unit == arg_1). unit.equal(unit: UNIT, arg_1: UNIT) -> BOOLEAN.",
          "title": "Unit equals"
        },
        {
          "const": "unit.exists",
          "description": "Unit exists. unit.exists(unit: UNIT) -> BOOLEAN.",
          "title": "Unit exists"
        },
        {
          "const": "unit.id",
          "description": "Unit id. unit.id(unit: UNIT) -> STRING.",
          "title": "Unit id"
        },
        {
          "const": "unit.is_null",
          "description": "Unit is null. unit.is_null(unit: UNIT) -> BOOLEAN.",
          "title": "Unit is null"
        },
        {
          "const": "unit.name",
          "description": "Unit name. unit.name(unit: UNIT) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Unit name"
        },
        {
          "const": "unit.not_equal",
          "description": "Unit not equals (unit != arg_1). unit.not_equal(unit: UNIT, arg_1: UNIT) -> BOOLEAN.",
          "title": "Unit not equals"
        }
      ]
    },
    "methods.COUNTRY_TECH": {
      "title": "Country tech methods",
      "description": "Methods that read country tech values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "country_tech.bonuses",
          "description": "Bonuses. country_tech.bonuses(country_tech: COUNTRY_TECH) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "country_tech.cost",
          "description": "Cost. country_tech.cost(country_tech: COUNTRY_TECH) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "country_tech.equal",
          "description": "Technology equals (country_tech == arg_1). country_tech.equal(country_tech: COUNTRY_TECH, arg_1: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Technology equals"
        },
        {
          "const": "country_tech.exists",
          "description": "Country tech exists. country_tech.exists(country_tech: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Country tech exists"
        },
        {
          "const": "country_tech.id",
          "description": "Id. country_tech.id(country_tech: COUNTRY_TECH) -> STRING. Use it to compare technologies; country_tech.name returns the translated display name instead.",
          "title": "Id"
        },
        {
          "const": "country_tech.is_available",
          "description": "Available. country_tech.is_available(country_tech: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Available"
        },
        {
          "const": "country_tech.is_completed",
          "description": "Completed. country_tech.is_completed(country_tech: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Completed"
        },
        {
          "const": "country_tech.is_null",
          "description": "Country tech is null. country_tech.is_null(country_tech: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Country tech is null"
        },
        {
          "const": "country_tech.name",
          "description": "Name. country_tech.name(country_tech: COUNTRY_TECH) -> STRING. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Name"
        },
        {
          "const": "country_tech.next_rank_cost",
          "description": "Next rank cost. country_tech.next_rank_cost(country_tech: COUNTRY_TECH) -> NUMBER.",
          "title": "Next rank cost"
        },
        {
          "const": "country_tech.node_percent",
          "description": "Node percent. country_tech.node_percent(country_tech: COUNTRY_TECH) -> NUMBER.",
          "title": "Node percent"
        },
        {
          "const": "country_tech.not_equal",
          "description": "Technology not equals (country_tech != arg_1). country_tech.not_equal(country_tech: COUNTRY_TECH, arg_1: COUNTRY_TECH) -> BOOLEAN.",
          "title": "Technology not equals"
        },
        {
          "const": "country_tech.owner",
          "description": "Owner. country_tech.owner(country_tech: COUNTRY_TECH) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "country_tech.percent",
          "description": "Percent. country_tech.percent(country_tech: COUNTRY_TECH) -> NUMBER.",
          "title": "Percent"
        },
        {
          "const": "country_tech.required",
          "description": "Required research. country_tech.required(country_tech: COUNTRY_TECH) -> NUMBER.",
          "title": "Required research"
        },
        {
          "const": "country_tech.technology",
          "description": "Technology. country_tech.technology(country_tech: COUNTRY_TECH) -> TECHNOLOGY.",
          "title": "Technology"
        }
      ]
    },
    "methods.COUNTRY_RESEARCH": {
      "title": "Country research methods",
      "description": "Methods that read country research values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "country_research.bonuses",
          "description": "Bonuses. country_research.bonuses(country_research: COUNTRY_RESEARCH) -> LIST of BONUS_ENTRY.",
          "title": "Bonuses"
        },
        {
          "const": "country_research.cost",
          "description": "Cost. country_research.cost(country_research: COUNTRY_RESEARCH) -> NUMBER.",
          "title": "Cost"
        },
        {
          "const": "country_research.effective_percent",
          "description": "Effective percent. country_research.effective_percent(country_research: COUNTRY_RESEARCH) -> NUMBER.",
          "title": "Effective percent"
        },
        {
          "const": "country_research.equal",
          "description": "Research equals (country_research == arg_1). country_research.equal(country_research: COUNTRY_RESEARCH, arg_1: COUNTRY_RESEARCH) -> BOOLEAN.",
          "title": "Research equals"
        },
        {
          "const": "country_research.exists",
          "description": "Country research exists. country_research.exists(country_research: COUNTRY_RESEARCH) -> BOOLEAN.",
          "title": "Country research exists"
        },
        {
          "const": "country_research.is_available",
          "description": "Available. country_research.is_available(country_research: COUNTRY_RESEARCH) -> BOOLEAN.",
          "title": "Available"
        },
        {
          "const": "country_research.is_null",
          "description": "Country research is null. country_research.is_null(country_research: COUNTRY_RESEARCH) -> BOOLEAN.",
          "title": "Country research is null"
        },
        {
          "const": "country_research.not_equal",
          "description": "Research not equals (country_research != arg_1). country_research.not_equal(country_research: COUNTRY_RESEARCH, arg_1: COUNTRY_RESEARCH) -> BOOLEAN.",
          "title": "Research not equals"
        },
        {
          "const": "country_research.owner",
          "description": "Owner. country_research.owner(country_research: COUNTRY_RESEARCH) -> COUNTRY.",
          "title": "Owner"
        },
        {
          "const": "country_research.percent",
          "description": "Percent. country_research.percent(country_research: COUNTRY_RESEARCH) -> NUMBER.",
          "title": "Percent"
        },
        {
          "const": "country_research.required",
          "description": "Required. country_research.required(country_research: COUNTRY_RESEARCH) -> NUMBER.",
          "title": "Required"
        },
        {
          "const": "country_research.research",
          "description": "Research. country_research.research(country_research: COUNTRY_RESEARCH) -> RESEARCH.",
          "title": "Research"
        }
      ]
    },
    "methods.BATTLE": {
      "title": "Battle methods",
      "description": "Methods that read battle values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "battle.casualty_balance",
          "description": "Casualty balance. battle.casualty_balance(battle: BATTLE) -> NUMBER.",
          "title": "Casualty balance"
        },
        {
          "const": "battle.country1",
          "description": "Country 1. battle.country1(battle: BATTLE) -> COUNTRY.",
          "title": "Country 1"
        },
        {
          "const": "battle.country2",
          "description": "Country 2. battle.country2(battle: BATTLE) -> COUNTRY.",
          "title": "Country 2"
        },
        {
          "const": "battle.duration",
          "description": "Duration. battle.duration(battle: BATTLE) -> NUMBER.",
          "title": "Duration"
        },
        {
          "const": "battle.equal",
          "description": "Battle equals (battle == arg_1). battle.equal(battle: BATTLE, arg_1: BATTLE) -> BOOLEAN.",
          "title": "Battle equals"
        },
        {
          "const": "battle.estimated_duration",
          "description": "Estimated duration. battle.estimated_duration(battle: BATTLE) -> NUMBER.",
          "title": "Estimated duration"
        },
        {
          "const": "battle.exists",
          "description": "Battle exists. battle.exists(battle: BATTLE) -> BOOLEAN.",
          "title": "Battle exists"
        },
        {
          "const": "battle.finish_date",
          "description": "Finish date. battle.finish_date(battle: BATTLE) -> DATE.",
          "title": "Finish date"
        },
        {
          "const": "battle.finish_day",
          "description": "Finish day. battle.finish_day(battle: BATTLE) -> NUMBER.",
          "title": "Finish day"
        },
        {
          "const": "battle.has_country",
          "description": "Has country. battle.has_country(battle: BATTLE, country: COUNTRY) -> BOOLEAN.",
          "title": "Has country"
        },
        {
          "const": "battle.has_ended",
          "description": "Has ended. battle.has_ended(battle: BATTLE) -> BOOLEAN.",
          "title": "Has ended"
        },
        {
          "const": "battle.has_squad",
          "description": "Has squad. battle.has_squad(battle: BATTLE, squad: SQUAD) -> BOOLEAN.",
          "title": "Has squad"
        },
        {
          "const": "battle.home_advantage_side",
          "description": "Home advantage side. battle.home_advantage_side(battle: BATTLE) -> NUMBER.",
          "title": "Home advantage side"
        },
        {
          "const": "battle.is_null",
          "description": "Battle is null. battle.is_null(battle: BATTLE) -> BOOLEAN.",
          "title": "Battle is null"
        },
        {
          "const": "battle.location",
          "description": "Location. battle.location(battle: BATTLE) -> POINT.",
          "title": "Location"
        },
        {
          "const": "battle.luck",
          "description": "Luck. battle.luck(battle: BATTLE) -> NUMBER.",
          "title": "Luck"
        },
        {
          "const": "battle.not_equal",
          "description": "Battle not equals (battle != arg_1). battle.not_equal(battle: BATTLE, arg_1: BATTLE) -> BOOLEAN.",
          "title": "Battle not equals"
        },
        {
          "const": "battle.outcome",
          "description": "Outcome. battle.outcome(battle: BATTLE) -> NUMBER.",
          "title": "Outcome"
        },
        {
          "const": "battle.side1_attack",
          "description": "Side 1 attack. battle.side1_attack(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 attack"
        },
        {
          "const": "battle.side1_casualties",
          "description": "Side 1 casualties. battle.side1_casualties(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 casualties"
        },
        {
          "const": "battle.side1_casualty_percent",
          "description": "Side 1 casualty percent. battle.side1_casualty_percent(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 casualty percent"
        },
        {
          "const": "battle.side1_combat_rate",
          "description": "Side 1 combat rate. battle.side1_combat_rate(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 combat rate"
        },
        {
          "const": "battle.side1_defense",
          "description": "Side 1 defense. battle.side1_defense(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 defense"
        },
        {
          "const": "battle.side1_estimated_casualty_percent",
          "description": "Side 1 estimated casualty percent. battle.side1_estimated_casualty_percent(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 estimated casualty percent"
        },
        {
          "const": "battle.side1_home_advantage",
          "description": "Side 1 home advantage. battle.side1_home_advantage(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 home advantage"
        },
        {
          "const": "battle.side1_piercing",
          "description": "Side 1 piercing. battle.side1_piercing(battle: BATTLE) -> NUMBER.",
          "title": "Side 1 piercing"
        },
        {
          "const": "battle.side2_attack",
          "description": "Side 2 attack. battle.side2_attack(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 attack"
        },
        {
          "const": "battle.side2_casualties",
          "description": "Side 2 casualties. battle.side2_casualties(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 casualties"
        },
        {
          "const": "battle.side2_casualty_percent",
          "description": "Side 2 casualty percent. battle.side2_casualty_percent(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 casualty percent"
        },
        {
          "const": "battle.side2_combat_rate",
          "description": "Side 2 combat rate. battle.side2_combat_rate(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 combat rate"
        },
        {
          "const": "battle.side2_defense",
          "description": "Side 2 defense. battle.side2_defense(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 defense"
        },
        {
          "const": "battle.side2_estimated_casualty_percent",
          "description": "Side 2 estimated casualty percent. battle.side2_estimated_casualty_percent(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 estimated casualty percent"
        },
        {
          "const": "battle.side2_home_advantage",
          "description": "Side 2 home advantage. battle.side2_home_advantage(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 home advantage"
        },
        {
          "const": "battle.side2_piercing",
          "description": "Side 2 piercing. battle.side2_piercing(battle: BATTLE) -> NUMBER.",
          "title": "Side 2 piercing"
        },
        {
          "const": "battle.speed",
          "description": "Speed. battle.speed(battle: BATTLE) -> NUMBER.",
          "title": "Speed"
        },
        {
          "const": "battle.squad1",
          "description": "Squad 1. battle.squad1(battle: BATTLE) -> SQUAD.",
          "title": "Squad 1"
        },
        {
          "const": "battle.squad2",
          "description": "Squad 2. battle.squad2(battle: BATTLE) -> SQUAD.",
          "title": "Squad 2"
        },
        {
          "const": "battle.start_date",
          "description": "Start date. battle.start_date(battle: BATTLE) -> DATE.",
          "title": "Start date"
        },
        {
          "const": "battle.terrain",
          "description": "Terrain. battle.terrain(battle: BATTLE) -> NUMBER.",
          "title": "Terrain"
        },
        {
          "const": "battle.total_power",
          "description": "Total power. battle.total_power(battle: BATTLE) -> NUMBER.",
          "title": "Total power"
        },
        {
          "const": "battle.total_troops",
          "description": "Total troops. battle.total_troops(battle: BATTLE) -> NUMBER.",
          "title": "Total troops"
        },
        {
          "const": "battle.x",
          "description": "X. battle.x(battle: BATTLE) -> NUMBER.",
          "title": "X"
        },
        {
          "const": "battle.y",
          "description": "Y. battle.y(battle: BATTLE) -> NUMBER.",
          "title": "Y"
        }
      ]
    },
    "methods.INVASION": {
      "title": "Invasion methods",
      "description": "Methods that read invasion values. Pass the object as the first argument.",
      "anyOf": [
        {
          "const": "invasion.attacker",
          "description": "Attacker. invasion.attacker(invasion: INVASION) -> COUNTRY.",
          "title": "Attacker"
        },
        {
          "const": "invasion.clear",
          "description": "Clear. invasion.clear(invasion: INVASION) -> NUMBER.",
          "title": "Clear"
        },
        {
          "const": "invasion.conquests",
          "description": "Conquests. invasion.conquests(invasion: INVASION) -> NUMBER.",
          "title": "Conquests"
        },
        {
          "const": "invasion.defender",
          "description": "Defender. invasion.defender(invasion: INVASION) -> COUNTRY.",
          "title": "Defender"
        },
        {
          "const": "invasion.equal",
          "description": "Invasion equals (invasion == arg_1). invasion.equal(invasion: INVASION, arg_1: INVASION) -> BOOLEAN.",
          "title": "Invasion equals"
        },
        {
          "const": "invasion.exists",
          "description": "Invasion exists. invasion.exists(invasion: INVASION) -> BOOLEAN.",
          "title": "Invasion exists"
        },
        {
          "const": "invasion.is_finished",
          "description": "Is finished. invasion.is_finished(invasion: INVASION) -> BOOLEAN.",
          "title": "Is finished"
        },
        {
          "const": "invasion.is_null",
          "description": "Invasion is null. invasion.is_null(invasion: INVASION) -> BOOLEAN.",
          "title": "Invasion is null"
        },
        {
          "const": "invasion.is_paused",
          "description": "Is paused. invasion.is_paused(invasion: INVASION) -> BOOLEAN.",
          "title": "Is paused"
        },
        {
          "const": "invasion.is_started",
          "description": "Is started. invasion.is_started(invasion: INVASION) -> BOOLEAN.",
          "title": "Is started"
        },
        {
          "const": "invasion.last_conquest_percent",
          "description": "Last conquest percent. invasion.last_conquest_percent(invasion: INVASION) -> NUMBER.",
          "title": "Last conquest percent"
        },
        {
          "const": "invasion.last_conquests",
          "description": "Last conquests. invasion.last_conquests(invasion: INVASION) -> NUMBER.",
          "title": "Last conquests"
        },
        {
          "const": "invasion.loot",
          "description": "Loot. invasion.loot(invasion: INVASION) -> NUMBER.",
          "title": "Loot"
        },
        {
          "const": "invasion.node_count",
          "description": "Active nodes. invasion.node_count(invasion: INVASION) -> NUMBER.",
          "title": "Active nodes"
        },
        {
          "const": "invasion.not_equal",
          "description": "Invasion not equals (invasion != arg_1). invasion.not_equal(invasion: INVASION, arg_1: INVASION) -> BOOLEAN.",
          "title": "Invasion not equals"
        },
        {
          "const": "invasion.origin",
          "description": "Origin. invasion.origin(invasion: INVASION) -> POINT.",
          "title": "Origin"
        },
        {
          "const": "invasion.origin_x",
          "description": "Origin x. invasion.origin_x(invasion: INVASION) -> NUMBER.",
          "title": "Origin x"
        },
        {
          "const": "invasion.origin_y",
          "description": "Origin y. invasion.origin_y(invasion: INVASION) -> NUMBER.",
          "title": "Origin y"
        },
        {
          "const": "invasion.remaining_invasion",
          "description": "Remaining invasion. invasion.remaining_invasion(invasion: INVASION) -> NUMBER.",
          "title": "Remaining invasion"
        },
        {
          "const": "invasion.remaining_resistance",
          "description": "Remaining resistance. invasion.remaining_resistance(invasion: INVASION) -> NUMBER.",
          "title": "Remaining resistance"
        },
        {
          "const": "invasion.squad",
          "description": "Squad. invasion.squad(invasion: INVASION) -> SQUAD.",
          "title": "Squad"
        }
      ]
    },
    "methods.LIST": {
      "title": "List methods",
      "description": "List helpers: size, items, sorting and searching (list.*).",
      "anyOf": [
        {
          "const": "list.average_numbers",
          "description": "Average numbers. list.average_numbers(list: LIST of NUMBER) -> NUMBER.",
          "title": "Average numbers"
        },
        {
          "const": "list.contains_boolean",
          "description": "Contains boolean. list.contains_boolean(list: LIST of BOOLEAN, boolean: BOOLEAN) -> BOOLEAN.",
          "title": "Contains boolean"
        },
        {
          "const": "list.contains_country",
          "description": "Contains country. list.contains_country(list: LIST of COUNTRY, country: COUNTRY) -> BOOLEAN.",
          "title": "Contains country"
        },
        {
          "const": "list.contains_number",
          "description": "Contains number. list.contains_number(list: LIST of NUMBER, number: NUMBER) -> BOOLEAN.",
          "title": "Contains number"
        },
        {
          "const": "list.contains_point",
          "description": "Contains point. list.contains_point(list: LIST of POINT, point: POINT) -> BOOLEAN.",
          "title": "Contains point"
        },
        {
          "const": "list.contains_squad",
          "description": "Contains squad. list.contains_squad(list: LIST of SQUAD, squad: SQUAD) -> BOOLEAN.",
          "title": "Contains squad"
        },
        {
          "const": "list.contains_text",
          "description": "Contains text. list.contains_text(list: LIST of STRING, text: STRING) -> BOOLEAN.",
          "title": "Contains text"
        },
        {
          "const": "list.count",
          "description": "Count. list.count(list: LIST) -> NUMBER.",
          "title": "Count"
        },
        {
          "const": "list.country_gdp_average",
          "description": "Country gdp average. list.country_gdp_average(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country gdp average"
        },
        {
          "const": "list.country_gdp_max",
          "description": "Country gdp max. list.country_gdp_max(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country gdp max"
        },
        {
          "const": "list.country_gdp_min",
          "description": "Country gdp min. list.country_gdp_min(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country gdp min"
        },
        {
          "const": "list.country_gdp_sum",
          "description": "Country gdp sum. list.country_gdp_sum(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country gdp sum"
        },
        {
          "const": "list.country_military_power_average",
          "description": "Country military power average. list.country_military_power_average(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country military power average"
        },
        {
          "const": "list.country_military_power_max",
          "description": "Country military power max. list.country_military_power_max(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country military power max"
        },
        {
          "const": "list.country_military_power_min",
          "description": "Country military power min. list.country_military_power_min(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country military power min"
        },
        {
          "const": "list.country_military_power_sum",
          "description": "Country military power sum. list.country_military_power_sum(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country military power sum"
        },
        {
          "const": "list.country_population_average",
          "description": "Country population average. list.country_population_average(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country population average"
        },
        {
          "const": "list.country_population_max",
          "description": "Country population max. list.country_population_max(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country population max"
        },
        {
          "const": "list.country_population_min",
          "description": "Country population min. list.country_population_min(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country population min"
        },
        {
          "const": "list.country_population_sum",
          "description": "Country population sum. list.country_population_sum(list: LIST of COUNTRY) -> NUMBER.",
          "title": "Country population sum"
        },
        {
          "const": "list.first_boolean",
          "description": "First boolean. list.first_boolean(list: LIST of BOOLEAN) -> BOOLEAN.",
          "title": "First boolean"
        },
        {
          "const": "list.first_country",
          "description": "First country. list.first_country(list: LIST of COUNTRY) -> COUNTRY.",
          "title": "First country"
        },
        {
          "const": "list.first_number",
          "description": "First number. list.first_number(list: LIST of NUMBER) -> NUMBER.",
          "title": "First number"
        },
        {
          "const": "list.first_point",
          "description": "First point. list.first_point(list: LIST of POINT) -> POINT.",
          "title": "First point"
        },
        {
          "const": "list.first_squad",
          "description": "First squad. list.first_squad(list: LIST of SQUAD) -> SQUAD.",
          "title": "First squad"
        },
        {
          "const": "list.first_text",
          "description": "First text. list.first_text(list: LIST of STRING) -> STRING.",
          "title": "First text"
        },
        {
          "const": "list.is_empty",
          "description": "Is empty. list.is_empty(list: LIST) -> BOOLEAN.",
          "title": "Is empty"
        },
        {
          "const": "list.is_not_empty",
          "description": "List has items. list.is_not_empty(list: LIST) -> BOOLEAN.",
          "title": "List has items"
        },
        {
          "const": "list.max_number",
          "description": "Maximum number. list.max_number(list: LIST of NUMBER) -> NUMBER.",
          "title": "Maximum number"
        },
        {
          "const": "list.min_number",
          "description": "Minimum number. list.min_number(list: LIST of NUMBER) -> NUMBER.",
          "title": "Minimum number"
        },
        {
          "const": "list.size",
          "description": "Size. list.size(list: LIST) -> NUMBER.",
          "title": "Size"
        },
        {
          "const": "list.squad_power_average",
          "description": "Squad power average. list.squad_power_average(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad power average"
        },
        {
          "const": "list.squad_power_max",
          "description": "Squad power max. list.squad_power_max(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad power max"
        },
        {
          "const": "list.squad_power_min",
          "description": "Squad power min. list.squad_power_min(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad power min"
        },
        {
          "const": "list.squad_power_sum",
          "description": "Squad power sum. list.squad_power_sum(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad power sum"
        },
        {
          "const": "list.squad_troops_average",
          "description": "Squad troops average. list.squad_troops_average(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad troops average"
        },
        {
          "const": "list.squad_troops_max",
          "description": "Squad troops max. list.squad_troops_max(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad troops max"
        },
        {
          "const": "list.squad_troops_min",
          "description": "Squad troops min. list.squad_troops_min(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad troops min"
        },
        {
          "const": "list.squad_troops_sum",
          "description": "Squad troops sum. list.squad_troops_sum(list: LIST of SQUAD) -> NUMBER.",
          "title": "Squad troops sum"
        },
        {
          "const": "list.sum_numbers",
          "description": "Sum numbers. list.sum_numbers(list: LIST of NUMBER) -> NUMBER.",
          "title": "Sum numbers"
        }
      ]
    },
    "methods.GAME": {
      "title": "Game methods",
      "description": "Game-wide data: the running game, the world economy and the scenario (game.*, economy.*).",
      "anyOf": [
        {
          "const": "economy.base_growth",
          "description": "Base growth. economy.base_growth(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Base growth"
        },
        {
          "const": "economy.base_growth_rate",
          "description": "Base growth rate. economy.base_growth_rate(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Base growth rate"
        },
        {
          "const": "economy.base_growth_step",
          "description": "Base growth step. economy.base_growth_step(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Base growth step"
        },
        {
          "const": "economy.days_to_target_base_growth",
          "description": "Days to target base growth. economy.days_to_target_base_growth(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Days to target base growth"
        },
        {
          "const": "economy.equal",
          "description": "World economy equals (economy == arg_1). economy.equal(economy: WORLD_ECONOMY, arg_1: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "World economy equals"
        },
        {
          "const": "economy.exists",
          "description": "World economy exists. economy.exists(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "World economy exists"
        },
        {
          "const": "economy.in_recession",
          "description": "In recession. economy.in_recession(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "In recession"
        },
        {
          "const": "economy.inflation",
          "description": "Inflation. economy.inflation(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Inflation"
        },
        {
          "const": "economy.is_null",
          "description": "World economy is null. economy.is_null(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "World economy is null"
        },
        {
          "const": "economy.mean_target_base_growth",
          "description": "Mean target base growth. economy.mean_target_base_growth(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Mean target base growth"
        },
        {
          "const": "economy.money_inflation",
          "description": "Money inflation. economy.money_inflation(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Money inflation"
        },
        {
          "const": "economy.not_equal",
          "description": "World economy not equals (economy != arg_1). economy.not_equal(economy: WORLD_ECONOMY, arg_1: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "World economy not equals"
        },
        {
          "const": "economy.population_inflation",
          "description": "Population inflation. economy.population_inflation(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Population inflation"
        },
        {
          "const": "economy.recovering",
          "description": "Recovering. economy.recovering(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "Recovering"
        },
        {
          "const": "economy.target_base_growth",
          "description": "Target base growth. economy.target_base_growth(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Target base growth"
        },
        {
          "const": "economy.target_base_growth_day",
          "description": "Target base growth day. economy.target_base_growth_day(economy: WORLD_ECONOMY) -> NUMBER.",
          "title": "Target base growth day"
        },
        {
          "const": "economy.target_in_recession",
          "description": "Target in recession. economy.target_in_recession(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "Target in recession"
        },
        {
          "const": "economy.worsening",
          "description": "Worsening. economy.worsening(economy: WORLD_ECONOMY) -> BOOLEAN.",
          "title": "Worsening"
        },
        {
          "const": "game",
          "description": "Game. game() -> GAME.",
          "title": "Game"
        },
        {
          "const": "game.coalitions",
          "description": "Coalitions. game.coalitions(game: GAME) -> LIST of COALITION.",
          "title": "Coalitions"
        },
        {
          "const": "game.date",
          "description": "Date. game.date(game: GAME) -> DATE.",
          "title": "Date"
        },
        {
          "const": "game.day",
          "description": "Day. game.day(game: GAME) -> NUMBER.",
          "title": "Day"
        },
        {
          "const": "game.delta",
          "description": "Delta. game.delta(game: GAME) -> NUMBER.",
          "title": "Delta"
        },
        {
          "const": "game.economy",
          "description": "World economy. game.economy(game: GAME) -> WORLD_ECONOMY.",
          "title": "World economy"
        },
        {
          "const": "game.goal_target_percent",
          "description": "Goal target percent. game.goal_target_percent(game: GAME) -> NUMBER.",
          "title": "Goal target percent"
        },
        {
          "const": "game.goal_type",
          "description": "Goal type. game.goal_type(game: GAME) -> GOAL_TYPE.",
          "title": "Goal type"
        },
        {
          "const": "game.pace",
          "description": "Pace. game.pace(game: GAME) -> NUMBER. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Pace"
        },
        {
          "const": "game.paused",
          "description": "Paused. game.paused(game: GAME) -> BOOLEAN. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Paused"
        },
        {
          "const": "game.speed",
          "description": "Speed. game.speed(game: GAME) -> NUMBER. Client-local: the result can differ between players, so use it only for displays (messages, HUD, overlays), never for rules that change the game in multiplayer.",
          "title": "Speed"
        }
      ]
    },
    "methodId": {
      "title": "Expression method",
      "description": "Built-in methods that read game data, compare and combine values. Each has a fixed signature, shown in its description: the name and type of each argument, in order, and the type of the result. Methods that read from an object take that object as their first argument, so a chain is written as nested CALL values: the inner call produces the object that the outer call reads from.",
      "anyOf": [
        {
          "$ref": "#/$defs/methods.FUNCTION"
        },
        {
          "$ref": "#/$defs/methods.MATH"
        },
        {
          "$ref": "#/$defs/methods.TEXT"
        },
        {
          "$ref": "#/$defs/methods.COLOR"
        },
        {
          "$ref": "#/$defs/methods.RNG"
        },
        {
          "$ref": "#/$defs/methods.REGISTRY"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY_CLAIMS"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY_AI"
        },
        {
          "$ref": "#/$defs/methods.BUDGET"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY_CALCULATIONS"
        },
        {
          "$ref": "#/$defs/methods.RANKINGS"
        },
        {
          "$ref": "#/$defs/methods.RANKING"
        },
        {
          "$ref": "#/$defs/methods.COALITION"
        },
        {
          "$ref": "#/$defs/methods.MAP"
        },
        {
          "$ref": "#/$defs/methods.SQUAD"
        },
        {
          "$ref": "#/$defs/methods.POINT"
        },
        {
          "$ref": "#/$defs/methods.LAND_COVER"
        },
        {
          "$ref": "#/$defs/methods.IDEOLOGY"
        },
        {
          "$ref": "#/$defs/methods.LEADER"
        },
        {
          "$ref": "#/$defs/methods.TECHNOLOGY"
        },
        {
          "$ref": "#/$defs/methods.RESEARCH"
        },
        {
          "$ref": "#/$defs/methods.DATE"
        },
        {
          "$ref": "#/$defs/methods.AOE"
        },
        {
          "$ref": "#/$defs/methods.BONUS"
        },
        {
          "$ref": "#/$defs/methods.TYPE_BONUS"
        },
        {
          "$ref": "#/$defs/methods.UNIT"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY_TECH"
        },
        {
          "$ref": "#/$defs/methods.COUNTRY_RESEARCH"
        },
        {
          "$ref": "#/$defs/methods.BATTLE"
        },
        {
          "$ref": "#/$defs/methods.INVASION"
        },
        {
          "$ref": "#/$defs/methods.LIST"
        },
        {
          "$ref": "#/$defs/methods.GAME"
        }
      ]
    },
    "jsonObject": {
      "type": "object",
      "description": "A JSON object."
    },
    "textTemplate": {
      "type": "string",
      "title": "Text with placeholders",
      "description": "Text shown to players: messages, map labels, HUD text and similar fields.\n\nPlaceholders are replaced when the action runs: ${var.NAME} for a local variable, ${shared.NAME} for a shared variable, ${param.NAME} for a trigger parameter and ${game.day} for the game day. A placeholder may continue with properties of the object it reads (for example ${param.country.name}), but arithmetic is not evaluated inside ${...}: compute the value first with SET_VARIABLE and insert the variable. ${expr:PAYLOAD} embeds an encoded expression; the editor produces it.\n\nLocalized text: instead of plain text, store a JSON language map serialized in the string, such as {\"en\":\"Ready\",\"es\":\"Listo\"}. Players see their language, or English when it is missing, so always include en. Remember to escape the inner quotes.\n\nLabels, messages and widgets keep the text from when the action ran; run the action again to refresh it.",
      "examples": ["Day ${game.day}", "${var.leader} leads the world.", "{\"en\":\"Ready\",\"es\":\"Listo\"}"]
    },
    "localizedText": {
      "type": "object",
      "description": "Text in several languages, keyed by language code. Include en: it is used when the player's language is missing.",
      "properties": {
        "en": {
          "type": "string"
        }
      },
      "additionalProperties": {
        "type": "string"
      },
      "examples": [
        {
          "en": "Readiness",
          "es": "Preparación"
        }
      ]
    },
    "motionTimeline": {
      "type": "object",
      "title": "Animation timeline",
      "description": "Keyframe animation for map overlays and HUD elements. Each track animates one property over normalized time from 0 to 1; duration says how many seconds that takes. Playback uses the player's screen time, keeps going while the game is paused and is not synchronized between players. At most 65536 characters of JSON.\n\nRunning the same action again with the same timeline keeps the animation playing; a changed timeline (or motionKey) restarts it. The editor's Animation button offers presets, which are ordinary timelines; examples lists them in this order: fadeIn, fadeOut, popIn, riseFade, pulse, ripple, bounce, spin, float, sway, shake, orbit, flash.",
      "properties": {
        "duration": {
          "type": "number",
          "minimum": 0.001,
          "maximum": 86400,
          "default": 1,
          "description": "Seconds for one pass from time 0 to 1."
        },
        "delay": {
          "type": "number",
          "minimum": 0,
          "maximum": 86400,
          "default": 0,
          "description": "Seconds hidden before playback starts."
        },
        "speed": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "default": 1,
          "description": "Playback speed multiplier. 0 holds the current phase."
        },
        "phase": {
          "type": "number",
          "minimum": 0,
          "maximum": 1,
          "default": 0,
          "description": "Starting position in the timeline, from 0 to 1."
        },
        "loop": {
          "default": "repeat",
          "oneOf": [
            {
              "const": "repeat",
              "description": "Start again from 0 after reaching 1."
            },
            {
              "const": "pingPong",
              "description": "Play forward, then backward, each taking duration."
            },
            {
              "const": "once",
              "description": "Play one time and stop at the end."
            }
          ]
        },
        "clock": {
          "default": "local",
          "oneOf": [
            {
              "const": "local",
              "description": "Starts when the action runs. Use it for effects triggered by events."
            },
            {
              "const": "ui",
              "description": "Follows a clock shared by every overlay and widget, so repeating effects with the same duration stay in step. Restarts are ignored."
            }
          ]
        },
        "end": {
          "default": "hold",
          "oneOf": [
            {
              "const": "hold",
              "description": "Keep the last frame after a once animation ends."
            },
            {
              "const": "hide",
              "description": "Hide the overlay after a once animation ends."
            }
          ]
        },
        "pivotX": {
          "type": "number",
          "minimum": -10,
          "maximum": 10,
          "default": 0.5,
          "description": "Horizontal center for scaling and rotation, as a fraction of the overlay's bounds (0 = left, 1 = right). Points, text and circles use their own anchors."
        },
        "pivotY": {
          "type": "number",
          "minimum": -10,
          "maximum": 10,
          "default": 0.5,
          "description": "Vertical center for scaling and rotation, as a fraction of the overlay's bounds (0 = bottom, 1 = top)."
        },
        "tracks": {
          "type": "object",
          "description": "Animated properties. Properties without a track keep their normal value; tracks that do not apply to an overlay are ignored.",
          "properties": {
            "scale": {
              "$ref": "#/$defs/numberTrack",
              "description": "Size multiplier; circles scale around their own centers. Neutral value 1."
            },
            "scaleX": {
              "$ref": "#/$defs/numberTrack",
              "description": "Additional size multiplier along one axis, combined with scale. Neutral value 1."
            },
            "scaleY": {
              "$ref": "#/$defs/numberTrack",
              "description": "Additional size multiplier along one axis, combined with scale. Neutral value 1."
            },
            "rotation": {
              "$ref": "#/$defs/numberTrack",
              "description": "Degrees added to the rotation, counterclockwise. Neutral value 0."
            },
            "offsetX": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset in map cells along the map axis. Neutral value 0."
            },
            "offsetY": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset in map cells along the map axis. Neutral value 0."
            },
            "screenX": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset in screen pixels, positive right/up. Neutral value 0."
            },
            "screenY": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset in screen pixels, positive right/up. Neutral value 0."
            },
            "opacity": {
              "$ref": "#/$defs/numberTrack",
              "description": "Opacity of the whole overlay, including text backgrounds and shadows, from 0 to 1. Neutral value 1."
            },
            "fillOpacity": {
              "$ref": "#/$defs/numberTrack",
              "description": "Opacity of fills and of point/text glyphs, from 0 to 1. Neutral value 1."
            },
            "outlineOpacity": {
              "$ref": "#/$defs/numberTrack",
              "description": "Opacity of outlines, from 0 to 1. Neutral value 1."
            },
            "width": {
              "$ref": "#/$defs/numberTrack",
              "description": "Stroke width multiplier for paths and outlines. Neutral value 1."
            },
            "color": {
              "$ref": "#/$defs/colorTrack",
              "description": "Color replacing the overlay's base color."
            },
            "fillColor": {
              "$ref": "#/$defs/colorTrack",
              "description": "Fill and glyph color, overriding color."
            },
            "outlineColor": {
              "$ref": "#/$defs/colorTrack",
              "description": "Outline color, overriding color."
            },
            "textureX": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset added to a textured polygon's texture. Neutral value 0."
            },
            "textureY": {
              "$ref": "#/$defs/numberTrack",
              "description": "Offset added to a textured polygon's texture. Neutral value 0."
            },
            "textureRotation": {
              "$ref": "#/$defs/numberTrack",
              "description": "Degrees added to a textured polygon's texture rotation. Neutral value 0."
            },
            "textureScale": {
              "$ref": "#/$defs/numberTrack",
              "description": "Multiplier of a textured polygon's texture scale. Neutral value 1."
            },
            "outlineTravel": {
              "deprecated": true,
              "description": "Removed effect. Ignored when loading older animations."
            },
            "outlineLength": {
              "deprecated": true,
              "description": "Removed effect. Ignored when loading older animations."
            },
            "outlineBrightness": {
              "deprecated": true,
              "description": "Removed effect. Ignored when loading older animations."
            }
          },
          "additionalProperties": false
        }
      },
      "required": ["tracks"],
      "additionalProperties": false,
      "examples": [
        {
          "duration": 0.6,
          "loop": "once",
          "tracks": {
            "opacity": [[0, 0, "smooth"], [1, 1]]
          }
        },
        {
          "duration": 0.6,
          "loop": "once",
          "end": "hide",
          "tracks": {
            "opacity": [[0, 1, "smooth"], [1, 0]]
          }
        },
        {
          "duration": 0.45,
          "loop": "once",
          "tracks": {
            "scale": [[0, 0, "backOut"], [1, 1]],
            "opacity": [[0, 0], [0.3, 1], [1, 1]]
          }
        },
        {
          "duration": 1,
          "loop": "once",
          "end": "hide",
          "tracks": {
            "scale": [[0, 0.6, "backOut"], [0.3, 1], [0.75, 1, "easeIn"], [1, 1.25]],
            "screenY": [[0, -26, "cubicOut"], [0.3, 0], [0.75, 0, "easeIn"], [1, 44]],
            "opacity": [[0, 0], [0.12, 1], [0.75, 1], [1, 0]]
          }
        },
        {
          "duration": 1,
          "loop": "repeat",
          "tracks": {
            "scale": [[0, 1, "smooth"], [0.5, 1.15, "smooth"], [1, 1]]
          }
        },
        {
          "duration": 1.4,
          "loop": "repeat",
          "tracks": {
            "scale": [[0, 0.25, "easeOut"], [1, 2.5]],
            "opacity": [[0, 0], [0.08, 1], [1, 0]],
            "width": [[0, 1.5], [1, 0.5]]
          }
        },
        {
          "duration": 1,
          "loop": "repeat",
          "tracks": {
            "screenY": [[0, 28, "bounceOut"], [1, 0]]
          }
        },
        {
          "duration": 1,
          "loop": "repeat",
          "tracks": {
            "rotation": [[0, 0], [1, 360]]
          }
        },
        {
          "duration": 2,
          "loop": "repeat",
          "tracks": {
            "screenY": [[0, 0, "smooth"], [0.25, 10, "smooth"], [0.75, -10, "smooth"], [1, 0]]
          }
        },
        {
          "duration": 2.4,
          "loop": "repeat",
          "tracks": {
            "rotation": [[0, -8, "smooth"], [0.5, 8, "smooth"], [1, -8]]
          }
        },
        {
          "duration": 0.5,
          "loop": "once",
          "tracks": {
            "screenX": [[0, 0], [0.12, -10], [0.28, 8], [0.44, -6], [0.6, 4], [0.78, -2], [1, 0]]
          }
        },
        {
          "duration": 2.4,
          "loop": "repeat",
          "tracks": {
            "screenX": [[0, 14, "smooth"], [0.5, -14, "smooth"], [1, 14]],
            "screenY": [[0, 0, "easeOut"], [0.25, 14, "easeInOut"], [0.75, -14, "easeIn"], [1, 0]]
          }
        },
        {
          "duration": 1,
          "loop": "repeat",
          "tracks": {
            "opacity": [[0, 0.15, "smooth"], [0.5, 1, "smooth"], [1, 0.15]]
          }
        }
      ]
    },
    "numberTrack": {
      "type": "array",
      "minItems": 1,
      "maxItems": 64,
      "description": "Keyframes [time, value, easing?]. A single keyframe holds a constant value; before the first and after the last keyframe their values are held.",
      "items": {
        "type": "array",
        "minItems": 2,
        "maxItems": 3,
        "prefixItems": [
          {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Normalized time, from 0 to 1. Times must increase strictly within a track."
          },
          {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          {
            "description": "Easing of the segment that starts at this keyframe. Default: linear.",
            "enum": [
              "linear",
              "smooth",
              "smoother",
              "easeIn",
              "easeOut",
              "easeInOut",
              "cubicIn",
              "cubicOut",
              "cubicInOut",
              "backOut",
              "bounceOut",
              "elasticOut",
              "step"
            ]
          }
        ]
      },
      "examples": [[[0, 1, "smooth"], [0.5, 1.2, "smooth"], [1, 1]]]
    },
    "colorTrack": {
      "type": "array",
      "minItems": 1,
      "maxItems": 64,
      "description": "Keyframes [time, color, easing?] with RRGGBB or RRGGBBAA colors (an optional # is allowed). Channels are interpolated independently.",
      "items": {
        "type": "array",
        "minItems": 2,
        "maxItems": 3,
        "prefixItems": [
          {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Normalized time, from 0 to 1. Times must increase strictly within a track."
          },
          {
            "type": "string",
            "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
          },
          {
            "description": "Easing of the segment that starts at this keyframe. Default: linear.",
            "enum": [
              "linear",
              "smooth",
              "smoother",
              "easeIn",
              "easeOut",
              "easeInOut",
              "cubicIn",
              "cubicOut",
              "cubicInOut",
              "backOut",
              "bounceOut",
              "elasticOut",
              "step"
            ]
          }
        ]
      },
      "examples": [[[0, "55bbff"], [0.5, "ffffff"], [1, "55bbff"]]]
    },
    "hudMotion": {
      "description": "Animation of a HUD element: a timeline object, or the same object serialized as a string (empty disables it). HUD elements support only the tracks listed here; screen offsets use UI units.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "$ref": "#/$defs/motionTimeline",
          "properties": {
            "tracks": {
              "properties": {
                "scale": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Size multiplier; circles scale around their own centers. Neutral value 1."
                },
                "scaleX": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Additional size multiplier along one axis, combined with scale. Neutral value 1."
                },
                "scaleY": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Additional size multiplier along one axis, combined with scale. Neutral value 1."
                },
                "rotation": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Degrees added to the rotation, counterclockwise. Neutral value 0."
                },
                "screenX": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Offset in screen pixels, positive right/up. Neutral value 0."
                },
                "screenY": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Offset in screen pixels, positive right/up. Neutral value 0."
                },
                "opacity": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Opacity of the whole overlay, including text backgrounds and shadows, from 0 to 1. Neutral value 1."
                },
                "color": {
                  "$ref": "#/$defs/colorTrack",
                  "description": "Color replacing the overlay's base color."
                },
                "fillColor": {
                  "$ref": "#/$defs/colorTrack",
                  "description": "Fill and glyph color, overriding color."
                },
                "outlineColor": {
                  "$ref": "#/$defs/colorTrack",
                  "description": "Outline color, overriding color."
                },
                "fillOpacity": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Opacity of fills and of point/text glyphs, from 0 to 1. Neutral value 1."
                },
                "outlineOpacity": {
                  "$ref": "#/$defs/numberTrack",
                  "description": "Opacity of outlines, from 0 to 1. Neutral value 1."
                }
              },
              "additionalProperties": false
            }
          }
        }
      ]
    },
    "hudElement": {
      "type": "object",
      "title": "HUD element",
      "description": "One element of a HUD widget. Property values are plain JSON values (numbers, strings, booleans), not Value nodes, except that any property except type, id and children can instead hold {\"$value\": Value}, an expression evaluated when ui.widget_set runs. Widgets do not refresh themselves: run ui.widget_update on a suitable trigger to change them.",
      "properties": {
        "type": {
          "description": "Element type.",
          "oneOf": [
            {
              "const": "panel",
              "description": "Container with a background that holds children."
            },
            {
              "const": "row",
              "description": "Container that places children side by side."
            },
            {
              "const": "column",
              "description": "Container that stacks children vertically."
            },
            {
              "const": "stack",
              "description": "Container that draws children on top of each other, for example text over a bar."
            },
            {
              "const": "text",
              "description": "A line or paragraph of text."
            },
            {
              "const": "bar",
              "description": "A progress bar between min and max."
            },
            {
              "const": "icon",
              "description": "An image."
            },
            {
              "const": "spacer",
              "description": "Empty space, optionally with a background texture."
            }
          ]
        },
        "id": {
          "type": "string",
          "description": "Optional id, unique within the widget. ui.widget_update uses it to find the element, and stable ids keep animations playing across updates."
        },
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/hudElement"
          },
          "description": "Child elements. Only panel, row, column and stack accept children."
        },
        "text": {
          "description": "Text. Plain text with placeholders, or a localized language map.",
          "anyOf": [
            {
              "anyOf": [
                {
                  "$ref": "#/$defs/textTemplate"
                },
                {
                  "$ref": "#/$defs/localizedText"
                }
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "icon": {
          "description": "Icon. Skin drawable name or embedded PNG. Default: RESOURCE_GDP.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "scaling": {
          "description": "Image scaling. Default: fit.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["fit", "fill", "stretch", "none"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "value": {
          "description": "Value. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "min": {
          "description": "Minimum. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "max": {
          "description": "Maximum. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "visible": {
          "description": "Visible. Default: true.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "color": {
          "description": "Color. Default: ffffffff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "background": {
          "description": "Background. Default: 15202eff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "style": {
          "description": "Style. Text styles: tiny, small, small-bold, default, bold, medium, medium-big, big, title. Bar styles: bar-default, bar-secondary, big-horizontal. Container styles: none, toolbar-default, window-default, plain, frame-round-secondary, frame-round-dim-secondary, list-secondary, dialog-secondary, tooltip-dark-secondary.",
          "anyOf": [
            {
              "type": "string",
              "examples": [
                "tiny",
                "small",
                "small-bold",
                "default",
                "bold",
                "medium",
                "medium-big",
                "big",
                "title",
                "bar-default",
                "bar-secondary",
                "big-horizontal",
                "none",
                "toolbar-default",
                "window-default",
                "plain",
                "frame-round-secondary",
                "frame-round-dim-secondary",
                "list-secondary",
                "dialog-secondary",
                "tooltip-dark-secondary"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "anchor": {
          "description": "Screen anchor. Root only: the screen position of the widget. Default: top_center.",
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "top_left",
                "top_center",
                "top_right",
                "center_left",
                "center",
                "center_right",
                "bottom_left",
                "bottom_center",
                "bottom_right"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "align": {
          "description": "Content alignment. Default: center.",
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "top_left",
                "top_center",
                "top_right",
                "center_left",
                "center",
                "center_right",
                "bottom_left",
                "bottom_center",
                "bottom_right"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "x": {
          "description": "Horizontal offset. Offset in UI units. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "y": {
          "description": "Vertical offset. Offset in UI units. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "width": {
          "description": "Width. In UI units. Omit it to use the natural size. Default: 220.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "height": {
          "description": "Height. In UI units. Omit it to use the natural size. Default: 28.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "widthFraction": {
          "description": "Relative width. Fraction of the available parent or screen space. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "heightFraction": {
          "description": "Relative height. Fraction of the available parent or screen space. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "padding": {
          "description": "Padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "gap": {
          "description": "Gap. Default: 4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fontScale": {
          "description": "Text size. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "wrap": {
          "description": "Wrap text. Default: false.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "order": {
          "description": "Display order. Root only: drawing order among widgets. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "animationIn": {
          "description": "Appear animation. Default: none.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["none", "fade", "scale", "scale_x", "scale_y"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "durationIn": {
          "description": "Appear duration (seconds). From 0 to 10 seconds. Default: 0.4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "animationOut": {
          "description": "Disappear animation. Default: none.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["none", "fade", "scale", "scale_x", "scale_y"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "durationOut": {
          "description": "Disappear duration (seconds). From 0 to 10 seconds. Default: 0.4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "direction": {
          "description": "Fill direction. Which way a bar fills. Default: right.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["right", "left", "up", "down"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "valueDuration": {
          "description": "Value transition (seconds). Seconds to animate value changes, from 0 to 10. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fillInset": {
          "description": "Fill inset. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "skinStyle": {
          "description": "Custom skin style. Optional name of a style in the skin or mod; missing names fall back to style.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "backgroundTexture": {
          "description": "Background texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fillTexture": {
          "description": "Fill texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderTexture": {
          "description": "Frame texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "textureInset": {
          "description": "Texture slice inset. Nine-patch inset of embedded textures, in source pixels (0 to 128). Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderColor": {
          "description": "Outline color. Default: ffffffff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderWidth": {
          "description": "Outline width. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "cornerRadius": {
          "description": "Corner radius. In UI units, from 0 to 128. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "opacity": {
          "description": "Opacity. Multiplies the opacity of the element and its children, from 0 to 1. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "motion": {
          "description": "Animation. Keyframe animation; see hudMotion.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudMotion"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "motionKey": {
          "description": "Restart value. Change it to restart the animation.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingLeft": {
          "description": "Left padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingRight": {
          "description": "Right padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingTop": {
          "description": "Top padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingBottom": {
          "description": "Bottom padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        }
      },
      "required": ["type"],
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "panel"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "row"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "gap",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "column"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "gap",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "stack"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "text"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "text",
                "visible",
                "color",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "fontScale",
                "wrap",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "bar"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "value",
                "min",
                "max",
                "visible",
                "color",
                "background",
                "style",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "direction",
                "valueDuration",
                "fillInset",
                "skinStyle",
                "backgroundTexture",
                "fillTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "icon"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "icon",
                "scaling",
                "visible",
                "color",
                "background",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "spacer"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "visible",
                "background",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        }
      ],
      "additionalProperties": false
    },
    "hudDefinition": {
      "type": "object",
      "title": "HUD widget",
      "description": "Root element of a HUD widget, set with ui.widget_set. The root can also use anchor (screen position) and order. Limits: 64 widgets, 128 elements per widget, nesting depth 16 and 65536 characters per definition. Widgets and messages are saved with the game and stay until removed with ui.widget_remove or ui.widget_clear.",
      "properties": {
        "type": {
          "description": "Element type.",
          "oneOf": [
            {
              "const": "panel",
              "description": "Container with a background that holds children."
            },
            {
              "const": "row",
              "description": "Container that places children side by side."
            },
            {
              "const": "column",
              "description": "Container that stacks children vertically."
            },
            {
              "const": "stack",
              "description": "Container that draws children on top of each other, for example text over a bar."
            },
            {
              "const": "text",
              "description": "A line or paragraph of text."
            },
            {
              "const": "bar",
              "description": "A progress bar between min and max."
            },
            {
              "const": "icon",
              "description": "An image."
            },
            {
              "const": "spacer",
              "description": "Empty space, optionally with a background texture."
            }
          ]
        },
        "id": {
          "type": "string",
          "description": "Optional id, unique within the widget. ui.widget_update uses it to find the element, and stable ids keep animations playing across updates."
        },
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/hudElement"
          },
          "description": "Child elements. Only panel, row, column and stack accept children."
        },
        "text": {
          "description": "Text. Plain text with placeholders, or a localized language map.",
          "anyOf": [
            {
              "anyOf": [
                {
                  "$ref": "#/$defs/textTemplate"
                },
                {
                  "$ref": "#/$defs/localizedText"
                }
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "icon": {
          "description": "Icon. Skin drawable name or embedded PNG. Default: RESOURCE_GDP.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "scaling": {
          "description": "Image scaling. Default: fit.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["fit", "fill", "stretch", "none"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "value": {
          "description": "Value. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "min": {
          "description": "Minimum. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "max": {
          "description": "Maximum. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "visible": {
          "description": "Visible. Default: true.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "color": {
          "description": "Color. Default: ffffffff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "background": {
          "description": "Background. Default: 15202eff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "style": {
          "description": "Style. Text styles: tiny, small, small-bold, default, bold, medium, medium-big, big, title. Bar styles: bar-default, bar-secondary, big-horizontal. Container styles: none, toolbar-default, window-default, plain, frame-round-secondary, frame-round-dim-secondary, list-secondary, dialog-secondary, tooltip-dark-secondary.",
          "anyOf": [
            {
              "type": "string",
              "examples": [
                "tiny",
                "small",
                "small-bold",
                "default",
                "bold",
                "medium",
                "medium-big",
                "big",
                "title",
                "bar-default",
                "bar-secondary",
                "big-horizontal",
                "none",
                "toolbar-default",
                "window-default",
                "plain",
                "frame-round-secondary",
                "frame-round-dim-secondary",
                "list-secondary",
                "dialog-secondary",
                "tooltip-dark-secondary"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "anchor": {
          "description": "Screen anchor. Root only: the screen position of the widget. Default: top_center.",
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "top_left",
                "top_center",
                "top_right",
                "center_left",
                "center",
                "center_right",
                "bottom_left",
                "bottom_center",
                "bottom_right"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "align": {
          "description": "Content alignment. Default: center.",
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "top_left",
                "top_center",
                "top_right",
                "center_left",
                "center",
                "center_right",
                "bottom_left",
                "bottom_center",
                "bottom_right"
              ]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "x": {
          "description": "Horizontal offset. Offset in UI units. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "y": {
          "description": "Vertical offset. Offset in UI units. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "width": {
          "description": "Width. In UI units. Omit it to use the natural size. Default: 220.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "height": {
          "description": "Height. In UI units. Omit it to use the natural size. Default: 28.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "widthFraction": {
          "description": "Relative width. Fraction of the available parent or screen space. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "heightFraction": {
          "description": "Relative height. Fraction of the available parent or screen space. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "padding": {
          "description": "Padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "gap": {
          "description": "Gap. Default: 4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fontScale": {
          "description": "Text size. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "wrap": {
          "description": "Wrap text. Default: false.",
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "order": {
          "description": "Display order. Root only: drawing order among widgets. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "animationIn": {
          "description": "Appear animation. Default: none.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["none", "fade", "scale", "scale_x", "scale_y"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "durationIn": {
          "description": "Appear duration (seconds). From 0 to 10 seconds. Default: 0.4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "animationOut": {
          "description": "Disappear animation. Default: none.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["none", "fade", "scale", "scale_x", "scale_y"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "durationOut": {
          "description": "Disappear duration (seconds). From 0 to 10 seconds. Default: 0.4.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "direction": {
          "description": "Fill direction. Which way a bar fills. Default: right.",
          "anyOf": [
            {
              "type": "string",
              "enum": ["right", "left", "up", "down"]
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "valueDuration": {
          "description": "Value transition (seconds). Seconds to animate value changes, from 0 to 10. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fillInset": {
          "description": "Fill inset. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "skinStyle": {
          "description": "Custom skin style. Optional name of a style in the skin or mod; missing names fall back to style.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "backgroundTexture": {
          "description": "Background texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "fillTexture": {
          "description": "Fill texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderTexture": {
          "description": "Frame texture.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudImage"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "textureInset": {
          "description": "Texture slice inset. Nine-patch inset of embedded textures, in source pixels (0 to 128). Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderColor": {
          "description": "Outline color. Default: ffffffff.",
          "anyOf": [
            {
              "type": "string",
              "pattern": "^#?[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "borderWidth": {
          "description": "Outline width. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "cornerRadius": {
          "description": "Corner radius. In UI units, from 0 to 128. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "opacity": {
          "description": "Opacity. Multiplies the opacity of the element and its children, from 0 to 1. Default: 1.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "motion": {
          "description": "Animation. Keyframe animation; see hudMotion.",
          "anyOf": [
            {
              "$ref": "#/$defs/hudMotion"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "motionKey": {
          "description": "Restart value. Change it to restart the animation.",
          "anyOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingLeft": {
          "description": "Left padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingRight": {
          "description": "Right padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingTop": {
          "description": "Top padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        },
        "paddingBottom": {
          "description": "Bottom padding. Default: 0.",
          "anyOf": [
            {
              "type": "number"
            },
            {
              "$ref": "#/$defs/hudBinding"
            }
          ]
        }
      },
      "required": ["type"],
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "panel"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "row"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "gap",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "column"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "gap",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "stack"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "children",
                "visible",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "padding",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey",
                "paddingLeft",
                "paddingRight",
                "paddingTop",
                "paddingBottom"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "text"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "text",
                "visible",
                "color",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "fontScale",
                "wrap",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "skinStyle",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "bar"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "value",
                "min",
                "max",
                "visible",
                "color",
                "background",
                "style",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "direction",
                "valueDuration",
                "fillInset",
                "skinStyle",
                "backgroundTexture",
                "fillTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "icon"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "icon",
                "scaling",
                "visible",
                "color",
                "background",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "spacer"
              }
            },
            "required": ["type"]
          },
          "then": {
            "propertyNames": {
              "enum": [
                "type",
                "id",
                "visible",
                "background",
                "anchor",
                "align",
                "x",
                "y",
                "width",
                "height",
                "widthFraction",
                "heightFraction",
                "order",
                "animationIn",
                "durationIn",
                "animationOut",
                "durationOut",
                "backgroundTexture",
                "borderTexture",
                "textureInset",
                "borderColor",
                "borderWidth",
                "cornerRadius",
                "opacity",
                "motion",
                "motionKey"
              ]
            }
          }
        }
      ],
      "additionalProperties": false,
      "examples": [
        {
          "type": "column",
          "anchor": "top_center",
          "gap": 4,
          "children": [
            {
              "type": "text",
              "id": "title",
              "text": {
                "en": "Readiness",
                "es": "Preparación"
              }
            },
            {
              "type": "bar",
              "id": "progress",
              "width": 220,
              "min": 0,
              "max": 100,
              "value": {
                "$value": {
                  "kind": "CONSTANT",
                  "type": "NUMBER",
                  "value": "40"
                }
              }
            }
          ]
        }
      ]
    },
    "hudBinding": {
      "type": "object",
      "description": "An expression evaluated when the widget is set, used instead of a literal property value.",
      "properties": {
        "$value": {
          "$ref": "#/$defs/value"
        }
      },
      "required": ["$value"],
      "additionalProperties": false
    },
    "hudImage": {
      "description": "A skin drawable name, or an embedded PNG (at most 256x256 pixels and 48000 bytes).",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Unique name for the embedded image."
            },
            "data": {
              "type": "string",
              "description": "Base64 PNG data."
            }
          },
          "required": ["name", "data"],
          "additionalProperties": false
        }
      ]
    },
    "runtimeValue": {
      "type": "object",
      "description": "A saved runtime value. Lists hold their items in values; other types hold their text form in value.",
      "properties": {
        "type": {
          "$ref": "#/$defs/valueType"
        },
        "elementType": {
          "$ref": "#/$defs/valueType"
        },
        "null": {
          "type": "boolean",
          "description": "true when the value is empty."
        },
        "value": {
          "type": "string"
        },
        "values": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/runtimeValue"
          }
        }
      },
      "additionalProperties": false
    },
    "runtimeState": {
      "type": "object",
      "description": "Run counts, shared variables and registries saved during a game.",
      "properties": {
        "scriptRuns": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Script id."
              },
              "runs": {
                "type": "integer",
                "minimum": 0,
                "description": "Successful runs so far."
              },
              "lastRunDay": {
                "type": "integer",
                "description": "Game day of the last successful run."
              }
            },
            "required": ["id"],
            "additionalProperties": false
          }
        },
        "globals": {
          "type": "array",
          "description": "Shared variables.",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "$ref": "#/$defs/valueType"
              },
              "elementType": {
                "$ref": "#/$defs/valueType"
              },
              "value": {
                "$ref": "#/$defs/runtimeValue"
              }
            },
            "required": ["name"],
            "additionalProperties": false
          }
        },
        "registries": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "$ref": "#/$defs/valueType"
              },
              "elementType": {
                "$ref": "#/$defs/valueType"
              },
              "entries": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "type": {
                      "$ref": "#/$defs/valueType"
                    },
                    "elementType": {
                      "$ref": "#/$defs/valueType"
                    },
                    "value": {
                      "$ref": "#/$defs/runtimeValue"
                    }
                  },
                  "required": ["key"],
                  "additionalProperties": false
                }
              }
            },
            "required": ["name"],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  }
}
