Skip to main content

Feature

info

Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.

Features are the building blocks of functionality within the Mock App system. Each feature is comprised of components and services which are used to compose the business logic and orchestrate services.

Features encapsulate specific functionalities or processes within an app or general feature.

For example, one feature could be issuing a DPP. Where we would compose the required components, like a form and a button and then the services, like a verifiable credential service to issue the credential, storage serve to store the credential and a Identity Resolver service to register a link to the DPP given the identifier of the product.

Another feature could be selling the product, and so on.

Diagram

Config

PropertyRequiredDescriptionType
nameYesThe name of the feature (Displayed on buttons to access the feature within the respective mock app and used to construct the path to the feature)String
idYesThe id of the featureString
componentsYesA collection of components used in the featureComponent[]
servicesYesA collection of services used in the featureService[]

Example

{
"name": "Issue DPP",
"id": "produce_product",
"components": [],
"services": []
}