european-commission-empl / European-Learning-Model

Data Model for the Europass Digital Credentials Infrastructure
European Union Public License 1.2
49 stars 22 forks source link

[JSON-LD Credential sample] correct langString fields #60

Closed Esayos closed 2 years ago

Esayos commented 2 years ago

Organisation - EDC Team

For correct JSON parsing, Literal (langString) fields should be expressed using following structure in the credential sample:

{  
    "en" : "englishtext",
   "fr" : "frenchtext"
   .....

}

see https://www.w3.org/TR/json-ld11/#string-internationalization and https://www.w3.org/TR/json-ld11/#language-indexing

Affected fields in sample credential are:

Esayos commented 2 years ago

this was related to previous credential sample, no longer relevant