Files
systemic-game-design-course/course/schema/level.schema.json
T
2026-10-29 00:00:21 +01:00

14 lines
710 B
JSON

{
"$comment": "x grows right, y grows down.",
"type": "object",
"required": ["width", "height", "objects"],
"properties": {
"width": { "type": "integer", "minimum": 1 },
"height": { "type": "integer", "minimum": 1 },
"objects": { "type": "array", "items": { "type": "object", "required": ["kind", "x", "y"],
"properties": { "kind": { "type": "string" }, "x": { "type": "integer", "minimum": 0 }, "y": { "type": "integer", "minimum": 0 } } } },
"cards": { "type": "array", "items": { "type": "object", "required": ["card", "x", "y"],
"properties": { "card": { "type": "string" }, "x": { "type": "integer", "minimum": 0 }, "y": { "type": "integer", "minimum": 0 } } } }
}
}