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