From 41f3b89902fe674c85c9c82fac4acfc232a5fc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:06:23 +0000 Subject: [PATCH] Update examples to remove parent property from being included --- .../megalinter-descriptor.jsonschema.json | 36 ++++++++----------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/megalinter/descriptors/schemas/megalinter-descriptor.jsonschema.json b/megalinter/descriptors/schemas/megalinter-descriptor.jsonschema.json index a3baf57f937..30ba45a4e37 100644 --- a/megalinter/descriptors/schemas/megalinter-descriptor.jsonschema.json +++ b/megalinter/descriptors/schemas/megalinter-descriptor.jsonschema.json @@ -378,17 +378,13 @@ "default": "linux/amd64" }, "examples": [ - { - "platform": [ - "linux/amd64", - "linux/arm64" - ] - }, - { - "platform": [ - "linux/amd64" - ] - } + [ + "linux/amd64", + "linux/arm64" + ], + [ + "linux/amd64" + ] ], "type": "array", "title": "List of target platforms" @@ -1173,17 +1169,13 @@ "default": "linux/amd64" }, "examples": [ - { - "platform": [ - "linux/amd64", - "linux/arm64" - ] - }, - { - "platform": [ - "linux/amd64" - ] - } + [ + "linux/amd64", + "linux/arm64" + ], + [ + "linux/amd64" + ] ], "type": "array", "title": "List of target platforms"