8.2 Schemas
3GPP 29.122 [4] defines JSON-based schemas based on the OpenAPI 3.0.0. specification [6] for each type of request and response that flows over the T8 reference point. An IN-CSE that complies with the present document and interworks to the 3GPP SCEF T8 reference point shall support encoding and decoding of T8 messages per the 3GPP 29.122 [4] defined JSON schemas.
For the cases where a oneM2M defined primitives is encapsulated within a T8 request or response, the encapsulated oneM2M primitive shall comply with the corresponding oneM2M defined schema. For example, a oneM2M request or response primitive that is encapsulated within the data attribute of a NiddDownlinkDataTransfer or NiddUplinkDataNotification request element.