Salesforce · JSON Structure

Salesforce Test Case Structure

Type: object Properties: 7 Required: 7
Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

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

Properties

endTime generatedData inputs startTime status testNumber testResults

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "TestCase",
  "properties": {
    "endTime": {
      "type": "string"
    },
    "generatedData": {
      "type": "object",
      "properties": {
        "actionsSequence": {
          "type": "string"
        },
        "invokedActions": {
          "type": "string"
        },
        "outcome": {
          "type": "string"
        },
        "sessionId": {
          "type": "string"
        },
        "topic": {
          "type": "string"
        },
        "citations": {
          "type": "string"
        }
      },
      "required": [
        "actionsSequence",
        "invokedActions",
        "outcome",
        "sessionId",
        "topic"
      ]
    },
    "inputs": {
      "type": "object",
      "properties": {
        "contextVariables": {
          "type": "object"
        },
        "conversationHistory": {
          "type": "array",
          "description": "",
          "items": {
            "type": "string"
          }
        },
        "utterance": {
          "type": "string"
        }
      },
      "required": [
        "contextVariables",
        "conversationHistory",
        "utterance"
      ]
    },
    "startTime": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "testNumber": {
      "type": "integer"
    },
    "testResults": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "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"
        ]
      }
    }
  },
  "required": [
    "endTime",
    "generatedData",
    "inputs",
    "startTime",
    "status",
    "testNumber",
    "testResults"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/salesforce-test-case-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.