Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multilingual rule #192

Open
pkiraly opened this issue Aug 23, 2024 · 0 comments
Open

multilingual rule #192

pkiraly opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@pkiraly
Copy link
Owner

pkiraly commented Aug 23, 2024

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 pkiraly self-assigned this Aug 23, 2024
@pkiraly pkiraly changed the title isMultilingual rule multilingual rule Aug 23, 2024
pkiraly added a commit that referenced this issue Aug 23, 2024
pkiraly added a commit that referenced this issue Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant