Sometimes, I noticed the following JSON Schemas:
{
"type": "object",
"properties": {
"address": {
"type": "string",
"required": true
}
}
}
vs
{
"type": "object",
"properties": {
"address": {
"type": "string",
"optional": false
}
}
}
So what is the difference between required
vs optional
in the above example?