Open pkiraly opened 3 weeks ago
It should check if the data element has language attribute. I should have the following values:
allOf
anyOf
oneOf
An example:
data:
{ "id":"Portrait", "description":{ "de":["Portr\u00e4t"], "zh":["\u8096\u50cf"] } }
schema:
format: JSON fields: - name: description path: $.['description'] asLanguageTagged: true rules: - hasLanguageTag: allOf
It should check if the data element has language attribute. I should have the following values:
allOf
: all instances should have language attributeanyOf
: at least one instance should have language attributeoneOf
: only instance should have language attributeAn example:
data:
schema: