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
This commit is contained in:
Christian Kellner 2020-05-12 20:08:01 +02:00 committed by Lars Karlitski
parent bc437520cd
commit 20a4ba45c6

View file

@ -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": {