| OLD | NEW |
| 1 { | 1 { |
| 2 "$schema": "http://json-schema.org/draft-04/schema#", | 2 "$schema": "http://json-schema.org/draft-04/schema#", |
| 3 "description": "An event emitted by the test package's JSON reporter", | 3 "description": "An event emitted by the test package's JSON reporter", |
| 4 | 4 |
| 5 "definitions": { | 5 "definitions": { |
| 6 "Test": { | 6 "Test": { |
| 7 "required": ["id", "name", "suiteID", "groupIDs", "metadata"], | 7 "required": ["id", "name", "suiteID", "groupIDs", "metadata"], |
| 8 "properties": { | 8 "properties": { |
| 9 "id": {"type": "integer", "minimum": 0}, | 9 "id": {"type": "integer", "minimum": 0}, |
| 10 "name": {"type": "string"}, | 10 "name": {"type": "string"}, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 "required": ["id", "name", "suiteID"], | 32 "required": ["id", "name", "suiteID"], |
| 33 "properties": { | 33 "properties": { |
| 34 "id": {"type": "integer", "minimum": 0}, | 34 "id": {"type": "integer", "minimum": 0}, |
| 35 "suiteID": {"type": "integer", "minimum": 0}, | 35 "suiteID": {"type": "integer", "minimum": 0}, |
| 36 "parentID": { | 36 "parentID": { |
| 37 "oneOf": [{"type": "integer", "minimum": 0}, {"type": "null"}] | 37 "oneOf": [{"type": "integer", "minimum": 0}, {"type": "null"}] |
| 38 }, | 38 }, |
| 39 "name": { | 39 "name": { |
| 40 "oneOf": [{"type": "string"}, {"type": "null"}] | 40 "oneOf": [{"type": "string"}, {"type": "null"}] |
| 41 }, | 41 }, |
| 42 "metadata": {"$ref": "#/definitions/Metadata"} | 42 "metadata": {"$ref": "#/definitions/Metadata"}, |
| 43 "testCount": {"type": "integer", "minimum": 0} |
| 43 } | 44 } |
| 44 }, | 45 }, |
| 45 | 46 |
| 46 "Metadata": { | 47 "Metadata": { |
| 47 "required": ["skip", "skipReason"], | 48 "required": ["skip", "skipReason"], |
| 48 "properties": { | 49 "properties": { |
| 49 "skip": {"type": "boolean"}, | 50 "skip": {"type": "boolean"}, |
| 50 "skipReason": { | 51 "skipReason": { |
| 51 "oneOf": [{"type": "string"}, {"type": "null"}] | 52 "oneOf": [{"type": "string"}, {"type": "null"}] |
| 52 } | 53 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 76 { | 77 { |
| 77 "title": "TestStartEvent", | 78 "title": "TestStartEvent", |
| 78 "required": ["test"], | 79 "required": ["test"], |
| 79 "properties": { | 80 "properties": { |
| 80 "type": {"enum": ["testStart"]}, | 81 "type": {"enum": ["testStart"]}, |
| 81 "test": {"$ref": "#/definitions/Test"} | 82 "test": {"$ref": "#/definitions/Test"} |
| 82 } | 83 } |
| 83 }, | 84 }, |
| 84 | 85 |
| 85 { | 86 { |
| 87 "title": "AllSuitesEvent", |
| 88 "required": ["count"], |
| 89 "properties": { |
| 90 "type": {"enum": ["allSuites"]}, |
| 91 "count": {"type": "integer", "minimum": 0} |
| 92 } |
| 93 }, |
| 94 |
| 95 { |
| 86 "title": "SuiteEvent", | 96 "title": "SuiteEvent", |
| 87 "required": ["suite"], | 97 "required": ["suite"], |
| 88 "properties": { | 98 "properties": { |
| 89 "type": {"enum": ["suite"]}, | 99 "type": {"enum": ["suite"]}, |
| 90 "group": {"$ref": "#/definitions/Suite"} | 100 "group": {"$ref": "#/definitions/Suite"} |
| 91 } | 101 } |
| 92 }, | 102 }, |
| 93 | 103 |
| 94 { | 104 { |
| 95 "title": "GroupEvent", | 105 "title": "GroupEvent", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 }, | 153 }, |
| 144 | 154 |
| 145 { | 155 { |
| 146 "title": "FutureEvent", | 156 "title": "FutureEvent", |
| 147 "description": | 157 "description": |
| 148 "A placeholder event to allow new events to be added in the future.", | 158 "A placeholder event to allow new events to be added in the future.", |
| 149 "properties": { | 159 "properties": { |
| 150 "type": { | 160 "type": { |
| 151 "not": { | 161 "not": { |
| 152 "enum": [ | 162 "enum": [ |
| 153 "start", "testStart", "suite", "group", "print", "error", | 163 "start", "testStart", "allSuites", "suite", "group", "print", |
| 154 "testDone", "done" | 164 "error", "testDone", "done" |
| 155 ] | 165 ] |
| 156 } | 166 } |
| 157 } | 167 } |
| 158 } | 168 } |
| 159 } | 169 } |
| 160 ] | 170 ] |
| 161 } | 171 } |
| OLD | NEW |