nmrf / sadata

Samoa's Human Rights National Mechanism for Reporting and Follow-up (NMRF) - Client-side application
Other
0 stars 0 forks source link

Full integration of the SDS #41

Open tmfrnz opened 4 years ago

tmfrnz commented 4 years ago

We assume the following implementation of the requirements specified:

The key concepts of the SDS are

We assume to introduce the above concepts as follows

The following diagram illustrates how the SDS concepts (red) could be integrated with the existing concepts (blue, light blue and purple) and structure (please note that the diagram only shows selected taxonomies (white with outline), other taxonomies (such as issues, people, organisations) have been omitted): SDS integration (1)

tmfrnz commented 4 years ago

If resources allow, we would, in order to make the information more easily accessible and provide different entry points, suggest introducing specific dashboard views for each of the three types of commitments or frameworks that Sadata is tracking

  1. An “SDS dashboard” for providing an entry point and high level information on the SDS key outcomes and related actions and indicators
  2. A “Human Rights dashboard” for providing an entry point to all the international Human Rights obligations and related actions and indicators
  3. An “SDG dashboard” for an entry point to the SDGs and SDG targets and related actions and indicators
tmfrnz commented 3 years ago

Schema changes (also see diagram)

NEW table: frameworks

Fields:

Endpoints/Permissions:

Note: frameworks will need to be set up during configuration and will not be changeable by the user thereafter - same as taxonomies)


UPDATE table: taxonomies

Store if taxonomy is a core taxonomy of that framework. "tags_..." fields to be replaced with new taxonomy_frameworks table (see below)

New Field:

Drop Fields:


UPDATE table: recommendations

Will be used to store both SDG Targets and HR Recs, to be considered our "objectives" table, eventually replacing and incorporating sdg_targets table. (Could/should alternatively be renamed to "objectives" or replaced with a new table "objectives" but we are not sure yet about the best name so let's stick to recommendations for now)

New Field


NEW table recommendation_recommendations

To track inter-framework linkages, eventually replacing table sdgtarget_recommendations (that I suggest to keep for now)

Fields:

Endpoints/permissions (similar to sdgtarget_recommendations):


NEW table recommendation_indicators

Eventually replacing sdgtarget_indicators table.

Fields:

Endpoints/permissions (similar to sdgtarget_recommendations):


NEW table taxonomy_frameworks

Stores which framework of recommendations can be tagged by which taxonomy, replacing the "tags_recommendations", "tags_sdgtargets" flags of the taxonomy table

Fields:

Endpoints/Permissions:

Note: frameworks will need to be set up during configuration and will not be changeable by the user thereafter - same as taxonomies)


NEW table: framework_frameworks

Stores which framework of recommendations can be linked with which other framework of recommendations

Fields:

Endpoints/Permissions:

Note: frameworks will need to be set up during configuration and will not be changeable by the user thereafter - same as taxonomies)