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

valueRange new object #165

Closed stansmith907 closed 6 years ago

stansmith907 commented 6 years ago

Schema rules for valueRange {object}: "the minimum and maximum values of a continuum of valid values"

Rules in attribute:

Element Definitions:

Element Rules:

mdJson:

{
   "valueRange": [
      {
         "minRangeValue": "",
         "maxRangeValue": ""
      }
   ]
}

FGDC mapping:

<metadata>
  <eainfo>
    <detailed>
      <attr>
        <attrdomv>
          <rdom>
            <rdommin>0</rdommin>
            <rdommax>9</rdommax>
            <attrunit>units</attrunit>
            <attrmres>1</attrmres>
          </rdom>
        </attrdomv>
        <attrdomv>
          <rdom>
            <rdommin>A</rdommin>
            <rdommax>F</rdommax>
            <attrunit>grade</attrunit>
            <attrmres>each letter</attrmres>
          </rdom>
        </attrdomv>
      </attr>
    </detailed>
  </eainfo>
</metadata>

ISO 19110-2 mapping: Does not map to ISO 19110

jlblcc commented 6 years ago

Can we change the name of this to valueRange, or something that is not pluralized? Or is it supposed to be valueRange? Example shows rangeOfValues.

stansmith907 commented 6 years ago

I'll change to valueRange. Although rangeOfValues is singular, values describing type of range.