{
    "title": "InputData",
    "description": "An iframe embed widget for displaying external web content within the dashboard. Use this widget to integrate third-party dashboards, documentation, external tools, or any web-accessible content. Supports both single URL embedding and multi-embed mode for displaying multiple web pages in a responsive grid layout. The embedded content runs in an isolated iframe with appropriate security restrictions.",
    "type": "object",
    "properties": {
        "webUrl": {
            "title": "Web URL",
            "type": "string",
            "description": "The full URL of the web page to embed (e.g., https://example.com). The target site must allow iframe embedding (X-Frame-Options). Used when Multi Embed mode is disabled.",
            "order": 1,
            "condition": {
                "relativePath": "../multiEmbed",
                "showIfValueIn": [false]
            }
        },
        "title": {
            "title": "Title",
            "description": "Optional heading displayed above the embedded content. Use to provide context about what the embedded page shows.",
            "type": "string",
            "order": 2,
            "condition": {
                "relativePath": "../multiEmbed",
                "showIfValueIn": [false]
            }
        },
        "multiEmbed": {
            "title": "Multi Embed",
            "description": "When enabled, allows embedding multiple web pages arranged in a grid layout. When disabled, displays a single embedded page. Enable this for dashboards that need to show multiple external sources simultaneously.",
            "type": "boolean",
            "dataDrivenDisabled": true,
            "order": 3
        },
        "gap": {
            "title": "Gap",
            "type": "number",
            "description": "The spacing between embedded pages in pixels when using multi-embed mode. Increase for visual separation, decrease for compact layouts.",
            "order": 4,
            "condition": {
                "relativePath": "../multiEmbed",
                "showIfValueIn": [true]
            }
        },
        "data": {
            "title": "URLs",
            "description": "Array of web pages to embed when multi-embed mode is enabled. Each entry creates a separate iframe in the grid layout.",
            "type": "array",
            "condition": {
                "relativePath": "../multiEmbed",
                "showIfValueIn": [true]
            },
            "order": 5,
            "items": {
                "type": "object",
                "properties": {
                    "url": {
                        "title": "Web URL",
                        "description": "The full URL of the web page to embed. Must be a valid URL string starting with http:// or https://.",
                        "type": "string",
                        "order": 1
                    },
                    "title": {
                        "title": "Title",
                        "description": "Optional heading displayed above this specific embedded page to identify its content.",
                        "type": "string",
                        "order": 2
                    }
                }
            }
        }
    }
}
