From f2a4fc1819ab36aaae91839bba5b5b76a4873b14 Mon Sep 17 00:00:00 2001 From: Mihai Nita Date: Mon, 17 Mar 2025 00:04:42 -0700 Subject: [PATCH] Add requirement and stability level to the tests schema --- test/schemas/v0/tests.schema.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/schemas/v0/tests.schema.json b/test/schemas/v0/tests.schema.json index b6d5ac1cb5..fd7b495521 100644 --- a/test/schemas/v0/tests.schema.json +++ b/test/schemas/v0/tests.schema.json @@ -132,6 +132,12 @@ }, "expErrors": { "$ref": "#/$defs/expErrors" + }, + "reqLevel": { + "$ref": "#/$defs/reqLevel" + }, + "status": { + "$ref": "#/$defs/status" } } }, @@ -167,6 +173,12 @@ "only": { "type": "boolean", "description": "Normally not set. A flag to use during development to only run one or more specific tests." + }, + "reqLevel": { + "$ref": "#/$defs/reqLevel" + }, + "status": { + "$ref": "#/$defs/status" } } }, @@ -384,6 +396,14 @@ } } }, + "reqLevel": { + "description": "The required level of support.", + "enum": ["required", "recommended", "optional"] + }, + "status": { + "description": "The current stability level.", + "enum": ["stable", "draft"] + }, "anyExp": { "anyOf": [ {