Skip to content

Commit

Permalink
fix(condition): correctly apply allOf condition
Browse files Browse the repository at this point in the history
closes #133
  • Loading branch information
marstamm committed Feb 9, 2024
1 parent f77d5f3 commit a27dc5a
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,19 @@
"required": [
"allMatch"
],
"allMatch": {
"contains": {
"properties": {
"property": {
"const": {
"$data": "2/id"
"properties": {
"allMatch": {
"contains": {
"properties": {
"property": {
"const": {
"$data": "4/id"
}
}
}
},
"required": [
"property"
]
}
}
}
Expand Down

0 comments on commit a27dc5a

Please sign in to comment.