| Index: json_reporter.schema.json
|
| diff --git a/json_reporter.schema.json b/json_reporter.schema.json
|
| index b37e5882383d34b318b7cbe9cb47e34b8235ab31..cf932448927facf80d3f67570221df6f87c7db8f 100644
|
| --- a/json_reporter.schema.json
|
| +++ b/json_reporter.schema.json
|
| @@ -12,6 +12,20 @@
|
| }
|
| },
|
|
|
| + "Group": {
|
| + "required": ["id", "name"],
|
| + "properties": {
|
| + "id": {"type": "integer", "minimum": 0},
|
| + "parentID": {
|
| + "oneOf": [{"type": "integer", "minimum": 0}, {"type": "null"}]
|
| + },
|
| + "name": {
|
| + "oneOf": [{"type": "string"}, {"type": "null"}],
|
| + },
|
| + "metadata": {"$ref": "#/definitions/Metadata"}
|
| + }
|
| + },
|
| +
|
| "Metadata": {
|
| "required": ["skip", "skipReason"],
|
| "properties": {
|
| @@ -52,6 +66,15 @@
|
| },
|
|
|
| {
|
| + "title": "GroupEvent",
|
| + "required": ["group"],
|
| + "properties": {
|
| + "type": {"enum": ["group"]},
|
| + "group": {"$ref": "#/definitions/Group"}
|
| + }
|
| + },
|
| +
|
| + {
|
| "title": "PrintEvent",
|
| "required": ["message"],
|
| "properties": {
|
| @@ -97,7 +120,9 @@
|
| "properties": {
|
| "type": {
|
| "not": {
|
| - "enum": ["start", "testStart", "print", "error", "testDone", "done"]
|
| + "enum": [
|
| + "start", "testStart", "group", "print", "error", "testDone", "done"
|
| + ]
|
| }
|
| }
|
| }
|
|
|