From 19abb10d52a5b3e2171af3d57aa17021a43d496f Mon Sep 17 00:00:00 2001 From: "Shah, Kevin" Date: Wed, 21 Aug 2024 13:59:59 -0400 Subject: [PATCH] fix: Debug core sdk issue 9 --- src/openrpc/device.json | 98 +++++------------------------------------ 1 file changed, 10 insertions(+), 88 deletions(-) diff --git a/src/openrpc/device.json b/src/openrpc/device.json index 9018c7db1..160e87b53 100644 --- a/src/openrpc/device.json +++ b/src/openrpc/device.json @@ -719,98 +719,20 @@ "components": { "schemas": { "Resolution": { - "oneOf": [ + "type": "array", + "items": [ { - "type": "array", - "items": [ - { - "type": "integer", - "const": 720, - "description": "Width in pixels" - }, - { - "type": "integer", - "const": 480, - "description": "Height in pixels" - } - ], - "additionalItems": false, - "minItems": 2, - "maxItems": 2 - }, - { - "type": "array", - "items": [ - { - "type": "integer", - "const": 720, - "description": "Width in pixels" - }, - { - "type": "integer", - "const": 576, - "description": "Height in pixels" - } - ], - "additionalItems": false, - "minItems": 2, - "maxItems": 2 - }, - { - "type": "array", - "items": [ - { - "type": "integer", - "const": 1280, - "description": "Width in pixels" - }, - { - "type": "integer", - "const": 720, - "description": "Height in pixels" - } - ], - "additionalItems": false, - "minItems": 2, - "maxItems": 2 + "type": "integer", + "description": "Width in pixels" }, { - "type": "array", - "items": [ - { - "type": "integer", - "const": 1920, - "description": "Width in pixels" - }, - { - "type": "integer", - "const": 1080, - "description": "Height in pixels" - } - ], - "additionalItems": false, - "minItems": 2, - "maxItems": 2 - }, - { - "type": "array", - "items": [ - { - "type": "integer", - "const": 3840, - "description": "Width in pixels" - }, - { - "type": "integer", - "const": 2160, - "description": "Height in pixels" - } - ], - "additionalItems": false, - "minItems": 2, - "maxItems": 2 + "type": "integer", + "description": "Height in pixels" } - ] + ], + "additionalItems": false, + "minItems": 2, + "maxItems": 2 }, "NetworkType": { "title": "NetworkType",