Enforce only major version in JSON model schema
This commit is contained in:
parent
e02fff53f2
commit
74e2f652de
@ -195,12 +195,22 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"version": {
|
"version": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"const": [
|
"items": [
|
||||||
1,
|
{
|
||||||
0,
|
"type": "number",
|
||||||
0
|
"const": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"additionalItems": false
|
"minItems": 3,
|
||||||
|
"maxItems": 3
|
||||||
},
|
},
|
||||||
"learner": {
|
"learner": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user