Go to MPAI-OSD V1.5 Data Types

Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
Performance Assessment

1    Definition

The digital representation of a time value.

2    Functional Requirements

No specific representation is assumed, the representation is determined by the associated TimeQualifier that may be specified by MPAI or other Standard Development Organisations.
It supports:

  • Point, Interval, or Duration semantics (defined in TimeQualifier).
  • Formats such as ISO 8601, SMPTE, MIDI/MTC, or MPAI SimpleTime (Time Qualifier).

3    Syntax

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

4    Semantics

Table 1 – Semantics of the Time Data Type

Label Description
Header Time Header – Standard “OSD-TIM-Vx.y”
MInstanceID ID of the relevant Virtual Space.
TimeID Identifier of this Time instance.
Data Time value encoded per the Qualifier’s Format and Kind (point, interval, duration).
Qualifier Qualifier of this Time instance (see TimeQualifier V1.5)
Accuracy Numeric accuracy information (optional)
DescrMetadata Human-readable descriptive metadata of the Time instance (plain text, max 2048 characters).

5    Conformance Testing

A Data instance conforms with Time (OSD-TIM) if:

  1. The Data validates against the Time JSON Schema.
  2. All Data in the Time JSON Schema:
    1. Have the specified type.
    2. Validate against their JSON Schemas.
    3. Conform with their Data Qualifiers.

6    Performance Assessment

Not part of this specification.

Go to MPAI-OSD V1.5 Data Types