Skip to content

6.9 _<semanticValidation>_ Operations

6.9.1 Introduction

The <semanticValidation> resource, as a virtual resource of <ontologyRepository> resource, is used for validating an input <semanticDescriptor> resource sent from an authorized originator.

6.9.2 Create <semanticValidation>

The <semanticValidation> resource shall be created when the parent <ontologyRepository> resource is created by the hosting CSE. The Create operation is not applicable via Mca, Mcc or Mcc'.

6.9.3 Retrieve <semanticValidation>

The Retrieve operation is not applicable for <semanticValidation>.

6.9.4 Update <semanticValidation>

This procedure shall be used for validating a <semanticDescriptor> resource contained in the Update request against its referenced ontology. The semantic validation process shall also take into account linked <semanticDescriptor> resources (if any) of the <semanticDescriptor> resource in the request.

Table 6.9.4-1: <semanticValidation> UPDATE

<semanticValidation> UPDATE <semanticValidation> UPDATE
Associated Reference Point Mca, Mcc and Mcc'.
Information in Request message All parameters defined in table 8.1.2-3 in oneM2M TS-0001 [1]. Besides, the resource representation in the Content parameter of the request message shall be set as the <semanticDescriptor> resource to be validated.
Processing at Originator before sending Request According to clause 10.1.4 in oneM2M TS-0001 [1].
Processing at Receiver The Recevier shall follow the basic procedure according to clause 10.1.4 in oneM2M TS-0001 [1], with the following specific details:
retrieve the semantic description (i.e. the triples in descriptor attribute of), the URI to the referenced ontology in ontologyRef attribute and potential links to other linked <semanticDescriptor> resources from the <semanticDescriptor> resource to be validated;
retrieve the referenced ontology, any linked <semanticDescriptor> resources and the referenced ontologies of the linked <semanticDescriptor> resources_;_
perform semantic validation according to clause 7.10.
Information in Response message According to clause 10.1.4 in oneM2M TS-0001 [1].
Processing at Originator after receiving Response According to clause 10.1.4 in oneM2M TS-0001 [1].
In case the Originator is the hosting CSE of the <semanticDescriptor> resource being validated, the Originator shall update the semanticValidated attribute (true or false) of the hosted <semanticDescriptor> resource according to the received response code accordingly.
Exceptions According to clause 10.1.4 in oneM2M TS-0001 [1].

6.9.5 Delete <semanticValidation>

The <semanticValidation> resource shall be deleted when the parent <ontologyRepository> resource is deleted by the hosting CSE. The Delete operation is not applicable via Mca, Mcc or Mcc'.