1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type describing a light source and its characteristics.
2 Functional Requirements
A Light Source may include:
- The ID of the M-Instance where it is located.
- The Light Source’s
- ID.
- Time-Space information.
- Type (shape).
- Intensity.
- Frequency spectrum.
- Colour temperature.
3 Syntax
https://schemas.mpai.community/OSD/V1.4/data/LightSource.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Light Source Header |
– Standard-LightSource | 9 Bytes | The characters “OSD-LTS-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. |
LightSourceID | N5 Bytes | Identifier of the Light Source. |
LightSourceSpaceTime | N6 Bytes | Space-Time information of the Light Source. |
LightSourceType | N7 Bytes | One of the following: |
– Point | N8 Bytes | Point-like source |
– Directional | N9 Bytes | Characterised by Azimuth and Elevation |
– Spotlight | N10 Bytes | Characterised by Azimuth, Elevation, and Angle |
– Area | N11 Bytes | Characterised by Shape |
LightSourceSpectrum | N12 Bytes | Table with frequency and intensity columns. |
ColourTemperature | N13 Bytes | Measured in K. |
LightSourceAnnotation | N14 Bytes | Annotations of Visual Data |
– Annotation | N15 Bytes | ID of Annotation |
– AnnotationSpaceTime | N16 Bytes | Where/when Annotation is attached. |
– RightsID | N17 Bytes | Rights that may be exercised on the Annotation |
LightSourceRights | N18 Bytes | Rights that may be exercised on the Light Source. |
DescrMetadata | N18 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Light Source V1.4 if:
- The Data validates against the Light Source’s JSON Schema.
- All Data in the LightSource’s JSON Schema
- Have the specified type
- Validate against their JSON Schemas
- Conform with their Data Qualifiers, if present.