{ "title": "Fields contours", "description": "Pixel coordinates of the contours on the image", "type": "object", "properties": { "objects": { "description": "List of the contours", "type": "array", "items": { "description": "Field contour", "type": "object", "properties": { "data": { "description": "List of the coordinates. First element describes exterior of the contour, next elements decribes holes in the contour", "type": "array" }, "type": { "description": "Object type. To work correctly, it must be 'region'", "type": "string", "const": "region" } }, "required": [ "data", "type" ] } }, "size": { "description": "Size of the image ([width, height])", "type": "array" } }, "required": [ "objects", "size" ] }