Skip to content

Commit

Permalink
use looser regex
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Aug 26, 2024
1 parent 9c2834f commit c7d056e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/data/schemas/dictionary-index-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"definitions": {
"isoLanguageCode": {
"type": "string",
"description": "ISO language code (ISO 639-1 where possible, ISO 639-3 otherwise)."
"description": "ISO language code (ISO 639-1 where possible, ISO 639-3 otherwise).",
"pattern": "^[a-z]{2,3}$"
}
},
"type": "object",
Expand Down

0 comments on commit c7d056e

Please sign in to comment.