Skip to content

Commit

Permalink
fix(usergroup): remove emailID validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrgadiya committed Sep 25, 2024
1 parent 90e3286 commit 88569d9
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 88569d9

Please sign in to comment.