diff --git a/.changeset/happy-owls-march.md b/.changeset/happy-owls-march.md new file mode 100644 index 000000000..c4d1a6713 --- /dev/null +++ b/.changeset/happy-owls-march.md @@ -0,0 +1,5 @@ +--- +"@cube-creator/core-api": patch +--- + +OpenDataSwiss resource title should allow more than one value (one for each language) diff --git a/apis/core/bootstrap/shapes/dataset.ts b/apis/core/bootstrap/shapes/dataset.ts index f1de83575..5b5095578 100644 --- a/apis/core/bootstrap/shapes/dataset.ts +++ b/apis/core/bootstrap/shapes/dataset.ts @@ -452,16 +452,17 @@ ${shapeId} { ] , [ ${sh.name} "Title" ; ${sh.path} ${dcterms.title} ; - ${sh.maxCount} 1 ; ${sh.order} 30 ; ${sh.datatype} ${rdf.langString} ; ${sh.languageIn} ( ${supportedLanguages} ) ; + ${sh.uniqueLang} true ; ] , [ ${sh.name} "Description" ; ${sh.path} ${dcterms.description} ; ${sh.order} 40 ; ${sh.datatype} ${rdf.langString} ; ${sh.languageIn} ( ${supportedLanguages} ) ; + ${sh.uniqueLang} true ; ] , [ ${sh.name} "Media type" ; ${sh.path} ${dcat.mediaType} ;