-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry picked fixes from develop to Release 1.x.x (#69)
* ES-757 Error handler for PENDING status on sign up page (#65) Signed-off-by: pr <[email protected]> * ES-753 (#67) Signed-off-by: ase-101 <[email protected]> * Issues with cached methods found during redis integration fixed (#68) Signed-off-by: ase-101 <[email protected]> --------- Signed-off-by: pr <[email protected]> Signed-off-by: ase-101 <[email protected]> Co-authored-by: panharith-0118 <[email protected]>
- Loading branch information
1 parent
23634bc
commit a66f263
Showing
13 changed files
with
308 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "Identity schema for sign up", | ||
"additionalProperties": false, | ||
"title": "signup identity", | ||
"type": "object", | ||
"definitions": { | ||
"simpleType": { | ||
"uniqueItems": true, | ||
"additionalItems": false, | ||
"type": "array", | ||
"items": { | ||
"additionalProperties": false, | ||
"type": "object", | ||
"required": [ | ||
"language", | ||
"value" | ||
], | ||
"properties": { | ||
"language": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"documentType": { | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"format": { | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"biometricsType": { | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"format": { | ||
"type": "string" | ||
}, | ||
"version": { | ||
"type": "number", | ||
"minimum": 0 | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"hashType": { | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"hash": { | ||
"type": "string" | ||
}, | ||
"salt": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"identity": { | ||
"additionalProperties": false, | ||
"type": "object", | ||
"required": [ | ||
"IDSchemaVersion", | ||
"fullName", | ||
"phone", | ||
"password", | ||
"preferredLang", | ||
"registrationType" | ||
], | ||
"properties": { | ||
"UIN": { | ||
"bioAttributes": [], | ||
"fieldCategory": "none", | ||
"format": "none", | ||
"type": "string", | ||
"fieldType": "default" | ||
}, | ||
"IDSchemaVersion": { | ||
"bioAttributes": [], | ||
"fieldCategory": "none", | ||
"format": "none", | ||
"type": "number", | ||
"fieldType": "default", | ||
"minimum": 0 | ||
}, | ||
"selectedHandles" : { | ||
"fieldCategory": "none", | ||
"format": "none", | ||
"type": "array", | ||
"items" : { "type" : "string" }, | ||
"fieldType": "default" | ||
}, | ||
"fullName": { | ||
"bioAttributes": [], | ||
"validators": [ | ||
{ | ||
"validator": "^(?=.{3,50}$).", | ||
"arguments": [], | ||
"type": "regex" | ||
} | ||
], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"$ref": "#/definitions/simpleType" | ||
}, | ||
"phone": { | ||
"bioAttributes": [], | ||
"validators": [ | ||
{ | ||
"validator": "^[+]91([0-9]{8,9})$", | ||
"arguments": [], | ||
"type": "regex" | ||
} | ||
], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"type": "string", | ||
"fieldType": "default", | ||
"requiredOn" : "", | ||
"handle" : true | ||
}, | ||
"password": { | ||
"bioAttributes": [], | ||
"validators": [], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"$ref": "#/definitions/hashType" | ||
}, | ||
"preferredLang": { | ||
"bioAttributes": [], | ||
"validators": [ | ||
{ | ||
"validator": "(^eng$)", | ||
"arguments": [], | ||
"type": "regex" | ||
} | ||
], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"type": "string" | ||
}, | ||
"registrationType": { | ||
"bioAttributes": [], | ||
"validators": [ | ||
{ | ||
"validator": "^L[1-2]{1}$", | ||
"arguments": [], | ||
"type": "regex" | ||
} | ||
], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"type": "string" | ||
}, | ||
"phoneVerified": { | ||
"bioAttributes": [], | ||
"validators": [], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"type": "boolean" | ||
}, | ||
"updatedAt": { | ||
"bioAttributes": [], | ||
"validators": [], | ||
"fieldCategory": "pvt", | ||
"format": "none", | ||
"fieldType": "default", | ||
"type": "number" | ||
} | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.