From 20a4ba45c69d7c23279eb04000fad091f6d357e8 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Tue, 12 May 2020 20:08:01 +0200 Subject: [PATCH] schema/osbuild1.json: convert to draft4 standard The 'required' array with an empty is the only thing that requires this to be draft6 (or higher) [1]. Remove that and downgrade the schema to draft4 [2]. [1] https://json-schema.org/draft-06/json-schema-release-notes.html [2] https://json-schema.org/specification-links.html#draft-4 --- schemas/osbuild1.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/schemas/osbuild1.json b/schemas/osbuild1.json index 1e333239..76f86992 100644 --- a/schemas/osbuild1.json +++ b/schemas/osbuild1.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", + "$schema": "http://json-schema.org/draft-04/schema#", "$id": "https://osbuild.org/schemas/osbuild1.json", "title": "OSBuild Manifest", @@ -10,7 +10,6 @@ "pipeline": { "$ref": "#/definitions/pipeline" }, "sources": { "$ref": "#/definitions/sources" } }, - "required": [], "definitions": { "assembler": { @@ -49,8 +48,7 @@ "assembler": { "$ref": "#/definitions/assembler" }, "build": { "$ref": "#/definitions/build" }, "stages": { "$ref": "#/definitions/stages" } - }, - "required": [] + } }, "source": {