Salesforce · Schema

Post

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
parameters array
requestBody object
responses object
View JSON Schema on GitHub

JSON Schema

salesforce-post-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "parameters": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Example Title"
          },
          "in": {
            "type": "string",
            "example": "example_value"
          },
          "description": {
            "type": "string",
            "example": "A sample description."
          },
          "required": {
            "type": "boolean",
            "example": true
          },
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "example": "example_value"
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "name",
          "in",
          "description",
          "required",
          "schema"
        ]
      }
    },
    "requestBody": {
      "type": "object",
      "properties": {
        "content": {
          "type": "object",
          "properties": {
            "application/json": {
              "type": "object",
              "properties": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "$ref": {
                      "type": "string",
                      "example": "example_value"
                    }
                  },
                  "required": [
                    "$ref"
                  ]
                }
              },
              "required": [
                "schema"
              ]
            }
          },
          "required": [
            "application/json"
          ]
        }
      },
      "required": [
        "content"
      ]
    },
    "responses": {
      "type": "object",
      "example": "example_value"
    }
  },
  "required": [
    "parameters",
    "requestBody",
    "responses"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Post"
}