Salesforce · JSON Structure

Salesforce Predictiondefinitions Structure

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

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

Properties

nextPageUrl predictionDefinitions totalSize url

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Predictiondefinitions",
  "properties": {
    "nextPageUrl": {
      "type": "['string', 'null']"
    },
    "predictionDefinitions": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "countOfActiveModels": {
            "type": "integer"
          },
          "countOfModels": {
            "type": "integer"
          },
          "createdBy": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "profilePhotoUrl": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "profilePhotoUrl"
            ]
          },
          "createdDate": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "profilePhotoUrl": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "profilePhotoUrl"
            ]
          },
          "lastModifiedDate": {
            "type": "string"
          },
          "modelsUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "type": "object",
            "properties": {
              "goal": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "goal",
              "label",
              "name"
            ]
          },
          "predictionType": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "countOfActiveModels",
          "countOfModels",
          "createdBy",
          "createdDate",
          "id",
          "label",
          "lastModifiedBy",
          "lastModifiedDate",
          "modelsUrl",
          "name",
          "outcome",
          "predictionType",
          "status",
          "url"
        ]
      }
    },
    "totalSize": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "nextPageUrl",
    "predictionDefinitions",
    "totalSize",
    "url"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}