1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type representing 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)
- Colour information
- Intensity
- Annotations
- Rights
3 Syntax
https://schemas.mpai.community/OSD/V1.4/data/LightSource.json
4 Semantics
Label | Description |
Header | Light Source Header |
– Standard-LightSource | The characters “OSD-LTS-V” |
– Version | Major version – 1 or 2 characters |
– Dot-separator | The character “.” |
– Subversion | Minor version – 1 or 2 characters |
MInstanceID | Identifier of M-Instance. |
LightSourceID | Identifier of the Light Source. |
LightSourceSpaceTime | Space-Time information of the Light Source. |
LightSourceType | One of the following: |
– Point | Point-like source |
– Directional | – Azimuth – Elevation |
– Spotlight | – Azimuth – Elevation – Angle – Blend (0 ≤ 1) representing the fall out rate of the light at the border of the basis of the cone. |
– Area | Characterised by Shape |
ColourInformation | Collection of different types, one to be selected |
– RGB | Numbers for Red, Green, and Blue. |
– CMYK | Numbers for Cyan, Magenta, Yellow, and Black. |
– CIELAB | Numbers for L*, a*, and b* |
– HSV | Numbers for Hue, Saturation, and Value. |
Intensity | Measured in Watt. |
LightSourceAnnotation | Annotations of Visual Data |
– Annotation | ID of Annotation |
– AnnotationSpaceTime | Where/when Annotation is attached. |
– RightsID | Rights that may be exercised on the Annotation |
LightSourceRights | Rights that may be exercised on the Light Source. |
DescrMetadata | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Light Source 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.