Skip to main content

General 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.

General Features define a shared set of functionalities accessible by all Mock Apps within the Mock App system.

The Mock App system can include multiple General Features, each containing various features that perform distinct functions. Each General Feature is housed on a single page within the Mock App system, accessible via the sidebar menu.

Implementers can customise each General Feature page with branding elements, such as logos, colours and a title.

Each General Feature comprises a collection of features that encapsulate specific functionality or business logic. These features are made up of configurable components and services.

For instance, a General Feature might involve requesting a Conformity Credential from an external conformity assessment body (CAB). This is a common process that each app associated with an actor in the value chain would most likely need to perform.

Diagram

Config

PropertyRequiredDescriptionType
nameYesThe name of the general feature (displayed in the sidebar)String
typeNoThe type of the general featureString
styleYesCustom styling options for the general feature (Used to determine the colour of the header and buttons on the general feature page)Style
featuresYesA collection of features that make up this general featureFeature[]

Example

{
"name": "CAB 1",
"type": "",
"styles": {
"primaryColor": "rgb(255, 207, 7)",
"secondaryColor": "black",
"tertiaryColor": "black"
},
"features": []
}