mdJson-schemas icon indicating copy to clipboard operation
mdJson-schemas copied to clipboard

Verify and update datQuality derivedElementReport schema

Open hmaier-fws opened this issue 1 year ago • 2 comments

The metadata > dataQuality > report > derivedElementReport seems to be an array of recursive report elements. Verify that:

  • [ ] The schema is correct for the derivedElementReport element
  • [ ] The following schema rule is defined:
    • derivedElementReport: one and only one required if type = (DQ_Confidence or DQ_Representativity or DQ_Homogeneity)

For details see original issue: #224

hmaier-fws avatar Jan 22 '24 18:01 hmaier-fws

@dwalt is this element supposed to be embedded within itself?

hmaier-fws avatar Jan 22 '24 18:01 hmaier-fws

@hmaier-fws See https://github.com/adiwg/mdJson-schemas/issues/224. This is a pointer or FK to another report that this report is either derived from, or is an aggregate of other reports. It is an array as there can be multiple report references. If this report is referencing one of the three Metaquality class reports (confidence, homogeneity, representativity) then there is one and only one referenced. Apparently multiple opinions of confidence are not accepted in ISO!

dwalt avatar Jan 24 '24 02:01 dwalt