{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-forecast-definition-schema.json",
  "title": "Forecast:Definition",
  "description": "Definition for forecast metric settings.",
  "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.Definition",
  "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
        }
      }
    }
  ],
  "$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"
        }
      ]
    }
  }
}