{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-forecast-instance-response-schema.json",
  "title": "forecast.Instance.Response",
  "description": "The response body of a HTTP GET request for the 'forecast.Instance' resource.\nThe value may be one of the following types.\n1. When 'tag' is specified in the URL query, the response schema\n    is a summary of the tag usage.\n1. When '$apply' is specified in the URL query, the response schema\n    is dynamically-generated schema based on the $apply value.\n1. When '$count' is specified in the URL query, the response is\n    a simple object providing the count of the resources.\n1. In all other cases, the response is a list of 'forecast.Instance' resources.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-forecast-api-openapi.yml#/components/schemas/forecast.Instance.Response",
  "x-one-of-name": "forecast.Instance.Response",
  "oneOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.DocumentCount"
    },
    {
      "$ref": "#/$defs/forecast.Instance.List"
    },
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.AggregateTransform"
    },
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.TagSummary"
    }
  ],
  "$defs": {
    "forecast.Catalog": {
      "title": "Forecast:Catalog",
      "description": "A catalog for managing forecast settings.",
      "x-allOf-name": "forecast.Catalog",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'forecast.Catalog', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "forecast.Catalog"
              ],
              "default": "forecast.Catalog",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "forecast.Catalog"
              ],
              "default": "forecast.Catalog",
              "x-enum-as-string": true
            },
            "SchedTime": {
              "description": "The time at which the regression model needs to run for all the metrics specified in catalog.",
              "type": "string",
              "pattern": "^$|^[0-9]{2}:[0-9]{2}:[0-9]{2}",
              "readOnly": true,
              "x-omitempty": true
            },
            "Version": {
              "description": "The catalog version used in forecast configuration service.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "Definition": {
              "description": "An array of relationships to forecastDefinition resources.",
              "type": [
                "array",
                "null"
              ],
              "items": {
                "$ref": "#/$defs/forecast.Definition.Relationship"
              },
              "readOnly": true
            }
          }
        }
      ]
    },
    "forecast.Catalog.Relationship": {
      "description": "A relationship to the 'forecast.Catalog' resource, or the expanded 'forecast.Catalog' resource, or the 'null' value.",
      "x-one-of-name": "forecast.Catalog.Relationship",
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.MoRef"
        },
        {
          "$ref": "#/$defs/forecast.Catalog"
        }
      ]
    },
    "forecast.Definition": {
      "title": "Forecast:Definition",
      "description": "Definition for forecast metric settings.",
      "x-allOf-name": "forecast.Definition",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'forecast.Definition', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "forecast.Definition"
              ],
              "default": "forecast.Definition",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "forecast.Definition"
              ],
              "default": "forecast.Definition",
              "x-enum-as-string": true
            },
            "AlertThresholdInPercentage": {
              "description": "Threshold above which user needs to be indicated through alarm/alert.",
              "type": "integer",
              "format": "int64",
              "minimum": 1,
              "readOnly": true,
              "x-omitempty": true
            },
            "DataSource": {
              "description": "Data source from where we get the data for the metrics to compute regression model. For example Druid.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "MetricName": {
              "description": "Metric for which forecast prediction is done. Metrics are defined in the catalog file. Currently its only HyperFlex cluster storage capacity usage.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "MinNumOfDaysOfData": {
              "description": "Minimum number of days of data required for computing forecast model.",
              "type": "integer",
              "format": "int64",
              "minimum": 3,
              "readOnly": true,
              "x-omitempty": true
            },
            "NumOfDaysOfHistoricalData": {
              "description": "Number of days of data queried from the data source (example Druid ) which is used as input data for computing forecast model.",
              "type": "integer",
              "format": "int64",
              "minimum": 14,
              "readOnly": true,
              "x-omitempty": true
            },
            "PlatformType": {
              "description": "The platform type for which we want to compute forecast. For example HyperFlex, NetworkElement.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "Catalog": {
              "$ref": "#/$defs/forecast.Catalog.Relationship",
              "description": "A reference to a forecastCatalog resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
              "readOnly": true
            }
          }
        }
      ]
    },
    "forecast.Definition.Relationship": {
      "description": "A relationship to the 'forecast.Definition' resource, or the expanded 'forecast.Definition' resource, or the 'null' value.",
      "x-one-of-name": "forecast.Definition.Relationship",
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.MoRef"
        },
        {
          "$ref": "#/$defs/forecast.Definition"
        }
      ]
    },
    "forecast.Instance": {
      "title": "Forecast:Instance",
      "description": "Entity representing forecast result for instance of managed object, ie, data source.",
      "x-allOf-name": "forecast.Instance",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'forecast.Instance', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "forecast.Instance"
              ],
              "default": "forecast.Instance",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "forecast.Instance"
              ],
              "default": "forecast.Instance",
              "x-enum-as-string": true
            },
            "Action": {
              "description": "Action to be triggered on forecast instance. Default value is None.\n* `None` - The Enum value None represents that no action is triggered on the forecast Instance managed object.\n* `Evaluate` - The Enum value Evaluate represents that a re-evaluation of the forecast needs to be triggered.",
              "type": "string",
              "enum": [
                "None",
                "Evaluate"
              ],
              "default": "None",
              "x-omitempty": true
            },
            "AltModel": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "description": "Experimental predictive model generated from the historical data using experimental algorithm. The two models are used to plot and do a comparision.",
                "type": "number",
                "readOnly": true,
                "x-omitempty": true
              }
            },
            "DataInterval": {
              "description": "The time interval (in days) for the data to be used for computing forecast model.",
              "type": "integer",
              "format": "int64",
              "default": 180,
              "minimum": 60,
              "maximum": 365,
              "x-omitempty": true
            },
            "DataStartDate": {
              "description": "The start date from when the data should be used for computing forecast model.",
              "type": "string",
              "format": "date-time",
              "x-omitempty": true
            },
            "DeviceId": {
              "description": "The Moid of the Intersight managed device instance for which regression model is derived.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "FullCapDays": {
              "description": "The number of days remaining before the device reaches its full functional capacity.",
              "type": "integer",
              "format": "int64",
              "readOnly": true,
              "x-omitempty": true
            },
            "LastModelUpdateTime": {
              "description": "The time when the forecast model was last updated.",
              "type": "string",
              "format": "date-time",
              "readOnly": true,
              "x-omitempty": true
            },
            "MetricName": {
              "description": "The name of the metric for which regression model is generated.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "MinDaysForForecast": {
              "description": "The minimum number of days the HyperFlex cluster should be up for computing forecast.",
              "type": "integer",
              "format": "int64",
              "readOnly": true,
              "x-omitempty": true
            },
            "Model": {
              "description": "Predictive model generated from the historical data of a device or source.",
              "$ref": "#/$defs/forecast.Model",
              "readOnly": true,
              "x-omitempty": true
            },
            "ThresholdDays": {
              "description": "The number of days remaining before the device reaches the specified threshold for the metric as defined in definition.",
              "type": "integer",
              "format": "int64",
              "default": 2147483647,
              "readOnly": true,
              "x-omitempty": true
            },
            "ForecastDef": {
              "$ref": "#/$defs/forecast.Definition.Relationship",
              "description": "A reference to a forecastDefinition resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
              "readOnly": true
            },
            "RegisteredDevice": {
              "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/asset.DeviceRegistration.Relationship",
              "description": "A reference to a assetDeviceRegistration resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
              "readOnly": true
            }
          }
        }
      ]
    },
    "forecast.Instance.List": {
      "title": "List of 'forecast.Instance' resources",
      "description": "This resource list is returned as a response to a HTTP GET request that does not include a specific resource identifier.",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseResponse"
        },
        {
          "type": "object",
          "properties": {
            "Count": {
              "description": "The total number of 'forecast.Instance' resources matching the request, accross all pages.\nThe 'Count' attribute is included when the HTTP GET request includes the '$inlinecount' parameter.",
              "type": "integer",
              "format": "int32"
            },
            "Results": {
              "description": "The array of 'forecast.Instance' resources matching the request.",
              "type": [
                "array",
                "null"
              ],
              "items": {
                "$ref": "#/$defs/forecast.Instance"
              }
            }
          }
        }
      ]
    },
    "forecast.Model": {
      "title": "Forecast:Model",
      "description": "Model encapsulates model type and the model generated based on the type for computing forecast. For example if linear regression predictive modeling is used then the model data contains slope, coefficient and RMSE.",
      "x-allOf-name": "forecast.Model",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseComplexType"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'forecast.Model', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "forecast.Model"
              ],
              "default": "forecast.Model",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "forecast.Model"
              ],
              "default": "forecast.Model",
              "x-enum-as-string": true
            },
            "Accuracy": {
              "description": "The standard error of the estimate is a measure of the accuracy of predictions from predictive modeling.",
              "type": "number",
              "format": "float",
              "readOnly": true,
              "x-omitempty": true
            },
            "ModelData": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "description": "The collection of model data returned by running a predictive modeling. Data can range from slope, coefficient and more depending on the type of model used.",
                "type": "number",
                "readOnly": true,
                "x-omitempty": true
              }
            },
            "ModelType": {
              "description": "Model type indicating type of predictive model used for computing forecast.\n* `Linear` - The Enum value Linear represents that the predictive model type used for forecast computation is linear regression.",
              "type": "string",
              "enum": [
                "Linear"
              ],
              "default": "Linear",
              "readOnly": true,
              "x-omitempty": true
            }
          }
        }
      ]
    }
  }
}