Salesforce S Object Tree Request Structure
SObjectTreeRequest is a JSON Structure definition published by Salesforce, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Properties
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "object",
"name": "SObjectTreeRequest",
"properties": {
"records": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"referenceId": {
"type": "string"
}
},
"required": [
"type",
"referenceId"
]
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"website": {
"type": "string"
},
"numberOfEmployees": {
"type": "string"
},
"industry": {
"type": "string"
},
"Contacts": {
"type": "object",
"properties": {
"records": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object"
},
"lastname": {
"type": "object"
},
"Title": {
"type": "object"
},
"email": {
"type": "object"
}
},
"required": [
"attributes",
"lastname",
"email"
]
}
}
},
"required": [
"records"
]
},
"childAccounts": {
"type": "object",
"properties": {
"records": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"attributes": {
"type": "object"
},
"name": {
"type": "object"
},
"phone": {
"type": "object"
},
"website": {
"type": "object"
},
"numberOfEmployees": {
"type": "object"
},
"industry": {
"type": "object"
}
},
"required": [
"attributes",
"name",
"phone",
"website",
"numberOfEmployees",
"industry"
]
}
}
},
"required": [
"records"
]
}
},
"required": [
"attributes",
"name",
"phone",
"website",
"numberOfEmployees",
"industry",
"Contacts"
]
}
}
},
"required": [
"records"
],
"$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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-structures/salesforce-s-object-tree-request-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.