Give unsigned int schemas explicit minimum value
This commit is contained in:
parent
50f00be97b
commit
ae716de64a
5 changed files with 47 additions and 15 deletions
|
@ -24,11 +24,13 @@
|
|||
"properties": {
|
||||
"nanos": {
|
||||
"type": "integer",
|
||||
"format": "uint32"
|
||||
"format": "uint32",
|
||||
"minimum": 0.0
|
||||
},
|
||||
"secs": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
"format": "uint64",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -41,11 +43,13 @@
|
|||
"properties": {
|
||||
"nanos_since_epoch": {
|
||||
"type": "integer",
|
||||
"format": "uint32"
|
||||
"format": "uint32",
|
||||
"minimum": 0.0
|
||||
},
|
||||
"secs_since_epoch": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
"format": "uint64",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
},
|
||||
"unsigned": {
|
||||
"type": "integer",
|
||||
"format": "uint32"
|
||||
"format": "uint32",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
}
|
|
@ -27,7 +27,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "uint8"
|
||||
"format": "uint8",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +43,8 @@
|
|||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "uint16"
|
||||
"format": "uint16",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,11 +41,13 @@
|
|||
"properties": {
|
||||
"end": {
|
||||
"type": "integer",
|
||||
"format": "uint"
|
||||
"format": "uint",
|
||||
"minimum": 0.0
|
||||
},
|
||||
"start": {
|
||||
"type": "integer",
|
||||
"format": "uint"
|
||||
"format": "uint",
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue