{ "$comment": "x grows right, y grows down. Module 10 (SpellGrid): cards are minions in play for player 0, each also a grid object whose noun is the card's noun; hand is the card names in player 0's hand.", "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 } } } }, "hand": { "type": "array", "items": { "type": "string" } } } }