diff --git a/rust/agama-lib/share/profile.schema.json b/rust/agama-lib/share/profile.schema.json index 4192040698..5a605a1338 100644 --- a/rust/agama-lib/share/profile.schema.json +++ b/rust/agama-lib/share/profile.schema.json @@ -209,6 +209,31 @@ "registrationUrl": { "title": "URL of the registration server", "type": "string" + }, + "addons": { + "title": "List of add-ons to activate", + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": ["id"], + "properties": { + "id": { + "title": "Add-on identifier", + "type": "string", + "examples": ["sle-ha"] + }, + "version": { + "title": "Version of the add-on", + "description": "It is mandatory if there are multiple available versions", + "type": "string" + }, + "registrationCode": { + "title": "Add-on registration code", + "type": "string" + } + } + } } } }, diff --git a/rust/package/agama.changes b/rust/package/agama.changes index 378fc28e75..3847c437b6 100644 --- a/rust/package/agama.changes +++ b/rust/package/agama.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 7 12:52:42 UTC 2025 - Imobach Gonzalez Sosa + +- Add validation of the product/addons section (gh#agama-project/agama#2336). + ------------------------------------------------------------------- Wed May 7 06:35:19 UTC 2025 - José Iván López González