Skip to content

Commit

Permalink
Parameter number schema expansion
Browse files Browse the repository at this point in the history
Number can be either a number or a string.
  • Loading branch information
SmithRWORNL committed Feb 15, 2024
1 parent 5ac4fa7 commit 54e9366
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion schema/parameter.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"properties": {
"@id": { "type": "string" },
"@type": { "type": "string" },
"number": { "type": "string" },
"number": {
"oneOf": [
{ "type": "number" },
{ "type": "string" }
]
},
"unit": { "type": "string" }
}
}
Expand Down

0 comments on commit 54e9366

Please sign in to comment.