diff --git a/exasol/toolbox/metrics.py b/exasol/toolbox/metrics.py index 8527a0adc..2a32abe43 100644 --- a/exasol/toolbox/metrics.py +++ b/exasol/toolbox/metrics.py @@ -25,6 +25,15 @@ class Rating(Enum): + """ + A = Excellent + B = Good + C = Satisfactory (Ok, could be better though) + D = Poor (Improvement necessary) + E = Bad (Need for action) + F = Broken (Get it fixed!) + N/A = Rating is not available + """ A = "A" B = "B" C = "C" diff --git a/metrics-schema/metrics_schema.py b/metrics-schema/metrics_schema.py index 7567fd1f2..81d816467 100644 --- a/metrics-schema/metrics_schema.py +++ b/metrics-schema/metrics_schema.py @@ -47,7 +47,7 @@ class Metrics(BaseModel): if __name__ == "__main__": schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://schemas.exasol.com/metrics-0.1.0.json", + "$id": "https://schemas.exasol.com/project-metrics-0.1.0.json", } schema.update(Metrics.model_json_schema()) print(json.dumps(schema, indent=2))