PredictionDefinition

Artificial IntelligenceComputer VisionCRMMachine LearningNatural Language ProcessingPredictive AnalyticsSalesforce

Properties

Name Type Description
id string Unique prediction definition identifier.
label string Display label for the prediction.
name string API name of the prediction definition.
status string Status of the prediction definition.
outcome object
predictionType string Type of prediction.
sobjectType string Salesforce object the prediction is built on.
pushbackField string Field where prediction scores are written.
countOfModels integer Number of models associated with this definition.
createdDate string
lastModifiedDate string
View JSON Schema on GitHub

JSON Schema

salesforce-einstein-predictiondefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PredictionDefinition",
  "title": "PredictionDefinition",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique prediction definition identifier."
    },
    "label": {
      "type": "string",
      "description": "Display label for the prediction."
    },
    "name": {
      "type": "string",
      "description": "API name of the prediction definition."
    },
    "status": {
      "type": "string",
      "enum": [
        "Draft",
        "Enabled",
        "Disabled"
      ],
      "description": "Status of the prediction definition."
    },
    "outcome": {
      "$ref": "#/components/schemas/Outcome"
    },
    "predictionType": {
      "type": "string",
      "enum": [
        "Boolean",
        "Categorical",
        "Numeric"
      ],
      "description": "Type of prediction."
    },
    "sobjectType": {
      "type": "string",
      "description": "Salesforce object the prediction is built on."
    },
    "pushbackField": {
      "type": "string",
      "description": "Field where prediction scores are written."
    },
    "countOfModels": {
      "type": "integer",
      "description": "Number of models associated with this definition."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastModifiedDate": {
      "type": "string",
      "format": "date-time"
    }
  }
}