Salesforce · JSON Structure

Salesforce Paths Structure

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

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

Properties

/sobjects/Contact

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Paths",
  "properties": {
    "/sobjects/Contact": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "get": {
          "type": "object",
          "properties": {
            "responses": {
              "type": "object"
            }
          },
          "required": [
            "responses"
          ]
        },
        "post": {
          "type": "object",
          "properties": {
            "parameters": {
              "type": "array",
              "description": "",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "in": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "schema": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "type"
                    ]
                  }
                },
                "required": [
                  "name",
                  "in",
                  "description",
                  "required",
                  "schema"
                ]
              }
            },
            "requestBody": {
              "type": "object",
              "properties": {
                "content": {
                  "type": "object",
                  "properties": {
                    "application/json": {
                      "type": "object",
                      "properties": {
                        "schema": {
                          "type": "object"
                        }
                      },
                      "required": [
                        "schema"
                      ]
                    }
                  },
                  "required": [
                    "application/json"
                  ]
                }
              },
              "required": [
                "content"
              ]
            },
            "responses": {
              "type": "object"
            }
          },
          "required": [
            "parameters",
            "requestBody",
            "responses"
          ]
        }
      },
      "required": [
        "description",
        "get",
        "post"
      ]
    }
  },
  "required": [
    "/sobjects/Contact"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}