adiwg / mdJson-schemas

JSON schemas, examples, and templates for ADIwg metadata standards
http://www.adiwg.org/projects/
GNU Lesser General Public License v3.0
18 stars 15 forks source link

New Class - QualityMeasure #225

Closed stansmith907 closed 6 months ago

stansmith907 commented 5 years ago

Class Definition: qualityMeasure "Reference to the measure used"

Rules:


Element Definitions:

Rules:


mdJson:

{
   "dataQuality": [
      {
         "report": [
            {
               "qualityMeasure": {
                  "identifier": { },
                  "name": ["name of measure"],
                  "description": "measure description"
               }
            }
         ]
      }
   ]
}
jwaspin commented 6 months ago

Changes

Modified

Class Definition: qualityMeasure "Reference to the measure used"

Rules:


Element Definitions:

Rules:


mdJson:

{
   "dataQuality": [
      {
         "report": [
            {
               "qualityMeasure": {
                  "identifier": { },
                  "name": ["name of measure"],
                  "description": "measure description"
               }
            }
         ]
      }
   ]
}
hmaier-fws commented 6 months ago

@dwalt the name element is currently coded as an array. But it looks like it should just be a character string. See: https://schemas.isotc211.org/19157/-/dqm/1.2.0/

hmaier-fws commented 6 months ago

@dwalt I think I answered my own question. This seems to be DQ_MeasureReference, which is indeed an array.

https://schemas.isotc211.org/19157/-2/mdq/1.0/dataQualityElement.xsd

jwaspin commented 6 months ago

@hmaier-fws Does that mean it's not an array of strings and it's an array of objects instead? Or is the name array because we just want the name part of the DQ_MeasureReference object and the translator needs to be able to handle that correctly?

hmaier-fws commented 6 months ago

@jwaspin It is an array of character strings. The current version of the schema that is being reviewed is correct.