Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json')
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json
new file mode 100644
index 00000000000..f3e0dd555a6
--- /dev/null
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json
@@ -0,0 +1,12 @@
+{
+ "type": "object",
+ "patternProperties": {
+ "^[a-zA-Z0-9_]*$": {
+ "anyOf": [
+ { "$ref": "text_variable_full_syntax.json" },
+ { "type": "string" }
+ ]
+ }
+ },
+ "additionalProperties": false
+}