diff options
Diffstat (limited to 'app/validators/json_schemas')
3 files changed, 33 insertions, 0 deletions
diff --git a/app/validators/json_schemas/build_report_result_data.json b/app/validators/json_schemas/build_report_result_data.json new file mode 100644 index 00000000000..0fb4fd6d0b7 --- /dev/null +++ b/app/validators/json_schemas/build_report_result_data.json @@ -0,0 +1,12 @@ +{ + "description": "Build report result data", + "type": "object", + "properties": { + "coverage": { "type": "float" }, + "tests": { + "type": "object", + "items": { "$ref": "./build_report_result_data_tests.json" } + } + }, + "additionalProperties": false +} diff --git a/app/validators/json_schemas/build_report_result_data_tests.json b/app/validators/json_schemas/build_report_result_data_tests.json new file mode 100644 index 00000000000..b38559e727f --- /dev/null +++ b/app/validators/json_schemas/build_report_result_data_tests.json @@ -0,0 +1,13 @@ +{ + "description": "Build report result data tests", + "type": "object", + "properties": { + "name": { "type": "string" }, + "duration": { "type": "string" }, + "failed": { "type": "integer" }, + "errored": { "type": "integer" }, + "skipped": { "type": "integer" }, + "success": { "type": "integer" } + }, + "additionalProperties": false +} diff --git a/app/validators/json_schemas/daily_build_group_report_result_data.json b/app/validators/json_schemas/daily_build_group_report_result_data.json new file mode 100644 index 00000000000..2524ac63050 --- /dev/null +++ b/app/validators/json_schemas/daily_build_group_report_result_data.json @@ -0,0 +1,8 @@ +{ + "description": "Daily build group report result data", + "type": "object", + "properties": { + "coverage": { "type": "float" } + }, + "additionalProperties": false +} |