Salesforce · JSON Structure

Salesforce Donor1 Structure

Type: object Properties: 8 Required: 8
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

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

Properties

donorType id firstName lastName phone email address accountCustomFields

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Donor1",
  "properties": {
    "donorType": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "address": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "addressType": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        },
        "required": [
          "addressType",
          "street",
          "city",
          "state",
          "postalCode",
          "country"
        ]
      }
    },
    "accountCustomFields": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string"
          },
          "fieldValue": {
            "type": "string"
          }
        },
        "required": [
          "fieldName",
          "fieldValue"
        ]
      }
    }
  },
  "required": [
    "donorType",
    "id",
    "firstName",
    "lastName",
    "phone",
    "email",
    "address",
    "accountCustomFields"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}