blob: 8b65415c1ebeaa10d802d5eb498b9ad74301928b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{
"title": "PaintEvent schema",
"description": "Inform the application that it should paint something",
"type": "object",
"properties": {
"event": {"type":"string", "pattern":"Paint\\w*Event", "required":true },
"x": {"type":"number", "minimum": 0, "maximum": 1024, "required":true },
"y": {"type":"number", "minimum": 0, "maximum": 768, "required":true },
"owner" : {"type":"string", "default": "painter" }
}
}
|