id β unique identifier (generated by system)email β for login and communicationfirstName β user's first namelastName β user's last namecreatedAt β account creation timestampphone β phone numberpreferences β user preferences (nested object)password β for login (never returned in responses){
"id": "usr_3Oy2JIS7TMJgEXfM",
"email": "jane.smith@example.com",
"firstName": "Jane",
"lastName": "Smith",
"phone": "+14155551234",
"preferences": {
"newsletter": true,
"notifications": false
},
"createdAt": "2024-01-15T10:30:00Z"
}{
"id": "usr_3Oy2JIS7TMJgEXfM",
"email": "jane.smith@example.com",
"firstName": "Jane",
"lastName": "Smith",
"phone": "+14155551234",
"preferences": {
"newsletter": true,
"notifications": false
},
"createdAt": "2024-01-15T10:30:00Z"
}preferences object structurerequired. You'll need to adjust this manually for optional fields.phone and preferencesid: Add pattern ^usr_[A-Za-z0-9]{16}$ and mark as read-onlyemail: Set format to email, add max length 255firstName and lastName: Add max length 50phone: Add pattern ^\+?[1-9]\d{1,14}$ (E.164 format)createdAt: Set format to date-time and mark as read-onlypreferences field is a nested object. Let's create a separate schema for it so we can reuse it.{
"newsletter": true,
"notifications": false
}newsletter: Default falsenotifications: Default truepreferences propertystring over complex objects when appropriatepreferences)