1 Definition | 2 Functional Requirements | 3 Syntax |
4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type composed of
- Content represented by characters from a character set (Text Data).
- Text Qualifier.
- Text Space-Time information.
2 Functional Requirements
A Text Object includes:
- The ID of a Virtual Space (M-Instance) where it is or it will be located.
- The ID of the Text Object.
- The Text Object Space-Time information.
- The Text Data Qualifier.
- The Text Data as:
- A string, or
- A Text Payload represented as
- Length in Bytes of the Text Data.
- URI of the Text Data.
3 Syntax
https://schemas.mpai.community/MMC/V2.3/data/TextObject.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Text Object Data Header |
– Standard-Visual Object | 9 Bytes | The characters “MMC-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. |
TextObjectSpace-Time | N6 Nytes | Space-Time info of Text Object. |
TextDataQualifier | N7 Bytes | Text Data Qualifier |
TextDataPayload | N8 Bytes | Data of Text Object. |
– Text as string, or | N9 Bytes | Text represented by a string. |
– TextDataPayload | N10 Bytes | The Payload of the Text Object |
– TextObjectLength | N11 Bytes | Number of Bytes in Text Payload |
– TextObjectDataURI | N12 Bytes | URI of Data of Text Payload |
DescrMetadata | N13 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with MPAI-MMC V2.3 Text Object (MMC-TXO) 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 if present.