metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

multilingual rule

Open pkiraly opened this issue 1 year ago • 0 comments

It should check if the content is multilingual (it has at least two items with different language tags).

An example: data:

{
  "id":"Portrait",
  "description":{
    "de":["Portr\u00e4t"],
    "zh":["\u8096\u50cf"]
  }
}

schema:

format: JSON
fields:
 - name: description
   path: $.['description']
   asLanguageTagged: true
   rules:
     - multilingual: true

pkiraly avatar Aug 23 '24 16:08 pkiraly