Definition
Functional Requirements
Syntax
Semantics
Conformance
Performance
1 Definition
An Interaction is a message exchanged between functional components to request or convey Route, Path, or Trajectory information. It includes contextual identifiers and one element representing either a request or a response associated with routing operations.
2 Functional Requirements
An Interaction shall include one and only one of the following elements: RouteRequest, RouteResponse, PathRequest, PathResponse, TrajectoryRequest, or TrajectoryResponse.
If an Interaction contains:
- a RouteRequest, PathRequest, or TrajectoryRequest, it represents a request;
- a RouteResponse, PathResponse, or TrajectoryResponse, it represents a response.
An Interaction shall include a Header and may include identifiers, times, data exchange metadata, and descriptive metadata.
3 Syntax
https://schemas.mpai.community/CAV2/V2.0/data/Interaction.json
4 Semantics
Table 1 specifies the semantics of the Interaction Data Type.
| Label | Type | Req. | Description |
|---|---|---|---|
| Header | string (CAV-INT-V2.0) | Yes | Interaction Header – Standard CAV-INT-Vx.y |
| MInstanceID | string | Identifier of the M-Instance (Virtual Space) associated with this Interaction. | |
| UEnvironmentID | string | Identifier of the U-Environment (Real Space) associated with this Interaction. | |
| InteractionID | string | Unique identifier of this Interaction instance. | |
| InteractionTime | Simple Time | Time this Interaction was produced. | |
| InteractionSpaceTime | Simple Time | Space/Time where/when this Interaction applies. | |
| RouteRequest | string | Request trigger for a new Route. | |
| RouteResponse | Route | Route provided in response to a Route Request. | |
| PathRequest | string | Request trigger for a new Path. | |
| PathResponse | Path | Path provided in response to a Path Request. | |
| TrajectoryRequest | string | Request trigger for a new Trajectory. | |
| TrajectoryResponse | Trajectory | Trajectory provided in response to a Trajectory Request. | |
| DataXMData | Data Exchange Metadata | MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal, security, and confidence information associated with this Interaction in a trusted data exchange context. | |
| DescrMetadata | string | Human-readable descriptive metadata of the Interaction (plain text, max 2048 characters). |
5 Conformance Testing
Data conform to the Interaction Data Type when they validate against its schema. If the schema references other schemas, data referencing a secondary schema shall also validate against that schema, if present, and conform with the Qualifier, if present.