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 'config/metrics/schema.json')
-rw-r--r--config/metrics/schema.json34
1 files changed, 17 insertions, 17 deletions
diff --git a/config/metrics/schema.json b/config/metrics/schema.json
index 4d1120a7d8d..d71eddab469 100644
--- a/config/metrics/schema.json
+++ b/config/metrics/schema.json
@@ -1,32 +1,32 @@
{
"type": "object",
- "required": ["name", "description", "value_type", "status", "default_generation", "full_path", "group", "time_frame", "data_source", "distribution", "tier"],
+ "required": ["key_path", "description", "value_type", "status", "product_group", "time_frame", "data_source", "distribution", "tier"],
"properties": {
- "name": {
+ "key_path": {
"type": "string"
},
"description": {
"type": "string"
},
- "value_type": {
- "type": "string",
- "enum": ["integer", "string", "number", "boolean"]
+ "product_section": {
+ "type": ["string", "null"]
},
- "product_category": {
+ "product_stage": {
"type": ["string", "null"]
},
- "stage": {
+ "product_group": {
+ "type": "string"
+ },
+ "product_category": {
"type": ["string", "null"]
},
+ "value_type": {
+ "type": "string",
+ "enum": ["integer", "string", "number", "boolean"]
+ },
"status": {
"type": ["string"],
- "enum": ["data_available", "planned", "in_progress", "implmented"]
- },
- "default_generation": {
- "type": "string"
- },
- "full_path": {
- "type": "object"
+ "enum": ["data_available", "planned", "in_progress", "implemented"]
},
"milestone": {
"type": ["number", "null"]
@@ -37,9 +37,6 @@
"introduced_by_url": {
"type": ["string", "null"]
},
- "group": {
- "type": "string"
- },
"time_frame": {
"type": "string",
"enum": ["7d", "28d", "all", "none"]
@@ -61,6 +58,9 @@
"type": "string",
"enum": ["free", "starter", "premium", "ultimate", "bronze", "silver", "gold"]
}
+ },
+ "skip_validation": {
+ "type": "boolean"
}
}
}