{
  "$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"
  ]
}