magicciv/public/resources/simulations/simulations.schema.json
2026-04-07 17:52:04 -07:00

42 lines
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "simulations",
"title": "Simulation Scenario",
"description": "A pre-configured simulation scenario definition for the guide's climate visualizer.",
"allOf": [
{ "$ref": "../base.schema.json" },
{
"type": "object",
"required": ["world_id", "world_age"],
"properties": {
"world_id": {
"type": "string",
"description": "World ID to simulate (earth, khazad_prime, silvandel, etc.)."
},
"world_age": {
"type": "integer",
"minimum": 0,
"description": "Turns of geological history before scenario begins."
},
"starting_atmosphere": {
"type": "string",
"enum": ["modern", "depleted", "lush", "primordial"]
},
"abiotic_world": {
"type": "boolean",
"default": false,
"description": "Skip ecology engine — pre-biotic worlds."
},
"dt": {
"type": "number",
"description": "Years per simulation tick."
},
"init_overrides": {
"type": "object",
"additionalProperties": true,
"description": "Grid state overrides applied after map generation."
}
}
}
]
}