diff --git a/modules/environment-schema.json b/modules/environment-schema.json index b12905edb09..d265ee9ba6d 100644 --- a/modules/environment-schema.json +++ b/modules/environment-schema.json @@ -18,27 +18,26 @@ "dependencies": { "type": "array", "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*[^><]=[^><].*$", - "$comment": "The above pattern ensures that all packages are pinned to a specific version. This ensures the reproducibility of the environment" - }, - { - "type": "object", - "properties": { - "pip": { - "type": "array", - "items": { - "type": "string", - "pattern": "^.*==.*$", - "$comment": "The above pattern ensures that all packages are pinned to a specific version. This ensures the reproducibility of the environment" + "oneOf": [ + { + "type": "string", + "pattern": "^.*[^><]=[^><].*$", + "$comment": "The above pattern ensures that all packages are pinned to a specific version. This ensures the reproducibility of the environment" + }, + { + "type": "object", + "properties": { + "pip": { + "type": "array", + "items": { + "type": "string", + "pattern": "^.*==.*$", + "$comment": "The above pattern ensures that all packages are pinned to a specific version. This ensures the reproducibility of the environment" + } + } } - } } - } ] - } } },