@@ -312,6 +312,94 @@ Date/Time Format][datetime_format].
312312
313313Example: ` "2020-08-14T23:41:54+00:00" `
314314
315+ #### Issues
316+ The following properties are used to describe issues found in reports
317+
318+ ##### ` build_valid `
319+ The status to assign to incident builds
320+
321+ Example: ` "build_valid": false `
322+
323+ ##### ` test_status `
324+ The Status to assign to incident tests, it can be one of the following
325+
326+ * ` ERROR ` - the test is faulty, the status of the tested code is unknown.
327+ * ` FAIL ` - the test has failed, the tested code is faulty.
328+ * ` PASS ` - the test has passed, the tested code is correct.
329+ * ` DONE ` - the test has finished successfully, the status of the tested code
330+ is unknown.
331+ * ` SKIP ` - the test wasn't executed, the status of the tested code is unknown.
332+
333+ Example: ` "test_status": "ERROR" `
334+
335+ ##### ` culprit `
336+ The layers of the execution stack responsible for the issue
337+ It can contain one or more of the following properties, which are all boolean
338+
339+ * ` code ` - the built or tested code, value is boolean
340+ * ` tool ` - the static analyzer, the build toolchain, the test, etc
341+ * ` harness ` - the system controlling the execution of the build.
342+
343+ Example: ` "code": True `
344+
345+ #### Incidents
346+ The following properties are used to describe an issue occurrence or absence of it
347+ =======
348+
349+ ##### ` culprit `
350+ The layers of the execution stack responsible for the issue
351+ It can be one of the following properties
352+
353+ * ` Code ` - the built or tested code, value is boolean
354+ * ` Tool ` - the static analyzer, the build toolchain, the test, etc
355+ * ` Harness ` - the system controlling the execution of the build.
356+
357+ #### Incidents
358+
359+ ##### ` present `
360+ True if the issue occurred in the linked objects, False if it was absent
361+
362+ Example: ` "present": True `
363+
364+ ##### ` comment `
365+ A human-readable comment regarding the incident
366+
367+ Example: ` "comment": "<An human readable comment in string>" `
368+
369+ ##### ` origin `
370+ The name of the CI system which submitted the incident
371+
372+ Example: ` "origin_id": "submitter:956769" `
373+
374+ ##### ` issue_id `
375+ The id of the occurring or absent issue
376+
377+ Example: ` "issue_id": "submitter:124853810" `
378+
379+ ##### ` issue_version `
380+ The modification version number of the occurring or absent issue
381+
382+ Example: ` "issue_version": 0 `
383+
384+ ##### ` build_id `
385+ The ID of the build object exhibiting or missing the issue
386+
387+ Example: ` "build_id": "submitter:956769" `
388+
389+ ##### ` test_id `
390+ The ID of the test object exhibiting or missing the issue
391+
392+ Example: ` "test_id": "submitter:114353810" `
393+
394+
395+
396+
397+ =======
398+ ##### ` comment `
399+ A human-readable comment regarding the incident
400+
401+
402+
315403### Extra data
316404If you have some data you'd like to provide developers with, but the schema
317405doesn't accommodate it, put it as arbitrary JSON under the ` misc ` field, which
0 commit comments