{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Costruzione (construction.json)", "type": "object", "properties": { "$schema": { "type": "string" }, "version": { "type": "integer", "minimum": 1 }, "profile": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "maxGradientByTraction": { "type": "object", "properties": { "steam": { "type": "number", "minimum": 0.001, "maximum": 0.2 }, "diesel": { "type": "number", "minimum": 0.001, "maximum": 0.2 }, "electric": { "type": "number", "minimum": 0.001, "maximum": 0.2 }, "highspeed": { "type": "number", "minimum": 0.001, "maximum": 0.2 } }, "required": [ "steam", "diesel", "electric", "highspeed" ], "additionalProperties": false }, "speedClasses": { "type": "array", "items": { "type": "object", "properties": { "trackClass": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" }, "minRadiusM": { "type": "number", "minimum": 1 }, "costMultiplier": { "type": "number", "minimum": 0.1 } }, "required": [ "trackClass", "minRadiusM", "costMultiplier" ], "additionalProperties": false }, "minItems": 1 }, "curveSpeedFactor": { "type": "number", "minimum": 0, "maximum": 2 }, "costs": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "crews": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "rules": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "trackWear": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "structures": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "physics": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "stations": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } }, "operations": { "type": "object", "additionalProperties": { "type": [ "number", "integer", "boolean", "array", "object", "string" ] } } }, "required": [ "version", "profile", "maxGradientByTraction", "speedClasses", "curveSpeedFactor", "costs", "crews", "rules", "trackWear", "structures", "physics", "stations", "operations" ], "additionalProperties": false }