File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1818class Metrics (BaseModel ):
1919 """This schema defines the structure and values for reporting Q/A metrics for projects."""
2020
21+ project : str = Field (
22+ description = (
23+ "Project Name Corresponding to the metrics."
24+ )
25+ )
2126 commit : str = Field (
2227 description = (
2328 "Commit-Hash pointing to the state of the codebase used for generating the metrics."
@@ -47,7 +52,7 @@ class Metrics(BaseModel):
4752if __name__ == "__main__" :
4853 schema = {
4954 "$schema" : "https://json-schema.org/draft/2020-12/schema" ,
50- "$id" : "https://schemas.exasol.com/project-metrics-0.1 .0.json" ,
55+ "$id" : "https://schemas.exasol.com/project-metrics-0.2 .0.json" ,
5156 }
5257 schema .update (Metrics .model_json_schema ())
5358 print (json .dumps (schema , indent = 2 ))
You can’t perform that action at this time.
0 commit comments