Salesforce · JSON Structure

Salesforce Save Result Structure

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

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

Properties

type properties

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SaveResult",
  "properties": {
    "type": {
      "type": "string"
    },
    "properties": {
      "type": "object",
      "properties": {
        "success": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ]
        },
        "id": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ]
        },
        "errors": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "properties": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "fields": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        },
                        "items": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type",
                        "items"
                      ]
                    },
                    "statusCode": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "extendedErrorDetails": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        },
                        "items": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type",
                        "items"
                      ]
                    }
                  },
                  "required": [
                    "message",
                    "fields",
                    "statusCode",
                    "extendedErrorDetails"
                  ]
                }
              },
              "required": [
                "type",
                "properties"
              ]
            }
          },
          "required": [
            "type",
            "items"
          ]
        },
        "warnings": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "properties": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "statusCode": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "extendedDetails": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        },
                        "items": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type",
                        "items"
                      ]
                    }
                  },
                  "required": [
                    "message",
                    "statusCode",
                    "extendedDetails"
                  ]
                }
              },
              "required": [
                "type",
                "properties"
              ]
            }
          },
          "required": [
            "type",
            "items"
          ]
        },
        "infos": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "properties": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "statusCode": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type"
                      ]
                    },
                    "extendedDetails": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object"
                        },
                        "items": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "type",
                        "items"
                      ]
                    }
                  },
                  "required": [
                    "message",
                    "statusCode",
                    "extendedDetails"
                  ]
                }
              },
              "required": [
                "type",
                "properties"
              ]
            }
          },
          "required": [
            "type",
            "items"
          ]
        }
      },
      "required": [
        "success",
        "id",
        "errors",
        "warnings",
        "infos"
      ]
    }
  },
  "required": [
    "type",
    "properties"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}