2021-01-05 09:10:15 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
2021-09-13 15:10:34 +00:00
|
|
|
"required": ["key_path", "description", "value_type", "status", "product_group", "product_stage", "time_frame", "data_source", "distribution", "tier", "data_category", "milestone"],
|
2021-01-05 09:10:15 +00:00
|
|
|
"properties": {
|
2021-01-21 09:08:52 +00:00
|
|
|
"key_path": {
|
2021-01-05 09:10:15 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2021-04-01 21:09:22 +00:00
|
|
|
"name": {
|
|
|
|
"type": ["string", "null"],
|
|
|
|
"pattern": "^([a-z]+_)*[a-z]+$"
|
|
|
|
},
|
2021-01-05 09:10:15 +00:00
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-02-09 12:09:48 +00:00
|
|
|
"product_section": {
|
|
|
|
"type": ["string", "null"]
|
2021-01-05 09:10:15 +00:00
|
|
|
},
|
2021-02-09 12:09:48 +00:00
|
|
|
"product_stage": {
|
2021-01-05 09:10:15 +00:00
|
|
|
"type": ["string", "null"]
|
|
|
|
},
|
2021-02-09 12:09:48 +00:00
|
|
|
"product_group": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"product_category": {
|
2021-01-05 09:10:15 +00:00
|
|
|
"type": ["string", "null"]
|
|
|
|
},
|
2021-02-09 12:09:48 +00:00
|
|
|
"value_type": {
|
|
|
|
"type": "string",
|
2021-03-12 18:09:23 +00:00
|
|
|
"enum": ["string", "number", "boolean", "object"]
|
2021-02-09 12:09:48 +00:00
|
|
|
},
|
2021-01-05 09:10:15 +00:00
|
|
|
"status": {
|
|
|
|
"type": ["string"],
|
2021-08-26 18:10:35 +00:00
|
|
|
"enum": ["active", "data_available", "implemented", "deprecated", "removed", "broken"]
|
2021-01-05 09:10:15 +00:00
|
|
|
},
|
|
|
|
"milestone": {
|
2021-09-06 15:10:54 +00:00
|
|
|
"type": ["string"],
|
2021-09-03 12:09:03 +00:00
|
|
|
"pattern": "^<?[0-9]+\\.[0-9]+$"
|
2021-01-05 09:10:15 +00:00
|
|
|
},
|
|
|
|
"milestone_removed": {
|
2021-02-25 12:11:01 +00:00
|
|
|
"type": ["string", "null"],
|
|
|
|
"pattern": "^[0-9]+\\.[0-9]+$"
|
2021-01-05 09:10:15 +00:00
|
|
|
},
|
|
|
|
"introduced_by_url": {
|
|
|
|
"type": ["string", "null"]
|
|
|
|
},
|
2021-05-31 12:10:34 +00:00
|
|
|
"repair_issue_url": {
|
|
|
|
"type": ["string"]
|
|
|
|
},
|
2021-05-20 09:10:30 +00:00
|
|
|
"options": {
|
2021-05-10 18:10:41 +00:00
|
|
|
"type": "object"
|
|
|
|
},
|
2021-01-05 09:10:15 +00:00
|
|
|
"time_frame": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["7d", "28d", "all", "none"]
|
|
|
|
},
|
|
|
|
"data_source": {
|
|
|
|
"type": "string",
|
2021-06-08 12:10:09 +00:00
|
|
|
"enum": ["database", "redis", "redis_hll", "prometheus", "system", "license"]
|
2021-01-05 09:10:15 +00:00
|
|
|
},
|
2021-06-15 12:10:11 +00:00
|
|
|
"data_category": {
|
|
|
|
"type": "string",
|
2021-08-12 18:10:45 +00:00
|
|
|
"enum": ["Operational", "Optional", "Subscription", "Standard", "operational", "optional", "subscription", "standard"]
|
2021-06-15 12:10:11 +00:00
|
|
|
},
|
2021-05-07 12:10:27 +00:00
|
|
|
"instrumentation_class": {
|
|
|
|
"type": "string",
|
2021-05-20 09:10:30 +00:00
|
|
|
"pattern": "^(([A-Z][a-z]+)+::)*(([A-Z]+[a-z]+)+)$"
|
2021-05-07 12:10:27 +00:00
|
|
|
},
|
2021-01-05 09:10:15 +00:00
|
|
|
"distribution": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["ee", "ce"]
|
|
|
|
}
|
|
|
|
},
|
2021-07-27 15:09:49 +00:00
|
|
|
"performance_indicator_type": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["gmau", "smau", "paid_gmau", "umau"]
|
|
|
|
}
|
|
|
|
},
|
2021-01-05 09:10:15 +00:00
|
|
|
"tier": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["free", "starter", "premium", "ultimate", "bronze", "silver", "gold"]
|
|
|
|
}
|
2021-01-25 12:09:07 +00:00
|
|
|
},
|
|
|
|
"skip_validation": {
|
|
|
|
"type": "boolean"
|
2021-04-28 12:10:09 +00:00
|
|
|
},
|
|
|
|
"value_json_schema": {
|
|
|
|
"type": "string"
|
2021-01-05 09:10:15 +00:00
|
|
|
}
|
2021-05-31 12:10:34 +00:00
|
|
|
},
|
|
|
|
"allOf": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"properties": {
|
|
|
|
"status": { "const": "broken" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"required": ["repair_issue_url"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2021-01-05 09:10:15 +00:00
|
|
|
}
|