This chapter specifies purpose, functional requirements, and metadata for the Data Types that are used in an M-Instance.  They are grouped in three categories.

1 For location and time

2 For Transactions

1.1  Address 2.1  Amount
1.2  Coordinates 2.2  Currency
1.3  Orientation

3 For internal state

1.4  Point of View 3.1  Cognitive State
1.5  Position 3.2  Emotion
1.6  Spatial Attitude 3.3  Social Attitude
1.7  Time 3.4  Personal Status

1       For location and time information

1.1      Address

Purpose The location of a storage facility.
Functional Requirements The location is identified by a URL.

1.1.2      Coordinates

Purpose A set of numbers representing Position in an M-Location.
Functional Requirements Coordinates shall uniquely indicate a point in the space identified by the coordinate system.

1.3      Orientation

Purpose The Euler angles indicating the rotation of an Object.
Functional Requirements MPAI-MMM – Architecture assumes that the principal axis of an Object is the x axis, the y axis has an angle of 90˚ counterclockwise (right-to-left) with the x axis and its z axis points up toward a User viewing from above.

Orientation is expressed as an array of 3 rows and 3 columns:

ϕ,θ,ψ

1st order time derivatives of ϕ,θ,ψ

2nd order time derivatives of ϕ,θ,ψ

1.4      Point of View

Purpose The Spatial Attitude of a Persona watching a Scene.
Functional Requirements Point of View shall express the Position of a Persona with an Orientation watching a Scene.

Portable Avatar Format defines the x,y,z of a body [6].

1.5      Position

Purpose The Coordinates of a point in an M-Environment using a Coordinate system.
Functional Requirements Position is expressed as an array of 3 rows and 3 columns:

Cartesian: x,y,z

1st order time derivatives of x,y,z

2nd order time derivatives of x,y,z

Spherical: r,ϕ,θ

1st order time derivatives of r,ϕ,θ

2nd order time derivatives of r,ϕ,θ

1.6      Spatial Attitude

Purpose The Position and Orientation of an Entity, and their velocities and accelerations.
Functional Requirements Spatial Attitude is expressed as an array of 6 rows and 3 columns:

Cartesian: x,y,z

1st order time derivatives of x,y,z

2nd order time derivatives of x,y,z

or

Spherical: r,ϕ,θ

1st order time derivatives of r,ϕ,θ

2nd order time derivatives of r,ϕ,θ

and

The Euler angles: α,β,γ

1st order time derivatives of α,β,γ

2nd order time derivatives of α,β,γ

1.7      Time

Purpose The representation of the measure of time.
Functional Requirements Time shall be able to express any value of time on the time axis.

2       For Transactions

2.1      Amount

Purpose A number expressing a Value in a Currency.
Functional Requirements The ability to express an Amount, e.g., a decimal number.

2.2      Currency

Purpose A medium of exchange enabling Transactions in a M-Environment.
Functional Requirements A Currency shall belong to a list of Currencies.

3       For internal state information

3.1      Cognitive State

Purpose The representation of a User’s Personal Status that reflects the way they understand the context, such as “Confused”, “Dubious”, “Convinced”.
Functional Requirements The ability to express a particular Cognitive State with a label from a dictionary of Cognitive States.

3.2      Emotion

Purpose The representation of a User’s Personal Status that results from their interaction with a context, such as “Angry”, “Sad”, “Determined”.
Functional Requirements The ability to express a particular Emotion with a label from a dictionary of Emotions.

3.3      Social Attitude

Purpose The representation of a User’s Personal Status representing the way User intends to position vis-à-vis other Users, e.g., “Respectful”, “Confrontational”, “Soothing”.
Functional Requirements The ability to express a particular Social Attitude with a label from a dictionary of Social Emotions.

3.4      Personal Status

Purpose The representation of the information internal to a User characterising their behaviour.
Functional Requirements Personal Status may include any of Cognitive State, Emotion, Social Attitude or none of them