Set "required" schema attribute

This commit is contained in:
Graham Esau 2019-08-08 18:34:47 +01:00
parent 6b64cedb91
commit 998e6c9f0f
7 changed files with 68 additions and 21 deletions

View file

@ -12,5 +12,10 @@
"new_name_2": {
"type": "integer"
}
}
},
"required": [
"camelCase",
"new_name_1",
"new_name_2"
]
}

View file

@ -22,6 +22,13 @@
}
}
},
"required": [
"inner",
"t",
"u",
"v",
"w"
],
"definitions": {
"another-new-name": {
"type": "object"

View file

@ -22,6 +22,13 @@
}
}
},
"required": [
"inner",
"t",
"u",
"v",
"w"
],
"definitions": {
"MySimpleStruct": {
"type": "object"

View file

@ -151,7 +151,10 @@
"$ref": {
"type": "string"
}
}
},
"required": [
"$ref"
]
},
"SingleOrVec_For_InstanceType": {
"anyOf": [

View file

@ -187,7 +187,10 @@
"$ref": {
"type": "string"
}
}
},
"required": [
"$ref"
]
},
"SingleOrVec_For_InstanceType": {
"anyOf": [