1     Definition 2     Functional Requirements 3     Syntax
4     Semantics 5    Conformance Testing 6     Performance Assessment

1      Definition

The start time and the end time of a duration.

2      Functional Requirements

Origin of Time can be Absolute (from 1970/01/01) or relative to a user-selected value.

3      Syntax

https://schemas.mpai.community/OSD/V1.2/data/Time.json

4      Semantics

Label Size Description
Header N1 Bytes Time Header
– Standard-Object 9 Bytes The characters “OSD-TIM-V”
– Version N2 Bytes Major version – 1 or 2 characters
– Dot-separator 1 Byte The character “.”
– Subversion N3 Bytes Minor version – 1 or 2 characters
MInstanceID N4 Bytes Identifier of M-Instance
TimeID N5 Bytes Identifier of M-Instance.
TimeData 17 Bytes Data about Time
– TimeType 0 bit 0=Relative: start at 0000/00/00T00:00
1=Absolute: start at 1970/01/01T00:00.
– TimeUnit 1-5 reserved
– Reserved 6-7 bits 00=seconds, 01=milliseconds, 10=microseconds, 11=nanoseconds.
– StartTime 8 Bytes Start of Time.
– EndTime 8 Bytes End of Time.
DescrMetadata N6 Bytes Descriptive Metadata

5     Conformance Testing

A Data instance Conforms with MPAI-OSD V1.2  (OSD-) if:

  1. The Data validates against the Times’s JSON Schema.
  2. All Data in the  Times’s JSON Schema have the specified type.

6     Performance Assessment