How to validate that the "street" should contain only upper case. Though it can contain number and spaces
For example: should accept below
should not accept below
You can use a regular expression to constrain a string. In your case it would be something like this.
{
"type": "string",
"pattern": "^[ A-Z0-9]+$"
}
You can make the regular expression more advanced to not allow leading and trailing space etc.