{ "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" }