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 - CoverageResult #255

Closed dwalt closed 5 months ago

dwalt commented 1 year ago

Class Definition: CoverageResult "Result of data quality measure organizing the measured values as a coverage"

Rules:


Element Definitions:

Rules:


mdJson: See comment below for updated schema

{
   "dataQuality": [
      {
         "report": [
            {
               "coverageResult": [
                  {
                     "dateTime": "2019-06-11T09:00:00",
                     "scope": { },
                     "spatialRepresentationType": { },
                     "spatialRepresentation":  { },
                     "resultContent": [ ],
                     "resourceFormat": { },
                     "resultFile": { }
                  }
               ]
            }
         ]
      }
   ]
}
dwalt commented 1 year ago

Refactored element names from ISO 19157 2018 amendment names to generic names in alignment with existing mdJSON elements.

dwalt commented 1 year ago

Reconsidered element names and returned to 2018 naming for resultContent and resultFile. Changed associative element classes for resultContent and resultFile to correct previous mapping errors.

jwaspin commented 7 months ago

@dwalt Is this task completed? It looks to be part of data quality and it looks like it's in the schema viewer but not necessarily fully defined.

jwaspin commented 6 months ago

@dwalt

Is spatialRepresentationType supposed to be an object or a string?

Is resultFile supposed to be an object or a string?

If these are objects there's no indication what type of object to use for them. I noticed resourceFormat was set to a string, so I switched it to be a format object, I assume that's correct.

jwaspin commented 5 months ago

Changes

Additional Notes

The resultFile is the mdq:QualityResultFile

These changes are based on this coverage result information.

Modified

Class Definition: CoverageResult "Result of data quality measure organizing the measured values as a coverage"

Rules:


Element Definitions:

Rules:


mdJson: See comment below for updated schema

{
   "dataQuality": [
      {
         "report": [
            {
               "coverageResult": [
                  {
                     "dateTime": "2019-06-11T09:00:00",
                     "scope": { },
                     "spatialRepresentationType": "enumerated - MD_SpatialRepresentationTypeCode",
                     "spatialRepresentation":  { },
                     "resultContentDescription": { },
                     "resourceFormat": { },
                     "resultFile": { }
                  }
               ]
            }
         ]
      }
   ]
}