Skip to content

Commit

Permalink
[AG-1385] Fixes JSON Schema expectation passing when it should fail (#…
Browse files Browse the repository at this point in the history
…131)

* fix unique items issue

* pre-commit
  • Loading branch information
BWMac authored Apr 29, 2024
1 parent b7326d8 commit 13fa417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@
"go_terms": {
"default": [],
"items": {
"UniqueItems": true,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
"type": "array",
"uniqueItems": true
},
"n_biodomain_terms": {
"default": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
},
"go_terms": {
"type": "array",
"uniqueItems": true,
"default": [],
"minItems": 1,
"maxItems": 100,
"items": {
"type": "string",
"UniqueItems": true
"type": "string"
}
},
"n_biodomain_terms": {
Expand Down

0 comments on commit 13fa417

Please sign in to comment.