Amazon IoT SiteWise · JSON Structure

Iot Sitewise Timestamps Structure

Timestamps schema

Type: array Properties: 0
Asset ManagementIndustrial IoTIoTTime Series Data

Timestamps is a JSON Structure definition published by Amazon IoT SiteWise. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-sitewise/refs/heads/main/json-structure/iot-sitewise-timestamps-structure.json",
  "name": "Timestamps",
  "description": "Timestamps schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "timeInSeconds"
    ],
    "properties": {
      "timeInSeconds": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimeInSeconds"
          },
          {
            "description": "The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by <code>offsetInNanos</code>."
          }
        ]
      },
      "offsetInNanos": {
        "allOf": [
          {
            "$ref": "#/components/schemas/OffsetInNanos"
          },
          {
            "description": "The nanosecond offset from <code>timeInSeconds</code>."
          }
        ]
      }
    },
    "description": "Contains a timestamp with optional nanosecond granularity."
  }
}