1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
Texture (OSD-TXT) is information about the surface of an object.
2 Functional Requirements
A Texture may include:
- Visual Characteristics
- Reflectivity
- Diffusion
- Transparency
- Sound Characteristics
- Reflectivity
- Diffusion
- Absorption
3 Syntax
https://schemas.mpai.community/OSD/V1.4/data/Texture.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Texture Header |
– Standard-Texture | 9 Bytes | The characters “OSD-TXT-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 |
M-InstanceID | N4 Bytes | Identifier of M-Instance. |
TextureID | N5 Bytes | Identifier of Texture. |
VisualCharactteristics | N6 Bytes | Visual Charactteristics |
Reflectivity | N7 Bytes | |
Diffusion | N8 Bytes | |
Transparency | N9 Bytes | |
SoundCharactteristics | N10 Bytes | Sound Charactteristics |
Reflectivity | N11 Bytes | |
Diffusion | N12 Bytes | |
Absorption | N13 Bytes | |
TextureRights | N14 Bytes | Rights to Act on the Texture. |
DescrMetadata | N15 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Texture (OSD-TXT) V1.4 if:
- The Data validates against the Texture’s JSON Schema.
- All Data in the Texture’s JSON Schema
- Have the specified type
- Validate against their JSON Schemas
- Conform with their Data Qualifiers, if present.