Salesforce · JSON Structure

Salesforce Record2 Structure

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

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

Properties

attributes name phone website numberOfEmployees industry Contacts childAccounts

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Record2",
  "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",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "referenceId": {
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "referenceId"
                ]
              },
              "lastname": {
                "type": "string"
              },
              "Title": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "attributes",
              "lastname",
              "email"
            ]
          }
        }
      },
      "required": [
        "records"
      ]
    },
    "childAccounts": {
      "type": "object",
      "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"
              }
            },
            "required": [
              "attributes",
              "name",
              "phone",
              "website",
              "numberOfEmployees",
              "industry"
            ]
          }
        }
      },
      "required": [
        "records"
      ]
    }
  },
  "required": [
    "attributes",
    "name",
    "phone",
    "website",
    "numberOfEmployees",
    "industry",
    "Contacts"
  ],
  "$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-record2-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.