Page tree
Skip to end of metadata
Go to start of metadata

LightWave Client supports 64-bit and 48-bit timestamp fields. To define a timestamp field in schema, set the field type to "timestamp" and use the size property to indicate if the field is 64 bit or 48 bit, for example:

{
  "TimestampTypes": {
    "anonymous": false,
    "elements": [
      {
        "name": "timestamp64bitJulian",
        "type": "timestamp",
        "size": 8
      },
      {
        "name": "timestamp48bit",
        "type": "timestamp",
        "size": 6
      }
    ]
  }
}

Timestamp Formats

Several standard timestamp formats can be serialized or deserialized from the message body. The timestamp format is specified using the timestampFormat property. The following formats are supported:

timestampFormatdescription
ISO8601ISO8601 Date/Time format as described in RFC 3339. This is the default format used when the timestampFormat property is omitted.
ISO8601:full-dateISO8601 Date/Time full-date format as described in RFC 3339.
RFC2822RFC2822 Date and Time format as desribed in RFC 2822
XSD:dateTimeXSD dateTime format as described in XML Schema Part 2: Datatypes
Schema definition with ISO8601:full-date
{
  "ISO8601Timestamp": {
    "anonymous": false,
    "elements": [
      {
        "name": "theDate",
        "type": "timestamp",
        "size": 8,
		"timestampFormat": "ISO8601:full-date"
      }
    ]
  }
}
  • No labels


LightWave Client 1.2.2