PredictionDefinitionInput

Artificial IntelligenceComputer VisionCRMMachine LearningNatural Language ProcessingPredictive AnalyticsSalesforce

Properties

Name Type Description
label string Display label for the prediction.
name string API name of the prediction definition.
outcome object
predictionType string
sobjectType string Salesforce object to predict on.
pushbackField string Field to write prediction scores to.
View JSON Schema on GitHub

JSON Schema

salesforce-einstein-predictiondefinitioninput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PredictionDefinitionInput",
  "title": "PredictionDefinitionInput",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Display label for the prediction."
    },
    "name": {
      "type": "string",
      "description": "API name of the prediction definition."
    },
    "outcome": {
      "$ref": "#/components/schemas/Outcome"
    },
    "predictionType": {
      "type": "string",
      "enum": [
        "Boolean",
        "Categorical",
        "Numeric"
      ]
    },
    "sobjectType": {
      "type": "string",
      "description": "Salesforce object to predict on."
    },
    "pushbackField": {
      "type": "string",
      "description": "Field to write prediction scores to."
    }
  },
  "required": [
    "label",
    "sobjectType",
    "predictionType"
  ]
}