Skip to content

Commit

Permalink
Merge pull request #358 from rapyuta-robotics/fix/usergroup-email
Browse files Browse the repository at this point in the history
fix(usergroup): remove emailID validation
  • Loading branch information
ankitrgadiya authored Sep 25, 2024
2 parents 90e3286 + 88569d9 commit e139bae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions riocli/jsonschema/schemas/usergroup-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ definitions:
guid:
$ref: "#/definitions/uuid"
emailID:
$ref: "#/definitions/email"
type: string

oneOf:
- required:
Expand Down Expand Up @@ -113,7 +113,3 @@ definitions:
uuid:
type: string
pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"

email:
type: string
pattern: "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9]{2,}$"

0 comments on commit e139bae

Please sign in to comment.