schema-provider.json.enum-properties.input.json Maven / Gradle / Ivy
The newest version!
{
"$id": "https://my-example.com/user.schema.json",
"description": "User info",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"gender": {
"description": "the gender",
"type": "string",
"enum": ["Male", "Female"]
},
"address": {
"type": "string"
}
},
"required": ["name", "gender"]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy