ToolingRunTestsSync is a JSON Structure definition published by Salesforce, describing 10 properties, of which 10 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"name": "ToolingRunTestsSync",
"properties": {
"apexLogId": {
"type": "string"
},
"codeCoverage": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"locationsNotCovered": {
"type": "array",
"description": "",
"items": {
"type": "object"
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "['string', 'null']"
},
"numLocations": {
"type": "integer"
},
"numLocationsNotCovered": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"locationsNotCovered",
"name",
"namespace",
"numLocations",
"numLocationsNotCovered",
"type"
]
}
},
"codeCoverageWarnings": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"name": {
"type": "['string', 'null']"
},
"namespace": {
"type": "['string', 'null']"
}
},
"required": [
"id",
"message",
"name",
"namespace"
]
}
},
"failures": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"flowCoverage": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"flowCoverageWarnings": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
},
"numFailures": {
"type": "integer"
},
"numTestsRun": {
"type": "integer"
},
"successes": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"methodName": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "['string', 'null']"
},
"seeAllData": {
"type": "boolean"
},
"time": {
"type": "integer"
}
},
"required": [
"id",
"methodName",
"name",
"namespace",
"seeAllData",
"time"
]
}
},
"totalTime": {
"type": "integer"
}
},
"required": [
"apexLogId",
"codeCoverage",
"codeCoverageWarnings",
"failures",
"flowCoverage",
"flowCoverageWarnings",
"numFailures",
"numTestsRun",
"successes",
"totalTime"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}