21 lines
493 B
JSON
21 lines
493 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The first name of the user"
|
|
},
|
|
"surname": {
|
|
"type": "string",
|
|
"description": "The last name of the user"
|
|
},
|
|
"dateOfBirth": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "The date of birth of the user (format: YYYY-MM-DD)"
|
|
}
|
|
},
|
|
"required": ["name", "surname", "dateOfBirth"]
|
|
}
|