Give unsigned int schemas explicit minimum value

This commit is contained in:
Graham Esau 2019-10-30 19:28:11 +00:00
parent 50f00be97b
commit ae716de64a
5 changed files with 47 additions and 15 deletions

View file

@ -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
}
}
}