Data Schema
Using JSON Schemas for Data Validation
Key Features of JSON Schema:
{
"type": "object",
"properties": {
"userId": {
"type": "integer",
"description": "The unique identifier for a user."
},
"email": {
"type": "string",
"format": "email",
"description": "The user's email address."
},
"signupDate": {
"type": "string",
"format": "date-time",
"description": "The date and time when the user registered."
}
},
"required": ["userId", "email", "signupDate"]
}Last updated
Was this helpful?