Let's say I have a JSON schema like below
{
"title": "Example Schema",
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"age": {
"description": "Age in years",
"type": "integer",
"minimum": 0
}
},
"required": ["firstName", "lastName"]
}
Is there any API in Java that can convert this schema to an actual Json object provided I input random values to the "firstname" and "lastname"?