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

1      Definition

The digital representation of (duration of) time specified by MPAI.

2      Functional Requirements

Time includes start time and the end time of a duration. The 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.4/data/BasicTime.json

4      Semantics

Label Description
Header Basic Time Header
– Standard-BasicTime The characters “OSD-BTM-V”
– Version Major version – 1 or 2 characters
– Dot-separator The character “.”
– Subversion Minor version – 1 or 2 characters
MInstanceID Identifier of M-Instance
BasicTimeID Identifier of M-Instance.
BasicTimeData Data about Time
– TimeType 0=Relative: start at 0000/00/00T00:00
1=Absolute: start at 1970/01/01T00:00.
– Reserved reserved
– TimeUnit 00=seconds, 01=milliseconds, 10=microseconds, 11=nanoseconds.
– StartTime Start of Time.
– EndTime End of Time.
DescrMetadata Descriptive Metadata

5     Conformance Testing

A Data instance Conforms with OSD-BTM if:

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

6     Performance Assessment