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

Update dataDictionary - add dictionaryId #327

Open hmaier-fws opened 2 months ago

hmaier-fws commented 2 months ago

Add dictionaryId to the dataDictionary element. The dictionaryId is required to maintain the relation between a metadata record and an associated data dictionary. Dictionaries are often used as reusable components and should be treated the same as contacts. Without a dictionaryId, importing mdJSON results in the metadata record losing the link to a data dictionaries specified in the mdDictionary element.

Verify the following:


Element Name: dictionaryId

Description: Unique identifier for the data dictionary.

Type: string (UUID)

Rules:


Translation:

"FGDC CSDGM":  []
"ISO 19115-2": []
"DCAT": [] 

mdJson:

{
  "dataDictionary" : [

    "dictionaryId" :  "character",
    (...remaining schema elements)
  ]
}
hmaier-fws commented 1 month ago

@dvonanderson Will adding this to the schema require any updates to the mdEditor? The editor already assigns a dictionaryId and it is part of the mdEditor-Json. It just doesn't get exported in the mdJson (See end of line 45). Possibly because it's not in the current schema.

@dwalt, @jwaspin Does ISO make use of a dictionary identifier anywhere (feature catalog?) It is not in the current schema and if it is used we need to create a mapping. I'm assuming that CSDGM does not make use the the identifier.

dwalt commented 1 month ago

@hmaier-fws Feature Catalogue does have MD_Identifier as an array. CSDGM data dictionary does not support identifiers.