1
0
mirror of synced 2024-11-12 01:30:52 +01:00

Fix definition of positiveDecimal

This commit is contained in:
Stepland 2021-12-22 14:11:01 +01:00
parent 06b7e29d61
commit 84b8e0358f
3 changed files with 22 additions and 1 deletions

View File

@ -201,7 +201,8 @@
"positiveDecimal": {
"description": "a positive decimal number as either a number literal or a string",
"oneOf": [{
"type": "number"
"type": "number",
"minimum": 0
},
{
"type": "string",

View File

@ -0,0 +1,10 @@
{
"version": "1.0.0",
"metadata": {
"preview": {
"start": "-123.456",
"duration": 1
}
},
"data": {}
}

View File

@ -0,0 +1,10 @@
{
"version": "1.0.0",
"metadata": {
"preview": {
"start": -1,
"duration": 1
}
},
"data": {}
}