-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PYIC-7600: COI check for users with existing identity (#2708)
- Loading branch information
Showing
25 changed files
with
756 additions
and
371 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
api-tests/data/cri-stub-requests/address/lora-current/credentialSubject.json
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,12 @@ | ||
{ | ||
"address": [ | ||
{ | ||
"buildingNumber": "130", | ||
"streetName": "LONDON ROAD", | ||
"addressLocality": "KNEBWORTH", | ||
"postalCode": "SG3 6EY", | ||
"addressCountry": "GB", | ||
"validFrom": "1000-01-01" | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
api-tests/data/cri-stub-requests/address/lora-current/evidence.json
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 @@ | ||
{} |
35 changes: 35 additions & 0 deletions
35
.../cri-stub-requests/drivingLicence/kenneth-driving-permit-dva-valid/credentialSubject.json
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,35 @@ | ||
{ | ||
"drivingPermit": [ | ||
{ | ||
"personalNumber": "12345678", | ||
"expiryDate": "2042-10-01", | ||
"issuedBy": "DVA", | ||
"issueDate": "2018-04-19" | ||
} | ||
], | ||
"name": [ | ||
{ | ||
"nameParts": [ | ||
{ | ||
"type": "GivenName", | ||
"value": "KENNETH" | ||
}, | ||
{ | ||
"type": "FamilyName", | ||
"value": "DECERQUEIRA" | ||
} | ||
] | ||
} | ||
], | ||
"address": [ | ||
{ | ||
"postalCode": "BA2 5AA", | ||
"addressCountry": "GB" | ||
} | ||
], | ||
"birthDate": [ | ||
{ | ||
"value": "1965-07-08" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...ests/data/cri-stub-requests/drivingLicence/kenneth-driving-permit-dva-valid/evidence.json
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,14 @@ | ||
{ | ||
"type": "IdentityCheck", | ||
"txn": "d833dc7f-545b-4743-9ec8-ed01f969de17", | ||
"activityHistoryScore": 1, | ||
"strengthScore": 3, | ||
"validityScore": 2, | ||
"checkDetails": [ | ||
{ | ||
"checkMethod": "data", | ||
"identityCheckPolicy": "published", | ||
"activityFrom": "2018-04-19" | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
api-tests/data/cri-stub-requests/fraud/lora-score-2/credentialSubject.json
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,31 @@ | ||
{ | ||
"name": [ | ||
{ | ||
"nameParts": [ | ||
{ | ||
"value": "Lora", | ||
"type": "GivenName" | ||
}, | ||
{ | ||
"value": "Logic", | ||
"type": "FamilyName" | ||
} | ||
] | ||
} | ||
], | ||
"birthDate": [ | ||
{ | ||
"value": "1960-01-01" | ||
} | ||
], | ||
"address": [ | ||
{ | ||
"buildingNumber": "130", | ||
"streetName": "LONDON ROAD", | ||
"addressLocality": "KNEBWORTH", | ||
"postalCode": "SG3 6EY", | ||
"addressCountry": "GB", | ||
"validFrom": "1000-01-01" | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
api-tests/data/cri-stub-requests/fraud/lora-score-2/evidence.json
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,31 @@ | ||
{ | ||
"activityHistoryScore": 1, | ||
"checkDetails": [ | ||
{ | ||
"identityCheckPolicy": "none", | ||
"activityFrom": "1963-01-01", | ||
"checkMethod": "data" | ||
}, | ||
{ | ||
"checkMethod": "data", | ||
"fraudCheck": "mortality_check" | ||
}, | ||
{ | ||
"checkMethod": "data", | ||
"fraudCheck": "identity_theft_check" | ||
}, | ||
{ | ||
"checkMethod": "data", | ||
"fraudCheck": "synthetic_identity_check" | ||
}, | ||
{ | ||
"checkMethod": "data", | ||
"fraudCheck": "impersonation_risk_check", | ||
"txn": "RB000117397035" | ||
} | ||
], | ||
"ci": [], | ||
"txn": "RB000117420948", | ||
"identityFraudScore": 2, | ||
"type": "IdentityCheck" | ||
} |
31 changes: 31 additions & 0 deletions
31
api-tests/data/cri-stub-requests/kbv/lora-score-2/credentialSubject.json
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,31 @@ | ||
{ | ||
"name": [ | ||
{ | ||
"nameParts": [ | ||
{ | ||
"value": "Lora", | ||
"type": "GivenName" | ||
}, | ||
{ | ||
"value": "Logic", | ||
"type": "FamilyName" | ||
} | ||
] | ||
} | ||
], | ||
"birthDate": [ | ||
{ | ||
"value": "1960-01-01" | ||
} | ||
], | ||
"address": [ | ||
{ | ||
"buildingNumber": "130", | ||
"streetName": "LONDON ROAD", | ||
"addressLocality": "KNEBWORTH", | ||
"postalCode": "SG3 6EY", | ||
"addressCountry": "GB", | ||
"validFrom": "1000-01-01" | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
api-tests/data/cri-stub-requests/kbv/lora-score-2/evidence.json
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,21 @@ | ||
{ | ||
"type": "IdentityCheck", | ||
"verificationScore": 2, | ||
"checkDetails": [ | ||
{ | ||
"kbvResponseMode": "multiple_choice", | ||
"kbvQuality": 3, | ||
"checkMethod": "kbv" | ||
}, | ||
{ | ||
"kbvResponseMode": "multiple_choice", | ||
"kbvQuality": 3, | ||
"checkMethod": "kbv" | ||
}, | ||
{ | ||
"kbvResponseMode": "multiple_choice", | ||
"kbvQuality": 2, | ||
"checkMethod": "kbv" | ||
} | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
api-tests/data/cri-stub-requests/ukPassport/lora-passport-valid/credentialSubject.json
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,28 @@ | ||
{ | ||
"passport": [ | ||
{ | ||
"icaoIssuerCode": "GBR", | ||
"documentNumber": "123456789", | ||
"expiryDate": "2022-02-02" | ||
} | ||
], | ||
"name": [ | ||
{ | ||
"nameParts": [ | ||
{ | ||
"type": "GivenName", | ||
"value": "Lora" | ||
}, | ||
{ | ||
"type": "FamilyName", | ||
"value": "Logic" | ||
} | ||
] | ||
} | ||
], | ||
"birthDate": [ | ||
{ | ||
"value": "1960-01-01" | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
api-tests/data/cri-stub-requests/ukPassport/lora-passport-valid/evidence.json
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,12 @@ | ||
{ | ||
"type": "IdentityCheck", | ||
"validityScore": 2, | ||
"strengthScore": 4, | ||
"checkDetails": [ | ||
{ | ||
"checkMethod": "data", | ||
"dataCheck": "record_check" | ||
} | ||
], | ||
"txn": "f401fdbc-c2ca-400c-bd06-40abd43c84ba" | ||
} |
Oops, something went wrong.