From 158b1c04ebb3555ccceaeb93b9bd6a48cd4c3809 Mon Sep 17 00:00:00 2001 From: Tomas Bajer Date: Wed, 18 Sep 2024 15:33:39 +0200 Subject: [PATCH] Add 'where', 'name' and 'order' keywords to feature schema --- tmt/schemas/prepare/errata.yaml | 10 ++++++++++ tmt/schemas/prepare/feature.yaml | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/tmt/schemas/prepare/errata.yaml b/tmt/schemas/prepare/errata.yaml index 297e2ede02..1f1d3954a9 100644 --- a/tmt/schemas/prepare/errata.yaml +++ b/tmt/schemas/prepare/errata.yaml @@ -42,5 +42,15 @@ properties: no-filter: type: boolean + name: + type: string + + order: + $ref: "/schemas/core#/definitions/order" + + where: + $ref: "/schemas/common#/definitions/where" + + required: - how diff --git a/tmt/schemas/prepare/feature.yaml b/tmt/schemas/prepare/feature.yaml index af90c2e09b..b96c5ad1dd 100644 --- a/tmt/schemas/prepare/feature.yaml +++ b/tmt/schemas/prepare/feature.yaml @@ -25,5 +25,14 @@ properties: - enabled - disabled + name: + type: string + + order: + $ref: "/schemas/core#/definitions/order" + + where: + $ref: "/schemas/common#/definitions/where" + required: - how