Add a check

In all cases:

  1. Add a line to backend/export/translations.py

Field-level

  1. Add new keys to fieldDetail.coverage and/or fieldDetail.quality in frontend/src/messages/en.js

The UI otherwise automatically supports new field-level checks.

Compiled release-level

  1. Add an element to CHECKS in backend/exporter/template_tags/resource.py

  2. Add an element to order in frontend/src/components/ResourceLevelList.vue

  3. If a section other than coherent, consistent or reference is used, add it to sections in frontend/src/views/Resource.vue

  4. Add new keys to resourceLevel.coherent, resourceLevel.consistent and/or resourceLevel.reference in frontend/src/messages/en.js

The UI otherwise automatically supports new compiled release-level checks.

Dataset-level

  1. Add a key-value pair to CHECK_TYPES in backend/exporter/template_tags/dataset.py

  2. Add a key-value pair to checkTypeData in frontend/src/plugins/datasetMixins.js

  3. Add an element to the appropriate array in frontend/src/components/DatasetLevelSection.vue

  4. Add new keys to datasetLevel in frontend/src/messages/en.js

The UI otherwise automatically supports new compiled release-level checks.

Time-based

  1. Add new keys to timeLevel in frontend/src/messages/en.js

The UI otherwise automatically supports new time-based checks.