<-API Go to ToC Conformance ->
A Profile is a set of the Functions of Thalia that an implementation performs. MPAI-THL V1.0 specifies four Profiles. They are hierarchical: each includes all the functions of the Profiles that precede it in Table 1. The Profiles of MPAI-THL are independent of the Basic and Secure Profiles of MPAI-AIF.
Table 1 – The Profiles of MPAI-THL
| Profile | The client device | The User can |
| THL Web | Runs in its browser a web application that includes the Remote Client Application. | Run MAS-based Apps, with nothing installed. |
| THL App | Runs an installed Remote Client Application. | Run MAS-based Apps, with the services that the platform gives an installed program, such as protected storage for signing in. |
| THL Local | Has a User Agent and a Controller, and a Remote Client Application. | Run MAS-based Apps; obtain Apps from the MPAI Store and run them on the device, the Controller obtaining their Modules; define, make and test AIMs. |
| THL Full | Has a User Agent and a Controller, and a Remote Client Application. | Run MAS-based and local Apps; define, make and test AIMs; submit Basic and Composite AIMs to the MPAI Store, as a registered Implementer. |
Table 2 gives the Firm requirements of the Functions that each Profile includes. The requirements Under discussion are assigned to a Profile when they become Firm.
Table 2 – Requirements of each Profile
| Requirement | Function | THL Web | THL App | THL Local | THL Full |
| GEN-1 to GEN-7 | Common to both life cycles | Yes | Yes | Yes | Yes |
| APP-1 | Choosing MPAI as a Service instances | Yes | Yes | Yes | Yes |
| APP-2 | App catalogue | MAS-based Apps only | MAS-based Apps only | Yes | Yes |
| APP-3 | Matching the device | No | No | Yes | Yes |
| APP-4 | Obtaining an App | Yes | Yes | Yes | Yes |
| APP-5 | Obtaining the Module | No | No | Yes | Yes |
| APP-6 | Running | Yes | Yes | Yes | Yes |
| APP-7 | Devices | Yes | Yes | Yes | Yes |
| APP-8 | Updating and removing | Apps only | Apps only | Yes | Yes |
| APP-9 | Remote placement | No | No | Yes | Yes |
| AIM-1 to AIM-5 | Defining, implementing, making, describing and checking AIMs | No | No | Yes | Yes |
| AIM-6 | Testing | No | No | Yes | Yes |
| AIM-7 | Using it | As the Module of a MAS-based App | As the Module of a MAS-based App | Yes | Yes |
| AIM-8, AIM-9 | Submitting, updating and withdrawing | No | No | No | Yes |
Within a Profile, each function shall work in the same way for every App the Profile runs (GEN-3). In the THL Web and THL App Profiles the User never obtains a Module: this answers APP-D9 for those Profiles. In the THL Local and THL Full Profiles, for an App that runs on the device the client is a User Agent with a Controller; for a MAS-based App it is a Remote Client Application.
Apps in the Profiles
An App is a Workflow, written in the Workflow Description Language, against one Module, with its descriptor and icon. An App contains no program.
- The MPAI Store holds and delivers Apps but does not manage them: it does not vouch for what they do (see MPAI-GME V2.1, Operation). This role of the MPAI Store is transitional: Apps can be left to the open market. Nothing that is needed to trust an App shall depend on the MPAI Store holding it.
- The publisher of an App shall sign its fingerprint, and the signature shall travel with the App. Before running an App, Thalia shall check that its fingerprint is the one recorded or signed.
- The automatic checks of an App are: the Workflow is valid in the Workflow Description Language and the descriptor is complete; every AIM of the Module it names is available; every Port it writes or reads exists on that Module with the same Data Type and Port Number; it uses only the devices its descriptor declares; the paths of the data captured and produced are listed; a trial with test data starts, ends and produces data that conform to their Schemas. Whoever distributes an App, or Thalia itself, may perform them.
- Thalia shall tell the User who published the App, which checks were performed and with what result, what is not checked (in particular whether the App does what its description says), and the Module and devices the App asks for.
- The AIMs of the Module are not affected by where the App comes from: the Controller obtains them from the MPAI Store, with their fingerprints and AIM Licences.
Under discussion
| # | Requirement |
| PRF-D2 | Using from one device the Apps of another: whether a User on a device with the THL Web or THL App Profile can use an App that runs on another device of that User with the THL Local or THL Full Profile, that device running the Module as an instance of MPAI as a Service does. |