Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
Performance Assessment
1 Definition
A Data Type representing a rectangle or right parallelepiped containing a 2D or 3D Visual Object, respectively.
2 Functional Requirements
The rectangle or right parallelepiped is defined, respectively, by:
- Rectangle (2D): 3 vertices not on a straight line.
- Right Parallelepiped (3D): 4 vertices not on a plane.
The Visual Object (Content) may be absent. If present, it may fit exactly in the rectangle/parallelepiped and have the same axes of the rectangle/parallelepiped.
3 Syntax
https://schemas.mpai.community/OSD/V1.5/data/BoundingBox.json
4 Semantics
| Header | Bounding Box Header – Standard “OSD‑BBX‑Vx.y”. |
| MInstanceID | Identifier of the M-Instance (Virtual Space) where this Bounding Box is or is intended to be located. |
| UEnvironmentID | Identifier of the U-Environment (Real Space) where this Bounding Box is or is intended to be located. |
| BoundingBoxID | Unique identifier of this Bounding Box. |
| BoundingBoxTime | Time this Bounding Box was produced. |
| BoundingBoxSpaceTime | Space/Time where/when this Bounding Box is located. |
| Dimensions | Bounding Box dimensionality: “2D” (rectangle) or “3D” (right parallelepiped). |
| RightParallelepiped | 3D bounding volume defined by 4 vertices not on a plane. Present only when Dimensions = 3D. |
| VisualData | The Visual Object surrounded by the Bounding Box. May be absent. |
| BBXContentFormats[] | Format(s) of the Visual Object content within this Bounding Box. Each item specifies either a 2D or 3D Visual format. |
| DataXMData | MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal, security, and confidence information associated with this Bounding Box in a trusted data exchange context. |
| DescrMetadata | Human-readable descriptive metadata of the Bounding Box (plain text, max 2048 characters). |
5 Conformance Testing
A Data instance conforms with Bounding Box (OSD‑BBX) if:
- The Data validates against the Bounding Box’s JSON Schema.
- All Data in the Bounding Box’s JSON Schema:
- Have the specified type.
- Validate against their JSON Schemas.
- Conform with their Data Qualifiers.
6 Performance Assessment
Not part of this specification.