From d46424a1ea19ad859918beaac735ee38d48e6480 Mon Sep 17 00:00:00 2001 From: alkalinecoffee Date: Wed, 10 Apr 2024 11:41:11 -0400 Subject: [PATCH] couple validation fixes --- src/openrpc/device.json | 6 +++--- src/openrpc/display.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openrpc/device.json b/src/openrpc/device.json index 67ab25736..800f4c863 100644 --- a/src/openrpc/device.json +++ b/src/openrpc/device.json @@ -708,7 +708,7 @@ }, { "name": "channels", - "value": "mono" + "value": "MONO" } ], "result": { @@ -762,11 +762,11 @@ "params": [ { "name": "format", - "value": "aac" + "value": "AAC" }, { "name": "channels", - "value": "mono" + "value": "MONO" } ], "result": { diff --git a/src/openrpc/display.json b/src/openrpc/display.json index 71f4a3d6d..6751b3808 100644 --- a/src/openrpc/display.json +++ b/src/openrpc/display.json @@ -186,7 +186,7 @@ "name": "resolution", "summary": "The video resolution to check against HDR profiles supported by the display. When provided, the result includes only HDR profiles supported by this resolution.", "schema": { - "$ref": "#/components/schemas/VideoFormatResolution" + "$ref": "#/components/schemas/DisplayResolution" } } ], @@ -207,7 +207,7 @@ "params": [ { "name": "resolution", - "value": "1080p" + "value": "1080p60" } ], "result": {