From d3f9415bc195e5b752f23a8c9de6ce63475ea4f7 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 3 Jul 2020 22:06:57 +0200 Subject: [PATCH] [packages] Expand schema to cover the operations - Not complete, since the items in the operations aren't done --- src/modules/packages/packages.schema.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/modules/packages/packages.schema.yaml b/src/modules/packages/packages.schema.yaml index 24e1a271a..40f82bb35 100644 --- a/src/modules/packages/packages.schema.yaml +++ b/src/modules/packages/packages.schema.yaml @@ -25,5 +25,18 @@ properties: operations: type: array + items: + additionalProperties: false + type: object + properties: + # TODO: these are either-string-or-struct items, + # need their own little schema. + install: { type: array } + remove: { type: array } + try_install: { type: array } + try_remove: { type: array } + localInstall: { type: array } + source: { type: string } + required: [ backend ]