distributed-text-services / specifications

Specifications for the DTS API
https://w3id.org/dts
28 stars 9 forks source link

Error: Some example have dictionaries in dublinCore or extensions #266

Closed PonteIneptique closed 5 days ago

PonteIneptique commented 2 months ago

The current examples have sometime

{
"title": {"lang": "eng", "value": "something"}
}

when it should have

{
"title": [{"lang": "eng", "value": "something"}]
}

as per the documentation "an array of objects with value and lang properties (lang values MUST follow BCP 47),"