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

Deprecate dataDictionary.dictionaryFormat #176

Closed stansmith907 closed 6 years ago

stansmith907 commented 6 years ago

The dataDictionary element dictionaryFormat is not used by any of our supported writer formats that I can see. Since this item continually raises questions about how it is to be used I propose we drop the element.

Since it is not used in any of the of our writers (other than mdJson) it will not cause errors if dropped rather than deprecating. The mdJson reader will simply ignore the item when reading.

stansmith907 commented 6 years ago

After more investigation I found (not necessarily remembered) why we have dictionaryFormat. In ISO 19115-2 or in ISO 19115-1 when the dictionary schema is not defined in the metadata, a featureCatalogueCitation can be defined which is the "complete bibliographic reference to one or more external feature catalogues". ISO 19110 FC_FeatureCatalogue has an element functionalLanguage which is define as "formal functional language in which the feature operation formal definition occurs in this feature catalogue." This would become the 'functional language' of the 'feature catalog citation`. It would nice to better associate the 'dictionary format' with the citation, but...

A few new thoughts:

  1. Our data dictionary citation is not an array as allowed by ISO.
  2. We associate the dictionary citation with the 'being defined' dictionary and don't call attention to it being able to describe external dictionaries or schema.

SOooo, I have NOT removed dictionaryFormat.

stansmith907 commented 6 years ago

Here's another thought. I'm thinking we should modify the mdJson schema for dataDictionary now rather than later. Josh and I are both working that section currently - no need to work it twice.

Propose the following: