Add a check¶
In all cases:
Add a line to
backend/export/translations.py
Field-level¶
Add new keys to
fieldDetail.coverage
and/orfieldDetail.quality
infrontend/src/messages/en.js
The UI otherwise automatically supports new field-level checks.
Compiled release-level¶
Add an element to
CHECKS
inbackend/exporter/template_tags/resource.py
Add an element to
order
infrontend/src/components/ResourceLevelList.vue
If a section other than
coherent
,consistent
orreference
is used, add it tosections
infrontend/src/views/Resource.vue
Add new keys to
resourceLevel.coherent
,resourceLevel.consistent
and/orresourceLevel.reference
infrontend/src/messages/en.js
The UI otherwise automatically supports new compiled release-level checks.
Dataset-level¶
Add a key-value pair to
CHECK_TYPES
inbackend/exporter/template_tags/dataset.py
Add a key-value pair to
checkTypeData
infrontend/src/plugins/datasetMixins.js
Add an element to the appropriate array in
frontend/src/components/DatasetLevelSection.vue
Add new keys to
datasetLevel
infrontend/src/messages/en.js
The UI otherwise automatically supports new compiled release-level checks.
Time-based¶
Add new keys to
timeLevel
infrontend/src/messages/en.js
The UI otherwise automatically supports new time-based checks.