vc-online/gamefiles/online/spawn.schema.json

26 lines
725 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Online spawn points",
"type": "object",
"required": ["points", "spreadRadius"],
"properties": {
"$schema": { "type": "string" },
"comment": { "type": "string" },
"points": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["x", "y", "heading"],
"properties": {
"x": { "type": "number" },
"y": { "type": "number" },
"heading": { "type": "number", "minimum": 0, "maximum": 360 }
},
"additionalProperties": false
}
},
"spreadRadius": { "type": "number", "minimum": 0 }
},
"additionalProperties": false
}