1      Definition

In MMM-TEC V1.0, Service Access is an Item conveying information either to a Service as a Request or from a Service as a Response in the context of:

  1. Authentication of an Item, i.e., whether an Item is what it claims to be.
  2. Discovery of an Item or Process with requested characteristics.
  3. Information about an Item, i.e., providing additional information about the Item.
  4. Interpretation of an Item, such as translation of a Text or Speech Object or extraction of Personal Status from a Text, Speech, Face, or Body Object.

MMM-TEC V1.0 provides Authentication, Delivery, Information, and Interpretation Services. However, independent Services may be created providing similar Services.

2      Functional Requirements

Authenticate

Authentication Request includes the Item ID, the Item, or the Process ID of which Authentication is requested.

Examples of Items that may be subject to Authentication are:

  1. A Speech produced by a User.
  2. A Process.

Authentication Response includes a number between 0 and 1 representing the Authentication Service’s Confidence that the Item is Authentic.

Discover

Discovery Request includes

  1. Textual description of the features of the searched Item or Process.
  2. Item ID, the Item, or the Process ID of which similar Items or Processes are being searched.

Examples of the object of a Discovery Request are:

  1. Text specifying the characteristics of the Object or Process.
  2. Item ID, Item, or Process ID.

Discovery Response includes:

  1. Item IDs, Perceptible Items, or Process IDs in response to the request.

Inform

Information Request includes Item ID or Item on which Information is requested.

Examples of the object of an Information Request are:

  1. Human-readable text.
  2. Other human-perceptible Objects.

Information Response includes:

  1. Human readable Text.
  2. Perceptible Item providing information on the Item.

Interpret

Interpretation Request includes Item ID or Item of which Interpretation is requested.

Examples of objects subject to an Interpretation Request are:

Request From Into
Extract Text Personal Status
Extract Speech Text
Translate Text or Speech Text or Speech
Extract Face and/or Gesture Personal Status

Interpretation Response includes Annotation.

3     Syntax

https://schemas.mpai.community/MMM4/V1.0/data/ServiceAccess.json

4     Semantics

Label Size Description
Header N1 Bytes Service Access Header
– Standard-ServiceAccess 9 Bytes The characters “MMM-SVA-V”
– Version N2 Bytes Major version – 1 or 2 characters
– Dot-separator 1 Byte The character “.”
– Subversion N3 Byte Minor version – 1 or 2 characters
M-InstanceID N4 Bytes Identifier of M-Instance.
ServiceAccessID N5 Bytes Identifier of Interpretation Item.
ServiceAccessData N6 Bytes Data of Request or Response of one of Authentication, Discovery, Information, Interpretation
AuthenticationRequest N8 Bytes Contains Perceptible Entity or Process ID
AuthenticationResponse N9 Bytes Number between 0 and 1
DiscoveryRequest N11 Bytes Contains ItemID, Perceptible Entity, Process ID
DiscoveryResponse N12 Bytes Response Text, Ite, ID, Processs ID, Perceptible Entity
InformationRequest N17 Bytes Request Text, Item ID
InformationResponse N18 Bytes Response Text, Perceptible Entity
InterpretationRequest N21 Bytes ItemID, Perceptible Entity
InterpretationResponse N22 Bytes Annotation
ServiceAccessDataLength N23 Bytes Length of Service Access Data
ServiceAccessDataURI N24 Bytes URI of Service Access Data
DescrMetadata N25 Bytes Descriptive Metadata