Salesforce · JSON Structure

Salesforce Test Result Structure

Type: object Properties: 11 Required: 7
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

TestResult is a JSON Structure definition published by Salesforce, describing 11 properties, of which 7 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

actualValue endTime errorCode expectedValue metricLabel name result score startTime status metricExplainability

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "TestResult",
  "properties": {
    "actualValue": {
      "type": "string"
    },
    "endTime": {
      "type": "string"
    },
    "errorCode": {
      "type": "integer"
    },
    "expectedValue": {
      "type": "string"
    },
    "metricLabel": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "result": {
      "type": "string"
    },
    "score": {
      "type": "integer"
    },
    "startTime": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "metricExplainability": {
      "type": "string"
    }
  },
  "required": [
    "endTime",
    "errorCode",
    "metricLabel",
    "name",
    "score",
    "startTime",
    "status"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}