{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-get-interpolated-asset-property-values-request-schema.json",
  "title": "GetInterpolatedAssetPropertyValuesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-properties-api-openapi.yml#/components/schemas/GetInterpolatedAssetPropertyValuesRequest",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "The ID of the asset, in UUID format."
    },
    "propertyId": {
      "type": "string",
      "description": "The ID of the asset property, in UUID format."
    },
    "propertyAlias": {
      "type": "string",
      "description": "The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide."
    },
    "startTimeInSeconds": {
      "type": "integer",
      "description": "The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time."
    },
    "startTimeOffsetInNanos": {
      "type": "integer",
      "description": "The nanosecond offset converted from startTimeInSeconds."
    },
    "endTimeInSeconds": {
      "type": "integer",
      "description": "The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time."
    },
    "endTimeOffsetInNanos": {
      "type": "integer",
      "description": "The nanosecond offset converted from endTimeInSeconds."
    },
    "quality": {
      "type": "string",
      "enum": [
        "GOOD",
        "BAD",
        "UNCERTAIN"
      ],
      "description": "The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality."
    },
    "intervalInSeconds": {
      "type": "integer",
      "description": "The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends."
    },
    "nextToken": {
      "type": "string",
      "description": "The token to be used for the next set of paginated results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return for each paginated request. If not specified, the default value is 10."
    },
    "type": {
      "type": "string",
      "description": "The interpolation type. Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION LINEAR_INTERPOLATION – Estimates missing data using linear interpolation. For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on. LOCF_INTERPOLATION – Estimates missing data using last observation carried forward interpolation If no da"
    },
    "intervalWindowInSeconds": {
      "type": "integer",
      "description": "The query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval. If you specify a value for the intervalWindowInSeconds parameter, the value for the type parameter must be LINEAR_INTERPOLATION. If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indi"
    }
  },
  "required": [
    "startTimeInSeconds",
    "endTimeInSeconds",
    "quality",
    "intervalInSeconds",
    "type"
  ]
}