Salesforce · JSON Structure

Salesforce Fields18 Structure

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

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

Properties

AnnualRevenue BillingCity BillingCountry BillingPostalCode BillingState BillingStreet Industry Name Owner OwnerId Parent ParentId Phone PhotoUrl Site Type Website

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Fields18",
  "properties": {
    "AnnualRevenue": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingCity": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingCountry": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingPostalCode": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingState": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingStreet": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Industry": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Name": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Owner": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "value": {
          "type": "object",
          "properties": {
            "apiName": {
              "type": "string"
            },
            "childRelationships": {
              "type": "object"
            },
            "eTag": {
              "type": "string"
            },
            "fields": {
              "type": "object",
              "properties": {
                "Id": {
                  "type": "object",
                  "properties": {
                    "displayValue": {
                      "type": "['string', 'null']"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "displayValue",
                    "value"
                  ]
                },
                "Name": {
                  "type": "object",
                  "properties": {
                    "displayValue": {
                      "type": "['string', 'null']"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "displayValue",
                    "value"
                  ]
                }
              },
              "required": [
                "Id",
                "Name"
              ]
            },
            "id": {
              "type": "string"
            },
            "lastModifiedById": {
              "type": "string"
            },
            "lastModifiedDate": {
              "type": "string"
            },
            "recordTypeId": {
              "type": "['string', 'null']"
            },
            "recordTypeInfo": {
              "type": "['string', 'null']"
            },
            "systemModstamp": {
              "type": "string"
            },
            "weakEtag": {
              "type": "integer"
            }
          },
          "required": [
            "apiName",
            "childRelationships",
            "eTag",
            "fields",
            "id",
            "lastModifiedById",
            "lastModifiedDate",
            "recordTypeId",
            "recordTypeInfo",
            "systemModstamp",
            "weakEtag"
          ]
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "OwnerId": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Parent": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ParentId": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Phone": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "PhotoUrl": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Site": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Type": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Website": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    }
  },
  "required": [
    "AnnualRevenue",
    "BillingCity",
    "BillingCountry",
    "BillingPostalCode",
    "BillingState",
    "BillingStreet",
    "Industry",
    "Name",
    "Owner",
    "OwnerId",
    "Parent",
    "ParentId",
    "Phone",
    "PhotoUrl",
    "Site",
    "Type",
    "Website"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}