Purpose Configuratoin - wklausing/ApolloACPlugin GitHub Wiki

The purposes in this plugin are implemented in a hierarchical structure (tree data structure). The purpose tree of the plugin is created based in YAML format which is easy to read and understand for developers. An example of such a purpose tree looks like this:

purpose:
  research:
    - sleep research
    - cardiovascular research
  marketing:
    - personalized marketing
    - influencer marketing
  health:
    - descriptive analytics:
      - descriptive sleep analytics
      - descriptive cardiovascular analytics
    - diagnostic analytics:
      - diagnostic sleep analytics
      - diagnostic cardiovascular analytics
    - predictive analytics:
      - predictive sleep analytics
      - predictive cardiovascular analytics
    - prescriptive analytics:
      - prescriptive sleep analytics
      - prescriptive cardiovascular analytics
  fitness:
    - track activity
    - social fitness:
      - group challenge

(Source: example_server)

The purpose tree consists of four main categories: "research", "marketing", "health" and "fitness". If a rule allows access to a field for the purpose "health", everything underneath it would automatically be accepted as well (f.e. diagnostic sleep analytics or predictive analytics). The purpose tree is highly configureable and can be changed based on the developer's needs. Just make sure the format is correct.