Skip to content

Commit

Permalink
Task #235026-Change In validation for Create User
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyaaKhandekar committed Feb 12, 2025
1 parent fcd2e0f commit f1b4e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/userSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "",
"description": "",
"type": "object",
"required": ["name", "username", "password", "mobileNo", "email", "role"],
"required": ["name", "username", "password", "role"],
"properties": {
"name": {
"title": "Full Name",
Expand Down Expand Up @@ -52,6 +52,7 @@
"role": {
"title": "Role",
"type": "string",
"default": "learner",
"oneOf": [
{
"title": "Learner",
Expand Down

0 comments on commit f1b4e0a

Please sign in to comment.