From 8e5d2288d3bff727af557b84d3f7c2e9aaf9445c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Fri, 25 Oct 2024 13:16:13 +0100 Subject: [PATCH] fix(schema): place scripts section correctly --- rust/agama-lib/share/profile.schema.json | 48 ++++++++++++------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/rust/agama-lib/share/profile.schema.json b/rust/agama-lib/share/profile.schema.json index 7f24d0ffc0..24f0192949 100644 --- a/rust/agama-lib/share/profile.schema.json +++ b/rust/agama-lib/share/profile.schema.json @@ -7,6 +7,30 @@ "type": "object", "additionalProperties": false, "properties": { + "scripts": { + "title": "User-defined installation scripts", + "description": "User-defined scripts to run at different points of the installation", + "type": "object", + "additionalProperties": false, + "properties": { + "pre": { + "title": "Pre-installation scripts", + "description": "User-defined scripts to run before the installation starts", + "type": "array", + "items": { + "$ref": "#/$defs/script" + } + }, + "post": { + "title": "Post-installation scripts", + "description": "User-defined scripts to run after the installation finishes", + "type": "array", + "items": { + "$ref": "#/$defs/script" + } + } + } + }, "software": { "title": "Software settings", "type": "object", @@ -929,30 +953,6 @@ "items": { "type": "object" } - }, - "scripts": { - "title": "User-defined installation scripts", - "description": "User-defined scripts to run at different points of the installation", - "type": "object", - "additionalProperties": false, - "properties": { - "pre": { - "title": "Pre-installation scripts", - "description": "User-defined scripts to run before the installation starts", - "type": "array", - "items": { - "$ref": "#/$defs/script" - } - }, - "post": { - "title": "Post-installation scripts", - "description": "User-defined scripts to run after the installation finishes", - "type": "array", - "items": { - "$ref": "#/$defs/script" - } - } - } } }, "$defs": {