1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type including a collection of Basic Text Objects.
A Text Object can have a hierarchical structure where Text Objects contain Basic Text Objects and Text Objects.
2 Functional Requirements
A Text Object may include:
- ID of a Virtual Space (M-Instance) where it is or intended to be located.
- ID of the Text Object.
- Space-Time information of the Text Object.
- Basic Text Object and Text Objects included in the Text Objects.
- Annotation data set including:
- Annotations
- Space-Times of the Annotations.
- Rights to perform Actions on the Text Object.
- The Rights that may be exercised on the Text Object.
Note that.
- A Text Object that does not include Sub-Scenes and only one Basic Text Object is a Basic Text Object.
- The Space-Time information of a Basic Text Object and Text Object included in a Text Object may be superseded by the Space-Time information of the Text Object containing them.
3 Syntax
https://schemas.mpai.community/OSD/V1.3/data/TextObject.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Text Object Header |
– Standard-TextObject | 9 Bytes | The characters “OSD-TXO-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. |
TextObjectID | N5 Bytes | Identifier of the Text Object. |
TextObjectSpaceTime | N6 Bytes | Space-Time of Text Object. |
BasicTextObjectCount | N7 Bytes | Set of Parent Text Objects. |
BasicTextObjects[] | N8 Bytes | Set of Basic Text Objects. |
– SpaceTime | N9 Bytes | Space Time of a Basic Text Object in the Text Object. |
– BasicTextObject | N10 Bytes | A Basic Text Object in the Text Object. |
TextObjectCount | N11 Bytes | Number of Text Objects. |
TextObjects[] | N12 Bytes | Set of Text Objects. |
– SpaceTime | N13 Bytes | Space Time of a Text Object in the Text Object. |
– TextObject | N14 Bytes | A Text Object in the Text Object |
Annotations[] | N15 Bytes | Set of Text Object Annotation. |
– Annotation | N16 Bytes | An Annotation. |
– AnnotationSpaceTime | N17 Bytes | Where Annotation is attached and when it will be active. |
– Rights | N18 Bytes | Actions that may be performed on the Annotation |
Rights | N19 Bytes | Actions that may be performed on the Object. |
DescrMetadata | N20 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Text Object (OSD-TXO) V1.3 if:
- The Data validates against the Text Object’s JSON Schema.
- All Data in the Text Object’s JSON Schema
- Have the specified type
- Validate against their JSON Schemas
- Conform with their Data Qualifiers.
6 Performance Assessment