Amazon IoT SiteWise · JSON Structure

Iot Sitewise Time In Nanos Structure

Contains a timestamp with optional nanosecond granularity.

Type: object Properties: 2 Required: 1
Asset ManagementIndustrial IoTIoTTime Series Data

TimeInNanos is a JSON Structure definition published by Amazon IoT SiteWise, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

timeInSeconds offsetInNanos

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-time-in-nanos-structure.json",
  "name": "TimeInNanos",
  "description": "Contains a timestamp with optional nanosecond granularity.",
  "type": "object",
  "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>."
        }
      ]
    }
  },
  "required": [
    "timeInSeconds"
  ]
}