14 lines
710 B
JSON
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 } } } }
|
|
}
|
|
}
|