Skip to content

Commit

Permalink
allow both integer and string
Browse files Browse the repository at this point in the history
  • Loading branch information
Joon-Klaps committed Dec 12, 2024
1 parent e6b06c1 commit 681a3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "object",
"properties": {
"sample": {

"type": ["string", "integer"],
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces",
"meta": ["id"]
Expand Down

0 comments on commit 681a3a5

Please sign in to comment.