Salesforce · JSON Structure

Salesforce Fields21 Structure

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

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

Properties

AccountNumber Active__c AnnualRevenue BillingCity BillingCountry BillingPostalCode BillingState BillingStreet CreatedBy CreatedById CreatedDate CustomerPriority__c Description Fax Industry LastModifiedBy LastModifiedById LastModifiedDate Name NumberOfEmployees NumberofLocations__c Owner OwnerId Ownership Parent ParentId Phone Rating SLAExpirationDate__c SLASerialNumber__c SLA__c ShippingCity ShippingCountry ShippingPostalCode ShippingState ShippingStreet Sic Site TickerSymbol Type UpsellOpportunity__c Website

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Fields21",
  "properties": {
    "AccountNumber": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Active__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "AnnualRevenue": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingCity": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingCountry": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingPostalCode": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingState": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "BillingStreet": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "CreatedBy": {
      "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"
      ]
    },
    "CreatedById": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "CreatedDate": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "CustomerPriority__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Description": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Fax": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Industry": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "LastModifiedBy": {
      "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"
      ]
    },
    "LastModifiedById": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "LastModifiedDate": {
      "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"
      ]
    },
    "NumberOfEmployees": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "NumberofLocations__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "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"
      ]
    },
    "Ownership": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "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', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Rating": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "SLAExpirationDate__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "SLASerialNumber__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "SLA__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ShippingCity": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ShippingCountry": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ShippingPostalCode": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ShippingState": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "ShippingStreet": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Sic": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Site": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "TickerSymbol": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Type": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "UpsellOpportunity__c": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    },
    "Website": {
      "type": "object",
      "properties": {
        "displayValue": {
          "type": "['string', 'null']"
        },
        "value": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "displayValue",
        "value"
      ]
    }
  },
  "required": [
    "AccountNumber",
    "Active__c",
    "AnnualRevenue",
    "BillingCity",
    "BillingCountry",
    "BillingPostalCode",
    "BillingState",
    "BillingStreet",
    "CreatedBy",
    "CreatedById",
    "CreatedDate",
    "CustomerPriority__c",
    "Description",
    "Fax",
    "Industry",
    "LastModifiedBy",
    "LastModifiedById",
    "LastModifiedDate",
    "Name",
    "NumberOfEmployees",
    "NumberofLocations__c",
    "Owner",
    "OwnerId",
    "Ownership",
    "Parent",
    "ParentId",
    "Phone",
    "Rating",
    "SLAExpirationDate__c",
    "SLASerialNumber__c",
    "SLA__c",
    "ShippingCity",
    "ShippingCountry",
    "ShippingPostalCode",
    "ShippingState",
    "ShippingStreet",
    "Sic",
    "Site",
    "TickerSymbol",
    "Type",
    "UpsellOpportunity__c",
    "Website"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}