{"required": ["query", "webhook"], "type": "object", "properties": {"query": {"type": "string"}, "webhook": {"oneOf": [{"type": "string"}, {"required": ["url"], "type": "object", "properties": {"url": {"type": "string"}, "headers": {"type": "object"}}}]}}}