From 8067db25c667e19eafea024e5e040a2165f31f84 Mon Sep 17 00:00:00 2001 From: Dom Guinard Date: Tue, 10 Feb 2026 10:29:22 +0100 Subject: [PATCH 1/2] Fixing linting issues --- softbinding-algorithm-list.schema.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/softbinding-algorithm-list.schema.json b/softbinding-algorithm-list.schema.json index f12ee17..8ddc2c4 100644 --- a/softbinding-algorithm-list.schema.json +++ b/softbinding-algorithm-list.schema.json @@ -134,29 +134,13 @@ { "required": [ "decodedMediaTypes" - ], - "not": { - "properties": { - "encodedMediaTypes": {} - }, - "required": [ - "encodedMediaTypes" - ] - } + ] }, { "required": [ "encodedMediaTypes" - ], - "not": { - "properties": { - "decodedMediaTypes": {} - }, - "required": [ - "decodedMediaTypes" - ] - } + ] } ] } -} \ No newline at end of file +} From ca0ded30010b9aab38c43a94b6a0731d52da85a9 Mon Sep 17 00:00:00 2001 From: Dom Guinard Date: Tue, 10 Feb 2026 10:44:06 +0100 Subject: [PATCH 2/2] Fixing linting issue, improving rule for encoded/decoded media type --- softbinding-algorithm-list.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softbinding-algorithm-list.schema.json b/softbinding-algorithm-list.schema.json index 8ddc2c4..62005e0 100644 --- a/softbinding-algorithm-list.schema.json +++ b/softbinding-algorithm-list.schema.json @@ -130,7 +130,7 @@ "type", "entryMetadata" ], - "oneOf": [ + "anyOf": [ { "required": [ "decodedMediaTypes"