pkiraly / metadata-qa-api

Metadata Quality Assessment Framework API
http://pkiraly.github.io/
GNU General Public License v3.0
14 stars 5 forks source link

treatAsLanguageTagged #188

Closed pkiraly closed 2 months ago

pkiraly commented 2 months ago

In Europeana's JSON output the language tag is not annotated with a distinct property, such as @lang, but as key in associated array:

"dcTitle": {
  "la": [
    "Sonus naturalis"
  ]
},

There should be a property on schema level or on field level, to treat this structure as language tagged strings:

fields:
  - path: dcTitle
    treatAsLanguageTagged: true