{
        "title": "vlkb overlap <fits> <region>",
        "description": "Describe region JSON-string",
        "type": "object",
        "properties": {
                "pos": {
                        "type": "object",
                        "properties": {
                                "system": {
                                        "description": "GALACTIC ICRS",
                                        "type": "array",
                                        "items": {
                                                "type": "string",
                                                "enum": ["GALACTIC", "ICRS"]
                                        }
                                },
                                "oneOf": [
                                        {
                                                "type": "object",
                                                "properties":{
                                                        "circle": {
                                                                "description": "CIRCLE lon lat radius",
                                                                "type": "object",
                                                                "properties": {
                                                                        "lon": {"type": "number"},
                                                                        "lat": {"type": "number"},
                                                                        "radius": {"type": "number"}
                                                                },
                                                                "required": ["lon", "lat", "radius"]
                                                        }
                                                }
                                        },
                                        {
                                                "type": "object",
                                                "properties":{
                                                        "range": {
                                                                "description": "RANGE lon1 lon2 lat1 lat2",
                                                                "type": "object",
                                                                "properties": {
                                                                        "lon1": {"type": "number"},
                                                                        "lon2": {"type": "number"},
                                                                        "lat1": {"type": "number"},
                                                                        "lat2": {"type": "number"}
                                                                },
                                                                "required": ["lon1", "lon2", "lat1", "lat2"]
                                                        }
                                                }
                                        },
                                        {
                                                "type": "object",
                                                "properties":{
                                                        "polygon": {
                                                                "description": "POLYGON lon... lat...",
                                                                "type": "object",
                                                                "properties":{
                                                                        "lon": {
                                                                                "type": "array",
                                                                                "items": "number"
                                                                        },
                                                                        "lat": {
                                                                                "type": "array",
                                                                                "items": "number"
                                                                        }
                                                                },
                                                                "required": ["lon", "lat"]
                                                        }
                                                }
                                        }
                                ]
                        }
                },
                "band": {
                        "type": "object",
                        "properties": {
                                "system": {
                                        "type": "array",
                                        "items": {
                                                "type": "string",
                                                "enum": ["VELO_LSRK", "WAVE_Barycentric"]
                                        }
                                },
                                "interval": {
                                        "type": "array",
                                        "items":{
                                                "type": "number"
                                        },
                                        "minItems": 2,
                                        "maxItems": 2
                                }
                        }
                },
                "time": {
                        "type": "object",
                        "properties": {
                                "system": {"type": "string"},
                                "interval": {
                                        "type": "array",
                                        "items":{
                                                "type": "number"
                                        },
                                        "minItems": 2,
                                        "maxItems": 2
                                }
                        }
                },
                "pol": {
                        "type": "array",
                        "items": {
                                "type": "string",
                                "enum": ["I", "Q", "U", "V", "RR", "LL", "RL", "LR", "XX", "YY", "XY", "YX"]
                        },
                        "minItems": 1
                }
        }
}

