Skip to content

Update json/cameraViewportSettings.json#827

Open
github-actions[bot] wants to merge 1 commit intomasterfrom
update-cameraViewportSettings.json
Open

Update json/cameraViewportSettings.json#827
github-actions[bot] wants to merge 1 commit intomasterfrom
update-cameraViewportSettings.json

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Oct 8, 2025

Automated update for json/cameraViewportSettings.json

diff --git a/json/cameraViewportSettings.json b/json/cameraViewportSettings.json
new file mode 100644
index 00000000..9d796cc4
--- /dev/null
+++ b/json/cameraViewportSettings.json
@@ -0,0 +1,188 @@
+{
+    "id": "cameraViewportSettings",
+    "version": 1,
+    "status": "proposed",
+    "name": "Camera Viewport Settings",
+    "ephemeral": false,
+    "attributes": {
+        "defaultViewport": {
+            "schema": {
+                "type": "object",
+                "properties": {
+                    "value": {
+                        "title": "Viewport",
+                        "type": "object",
+                        "additionalProperties": false,
+                        "properties": {
+                            "upperLeftVertex": {
+                                "title": "CartesianCoordinate",
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "x": {
+                                        "type": "integer"
+                                    },
+                                    "y": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "required": [
+                                    "x",
+                                    "y"
+                                ]
+                            },
+                            "lowerRightVertex": {
+                                "title": "CartesianCoordinate",
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "x": {
+                                        "type": "integer"
+                                    },
+                                    "y": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "required": [
+                                    "x",
+                                    "y"
+                                ]
+                            }
+                        },
+                        "required": [
+                            "upperLeftVertex",
+                            "lowerRightVertex"
+                        ]
+                    }
+                },
+                "additionalProperties": false,
+                "required": [
+                    "value"
+                ]
+            },
+            "setter": "setDefaultViewport",
+            "enumCommands": []
+        },
+        "minViewportResolution": {
+            "schema": {
+                "type": "object",
+                "properties": {
+                    "value": {
+                        "title": "VideoResolution",
+                        "type": "object",
+                        "additionalProperties": false,
+                        "properties": {
+                            "width": {
+                                "type": "integer"
+                            },
+                            "height": {
+                                "type": "integer"
+                            },
+                            "fps": {
+                                "type": "integer"
+                            }
+                        },
+                        "required": [
+                            "width",
+                            "height"
+                        ]
+                    }
+                },
+                "additionalProperties": false,
+                "required": [
+                    "value"
+                ]
+            },
+            "enumCommands": []
+        },
+        "videoSensorParameters": {
+            "schema": {
+                "type": "object",
+                "properties": {
+                    "value": {
+                        "type": "object",
+                        "additionalProperties": false,
+                        "properties": {
+                            "width": {
+                                "type": "integer"
+                            },
+                            "height": {
+                                "type": "integer"
+                            },
+                            "maxFPS": {
+                                "type": "integer"
+                            }
+                        },
+                        "required": [
+                            "width",
+                            "height",
+                            "maxFPS"
+                        ]
+                    }
+                },
+                "additionalProperties": false,
+                "required": [
+                    "value"
+                ]
+            },
+            "enumCommands": []
+        }
+    },
+    "commands": {
+        "setDefaultViewport": {
+            "name": "setDefaultViewport",
+            "arguments": [
+                {
+                    "name": "viewport",
+                    "optional": false,
+                    "schema": {
+                        "title": "Viewport",
+                        "type": "object",
+                        "additionalProperties": false,
+                        "properties": {
+                            "upperLeftVertex": {
+                                "title": "CartesianCoordinate",
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "x": {
+                                        "type": "integer"
+                                    },
+                                    "y": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "required": [
+                                    "x",
+                                    "y"
+                                ]
+                            },
+                            "lowerRightVertex": {
+                                "title": "CartesianCoordinate",
+                                "type": "object",
+                                "additionalProperties": false,
+                                "properties": {
+                                    "x": {
+                                        "type": "integer"
+                                    },
+                                    "y": {
+                                        "type": "integer"
+                                    }
+                                },
+                                "required": [
+                                    "x",
+                                    "y"
+                                ]
+                            }
+                        },
+                        "required": [
+                            "upperLeftVertex",
+                            "lowerRightVertex"
+                        ]
+                    }
+                }
+            ],
+            "sensitive": false
+        }
+    }
+}
\ No newline at end of file

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant