Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain rule change #166

Closed
2 tasks done
stansmith907 opened this issue Oct 27, 2017 · 0 comments
Closed
2 tasks done

domain rule change #166

stansmith907 opened this issue Oct 27, 2017 · 0 comments
Labels
enhancement Improve or modify an existing feature
Milestone

Comments

@stansmith907
Copy link
Contributor

stansmith907 commented Oct 27, 2017

New element for domain:

  • "domainReference* {citation}: "reference to a standard or list which contains the members of an established set of valid values"

Rules:

  • domainReference optional
  • domainItem no longer required. Type of domain is determined as follows:
  • description only = unrepresenatable domain
  • description + domainReference = codeSpace domain
  • description + domainItem = enumerated domain

mdJson:

{
   "domain": [
      {
         "domainId": "",
         "commonName": "",
         "codeName": "",
         "description": "",
         "domainReference": {},
         "domainItem": []
      }
   ]
}

ISO 19110-2 mapping:
The domainReference will be placed in an entity attribute section (carrierOfCharacteristics) as follows:

<gfc:listedValue>
  <gfc:FC_ListedValue>
    <gfc:label>
      <gco:CharacterString>external domain reference</gco:CharacterString>
    </gfc:label>
    <gfc:definitionReference>
      <gfc:FC_DefinitionReference>
        <gfc:definitionSource>
          <gfc:FC_DefinitionSource>
            <gfc:source>
              <gmd:CI_Citation>
                <gmd:title>title</gmd:title>
                <gmd:date></gmd:date>
              </gmd:CI_Citation>
            </gfc:source>
          </gfc:FC_DefinitionSource>
        </gfc:definitionSource>
      </gfc:FC_DefinitionReference>
    </gfc:definitionReference>
  </gfc:FC_ListedValue>
</gfc:listedValue>
@stansmith907 stansmith907 added the enhancement Improve or modify an existing feature label Oct 27, 2017
@jlblcc jlblcc added this to the 2.4.0 milestone Dec 22, 2017
jlblcc added a commit that referenced this issue Dec 27, 2017
Add domainReference.

Closes #166.
@jlblcc jlblcc closed this as completed Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve or modify an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants