{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-describe-auto-predictor-response-schema.json",
  "title": "DescribeAutoPredictorResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-forecast-operations-api-openapi.yml#/components/schemas/DescribeAutoPredictorResponse",
  "type": "object",
  "properties": {
    "PredictorArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the predictor"
    },
    "PredictorName": {
      "type": "string",
      "description": "The name of the predictor."
    },
    "ForecastHorizon": {
      "type": "integer",
      "description": "The number of time-steps that the model predicts. The forecast horizon is also called the prediction length."
    },
    "ForecastTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The forecast types used during predictor training. Default value is [\"0.1\",\"0.5\",\"0.9\"]."
    },
    "ForecastFrequency": {
      "type": "string",
      "description": "The frequency of predictions in a forecast. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, \"Y\" indicates every year and \"5min\" indicates every five minutes."
    },
    "ForecastDimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of dimension (field) names that specify the attributes used to group your time series."
    },
    "DatasetImportJobArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of the ARNs of the dataset import jobs used to import training data for the predictor."
    },
    "DataConfig": {
      "$ref": "#/$defs/DataConfig"
    },
    "EncryptionConfig": {
      "$ref": "#/$defs/EncryptionConfig"
    },
    "ReferencePredictorSummary": {
      "$ref": "#/$defs/ReferencePredictorSummary"
    },
    "EstimatedTimeRemainingInMinutes": {
      "type": "integer",
      "description": "The estimated time remaining in minutes for the predictor training job to complete."
    },
    "Status": {
      "type": "string",
      "description": "The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED"
    },
    "Message": {
      "type": "string",
      "description": "In the event of an error, a message detailing the cause of the error."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the CreateAutoPredictor request."
    },
    "LastModificationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed."
    },
    "OptimizationMetric": {
      "type": "string",
      "enum": [
        "WAPE",
        "RMSE",
        "AverageWeightedQuantileLoss",
        "MASE",
        "MAPE"
      ],
      "description": "The accuracy metric used to optimize the predictor."
    },
    "ExplainabilityInfo": {
      "$ref": "#/$defs/ExplainabilityInfo"
    },
    "MonitorInfo": {
      "$ref": "#/$defs/MonitorInfo"
    },
    "TimeAlignmentBoundary": {
      "$ref": "#/$defs/TimeAlignmentBoundary"
    }
  },
  "$defs": {
    "AdditionalDataset": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the additional dataset. Valid names: \"holiday\" and \"weather\"."
        },
        "Configuration": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "Weather Index To enable the Weather Index, do not specify a value for Configuration. Holidays Holidays To enable Holidays, set CountryCode to one of the following two-letter country codes: \"AL\" - ALBANIA \"AR\" - ARGENTINA \"AT\" - AUSTRIA \"AU\" - AUSTRALIA \"BA\" - BOSNIA HERZEGOVINA \"BE\" - BELGIUM \"BG\" - BULGARIA \"BO\" - BOLIVIA \"BR\" - BRAZIL \"BY\" - BELARUS \"CA\" - CANADA \"CL\" - CHILE \"CO\" - COLOMBIA \"CR\" - COSTA RICA \"HR\" - CROATIA \"CZ\" - CZECH REPUBLIC \"DK\" - DENMARK \"EC\" - ECUADOR \"EE\" - ESTONIA \"ET\" - ETHIOPIA \"FI\" - FINLAND \"FR\" - FRANCE \"DE\" - GERMANY \"GR\" - GREECE \"HU\" - HUNGARY \"IS\" - ICELAND"
        }
      },
      "required": [
        "Name"
      ]
    },
    "AttributeConfig": {
      "type": "object",
      "properties": {
        "AttributeName": {
          "type": "string",
          "description": "The name of the attribute as specified in the schema. Amazon Forecast supports the target field of the target time series and the related time series datasets. For example, for the RETAIL domain, the target is demand."
        },
        "Transformations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The method parameters (key-value pairs), which are a map of override parameters. Specify these parameters to override the default values. Related Time Series attributes do not accept aggregation parameters. The following list shows the parameters and their valid values for the \"filling\" featurization method for a Target Time Series dataset. Default values are bolded. aggregation: sum, avg, first, min, max frontfill: none middlefill: zero, nan (not a number), value, median, mean, min, max backfill: zero, nan, value, median, mean, min, max The following list shows the parameters and their valid "
        }
      },
      "required": [
        "AttributeName",
        "Transformations"
      ]
    },
    "DataConfig": {
      "type": "object",
      "properties": {
        "DatasetGroupArn": {
          "type": "string",
          "description": "The ARN of the dataset group used to train the predictor."
        },
        "AttributeConfigs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttributeConfig"
          },
          "description": "Aggregation and filling options for attributes in your dataset group."
        },
        "AdditionalDatasets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdditionalDataset"
          },
          "description": "Additional built-in datasets like Holidays and the Weather Index."
        }
      },
      "required": [
        "DatasetGroupArn"
      ]
    },
    "EncryptionConfig": {
      "type": "object",
      "properties": {
        "RoleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that Amazon Forecast can assume to access the KMS key. Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error."
        },
        "KMSKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key."
        }
      },
      "required": [
        "RoleArn",
        "KMSKeyArn"
      ]
    },
    "ExplainabilityInfo": {
      "type": "object",
      "properties": {
        "ExplainabilityArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Explainability."
        },
        "Status": {
          "type": "string",
          "description": "The status of the Explainability. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED"
        }
      }
    },
    "MonitorInfo": {
      "type": "object",
      "properties": {
        "MonitorArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the monitor resource."
        },
        "Status": {
          "type": "string",
          "description": "The status of the monitor. States include: ACTIVE ACTIVE_STOPPING, ACTIVE_STOPPED UPDATE_IN_PROGRESS CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED"
        }
      }
    },
    "ReferencePredictorSummary": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The ARN of the reference predictor."
        },
        "State": {
          "type": "string",
          "enum": [
            "Active",
            "Deleted"
          ],
          "description": "Whether the reference predictor is Active or Deleted."
        }
      }
    },
    "TimeAlignmentBoundary": {
      "type": "object",
      "properties": {
        "Month": {
          "type": "string",
          "enum": [
            "JANUARY",
            "FEBRUARY",
            "MARCH",
            "APRIL",
            "MAY",
            "JUNE",
            "JULY",
            "AUGUST",
            "SEPTEMBER",
            "OCTOBER",
            "NOVEMBER",
            "DECEMBER"
          ],
          "description": "The month to use for time alignment during aggregation. The month must be in uppercase."
        },
        "DayOfMonth": {
          "type": "integer",
          "description": "The day of the month to use for time alignment during aggregation."
        },
        "DayOfWeek": {
          "type": "string",
          "enum": [
            "MONDAY",
            "TUESDAY",
            "WEDNESDAY",
            "THURSDAY",
            "FRIDAY",
            "SATURDAY",
            "SUNDAY"
          ],
          "description": "The day of week to use for time alignment during aggregation. The day must be in uppercase."
        },
        "Hour": {
          "type": "integer",
          "description": "The hour of day to use for time alignment during aggregation."
        }
      }
    }
  }
}