{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-list-explainabilities-response-schema.json",
  "title": "ListExplainabilitiesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-forecast-explainability-api-openapi.yml#/components/schemas/ListExplainabilitiesResponse",
  "type": "object",
  "properties": {
    "Explainabilities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExplainabilitySummary"
      },
      "description": "An array of objects that summarize the properties of each Explainability resource."
    },
    "NextToken": {
      "type": "string",
      "description": "Returns this token if the response is truncated. To retrieve the next set of results, use the token in the next request."
    }
  },
  "$defs": {
    "ExplainabilityConfig": {
      "type": "object",
      "properties": {
        "TimeSeriesGranularity": {
          "type": "string",
          "enum": [
            "ALL",
            "SPECIFIC"
          ],
          "description": "To create an Explainability for all time series in your datasets, use ALL. To create an Explainability for specific time series in your datasets, use SPECIFIC. Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location within the DataDestination data type."
        },
        "TimePointGranularity": {
          "type": "string",
          "enum": [
            "ALL",
            "SPECIFIC"
          ],
          "description": "To create an Explainability for all time points in your forecast horizon, use ALL. To create an Explainability for specific time points in your forecast horizon, use SPECIFIC. Specify time points with the StartDateTime and EndDateTime parameters within the CreateExplainability operation."
        }
      },
      "required": [
        "TimeSeriesGranularity",
        "TimePointGranularity"
      ]
    },
    "ExplainabilitySummary": {
      "type": "object",
      "properties": {
        "ExplainabilityArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Explainability."
        },
        "ExplainabilityName": {
          "type": "string",
          "description": "The name of the Explainability."
        },
        "ResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability."
        },
        "ExplainabilityConfig": {
          "$ref": "#/$defs/ExplainabilityConfig"
        },
        "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"
        },
        "Message": {
          "type": "string",
          "description": "Information about any errors that may have occurred during the Explainability creation process."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the Explainability was created."
        },
        "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."
        }
      }
    }
  }
}