@nexeraid/identity-schemas 2.63.0-dev → 2.65.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CoinMarketCap.schema-88b89617.esm.mjs → CoinMarketCap.schema-4168b240.esm.mjs} +23 -18
- package/dist/{CoinMarketCap.schema-5ee91d17.cjs.dev.cjs → CoinMarketCap.schema-5152702c.cjs.dev.cjs} +23 -18
- package/dist/{CoinMarketCap.schema-16fb624f.cjs.prod.cjs → CoinMarketCap.schema-dcf0fd09.cjs.prod.cjs} +23 -18
- package/dist/declarations/src/credential-storage.schema.d.ts +3 -3
- package/dist/declarations/src/customer.schema.d.ts +4 -0
- package/dist/declarations/src/customer.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/app-requests.schema.d.ts +50 -50
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +14 -14
- package/dist/declarations/src/identity/kyc.schema.d.ts +184 -24
- package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/query.schema.d.ts +121 -4
- package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/scenario.schema.d.ts +41 -41
- package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +10 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +26 -20
- package/dist/declarations/src/providers/kyb-sessions.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +69 -33
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +238 -185
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts +11 -0
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts.map +1 -1
- package/dist/declarations/src/vault/schemas/generated/Tfhe.schema.json.d.ts +1037 -0
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts +72 -0
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts.map +1 -0
- package/dist/declarations/src/vault/vault.schema.d.ts +586 -0
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts +10 -0
- package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts +100 -6
- package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/generated/tfhe/IDInformationTfheCredentialSubjectSchema.d.ts +96 -0
- package/dist/declarations/src/verifiable-credentials/generated/tfhe/IDInformationTfheCredentialSubjectSchema.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/generated-ts/IDInformationTfhe-credentialSubject.json.d.ts +494 -0
- package/dist/declarations/src/verifiable-credentials/generated-ts/IDInformationTfhe-credentialSubject.json.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/index.d.ts +6 -0
- package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/tfhe-utilities.d.ts +6 -0
- package/dist/declarations/src/verifiable-credentials/tfhe-utilities.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts +211 -0
- package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts.map +1 -1
- package/dist/{identity-api.schema-f07e7dc0.cjs.prod.cjs → identity-api.schema-12a25a42.cjs.prod.cjs} +54 -5
- package/dist/{identity-api.schema-4697ed44.cjs.dev.cjs → identity-api.schema-4510f916.cjs.dev.cjs} +54 -5
- package/dist/{identity-api.schema-50cf4bbe.esm.mjs → identity-api.schema-97cbcb66.esm.mjs} +46 -6
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +20 -7
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +20 -7
- package/dist/nexeraid-identity-schemas.esm.mjs +4 -4
- package/dist/package.json +1 -1
- package/dist/{frontend-utilities.schema-85b3a5de.cjs.dev.cjs → tfhe-utilities-1ae3cd6a.cjs.dev.cjs} +303 -6
- package/dist/{frontend-utilities.schema-bdbef342.cjs.prod.cjs → tfhe-utilities-b0e780c6.cjs.prod.cjs} +303 -6
- package/dist/{frontend-utilities.schema-652b04a0.esm.mjs → tfhe-utilities-f43f16b1.esm.mjs} +302 -7
- package/dist/{vault.schema-8d2dd08d.esm.mjs → vault.schema-1b7eeedd.esm.mjs} +1356 -232
- package/dist/{vault.schema-2d02afaa.cjs.prod.cjs → vault.schema-4921bc9f.cjs.dev.cjs} +1357 -231
- package/dist/{vault.schema-a14b6922.cjs.dev.cjs → vault.schema-9d80a02d.cjs.prod.cjs} +1357 -231
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +7 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +7 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +1 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +11 -7
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +11 -7
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +3 -3
|
@@ -1596,6 +1596,31 @@ var OLD_AMLScreeningsResultsCredentialSubjectSchema = zod.z.object({
|
|
|
1596
1596
|
}).describe("Details related to the original data before any amendments")
|
|
1597
1597
|
}).describe("Stores the data of the credential");
|
|
1598
1598
|
|
|
1599
|
+
var IDInformationTfheCredentialSubjectSchema = zod.z.object({
|
|
1600
|
+
id: zod.z.string().url().describe("Stores the DID of the subject that owns the credential"),
|
|
1601
|
+
journeyId: zod.z.string().uuid().describe("Journey ID of when credential was generated"),
|
|
1602
|
+
reviewAnswer: zod.z["enum"](["RED", "YELLOW", "GREEN"]).describe("Review result from kyc provider"),
|
|
1603
|
+
reviewRejectType: zod.z["enum"](["FINAL", "RETRY"]).describe("Review reject type").optional(),
|
|
1604
|
+
reviewRejectLabels: zod.z.array(zod.z["enum"](["FORGERY", "DOCUMENT_TEMPLATE", "LOW_QUALITY", "SPAM", "NOT_DOCUMENT", "SELFIE_MISMATCH", "ID_INVALID", "FOREIGNER", "DUPLICATE", "BAD_AVATAR", "WRONG_USER_REGION", "INCOMPLETE_DOCUMENT", "BLACKLIST", "BLOCKLIST", "UNSATISFACTORY_PHOTOS", "DOCUMENT_PAGE_MISSING", "DOCUMENT_DAMAGED", "REGULATIONS_VIOLATIONS", "INCONSISTENT_PROFILE", "PROBLEMATIC_APPLICANT_DATA", "ADDITIONAL_DOCUMENT_REQUIRED", "AGE_REQUIREMENT_MISMATCH", "EXPERIENCE_REQUIREMENT_MISMATCH", "CRIMINAL", "WRONG_ADDRESS", "GRAPHIC_EDITOR", "DOCUMENT_DEPRIVED", "COMPROMISED_PERSONS", "PEP", "ADVERSE_MEDIA", "FRAUDULENT_PATTERNS", "SANCTIONS", "NOT_ALL_CHECKS_COMPLETED", "FRONT_SIDE_MISSING", "BACK_SIDE_MISSING", "SCREENSHOTS", "BLACK_AND_WHITE", "INCOMPATIBLE_LANGUAGE", "EXPIRATION_DATE", "UNFILLED_ID", "BAD_SELFIE", "BAD_VIDEO_SELFIE", "BAD_FACE_MATCHING", "BAD_PROOF_OF_IDENTITY", "BAD_PROOF_OF_ADDRESS", "BAD_PROOF_OF_PAYMENT", "SELFIE_WITH_PAPER", "FRAUDULENT_LIVENESS", "OTHER", "REQUESTED_DATA_MISMATCH", "OK", "COMPANY_NOT_DEFINED_STRUCTURE", "COMPANY_NOT_DEFINED_BENEFICIARIES", "COMPANY_NOT_VALIDATED_BENEFICIARIES", "COMPANY_NOT_DEFINED_REPRESENTATIVES", "COMPANY_NOT_VALIDATED_REPRESENTATIVES", "APPLICANT_INTERRUPTED_INTERVIEW", "DOCUMENT_MISSING", "UNSUITABLE_ENV", "CONNECTION_INTERRUPTED", "UNSUPPORTED_LANGUAGE", "THIRD_PARTY_INVOLVED", "CHECK_UNAVAILABLE", "INCORRECT_SOCIAL_NUMBER"])).describe("Reject labels").optional(),
|
|
1605
|
+
documentType: zod.z["enum"](["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]).describe("Type of the document provided by the credential subject"),
|
|
1606
|
+
entryDate: zod.z.number()["int"]().describe("Entry date associated with the credential"),
|
|
1607
|
+
entryTime: zod.z.string().describe("Entry time associated with the credential"),
|
|
1608
|
+
personalData: zod.z.object({
|
|
1609
|
+
firstName: zod.z.string().describe("First name of the credential subject").optional(),
|
|
1610
|
+
middleName: zod.z.string().describe("Middle name of the credential subject").optional(),
|
|
1611
|
+
lastName: zod.z.string().describe("Last name of the credential subject").optional(),
|
|
1612
|
+
gender: zod.z.string().describe("Gender of the credential subject").optional(),
|
|
1613
|
+
age: zod.z.number()["int"]().gte(0).lte(125).describe("Age of the credential subject").optional(),
|
|
1614
|
+
citizenship: zod.z["enum"](["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]).describe("Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)").optional(),
|
|
1615
|
+
country: zod.z["enum"](["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]).describe("Country of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)").optional(),
|
|
1616
|
+
fullName: zod.z.string().describe("Full name of the credential subject").optional(),
|
|
1617
|
+
birthDate: zod.z.number()["int"]().describe("Birth Date of the credential subject in integer format of yyyymmdd, example: 20231226 2023 year, 12-December, 26-day").optional(),
|
|
1618
|
+
countryOfBirth: zod.z["enum"](["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]).describe("Country of birth of the credential subject - - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)").optional(),
|
|
1619
|
+
stateOfBirth: zod.z.string().describe("State of birth of the credential subject").optional()
|
|
1620
|
+
}).describe("Original data extracted by the provider"),
|
|
1621
|
+
isSandbox: zod.z["boolean"]().describe("Indicates if the credential was generated in a sandbox environment").optional()
|
|
1622
|
+
}).describe("Stores the data of the credential");
|
|
1623
|
+
|
|
1599
1624
|
var IDImageCredentialSubjectSchema = zod.z.object({
|
|
1600
1625
|
id: zod.z.string().url().describe("Stores the DID of the subject that owns the credential"),
|
|
1601
1626
|
journeyId: zod.z.string().uuid().describe("The ID of the journey that this credential is associated with"),
|
|
@@ -1703,6 +1728,10 @@ var GenericVerifiableCredentialSchema = zod.z.object({
|
|
|
1703
1728
|
proof: zod.z.any() //object | unknown[];
|
|
1704
1729
|
});
|
|
1705
1730
|
|
|
1731
|
+
// IDInformationTfhe
|
|
1732
|
+
var IDInformationTfheCredentialSchema = GenericVerifiableCredentialSchema.extend({
|
|
1733
|
+
credentialSubject: IDInformationTfheCredentialSubjectSchema
|
|
1734
|
+
});
|
|
1706
1735
|
// IDInformation
|
|
1707
1736
|
var IDInformationCredentialSchema = GenericVerifiableCredentialSchema.extend({
|
|
1708
1737
|
credentialSubject: IDInformationCredentialSubjectSchema
|
|
@@ -2101,6 +2130,10 @@ var CUSTOMER_AUTOMATION_REASONS = {
|
|
|
2101
2130
|
offchain_zkp: {
|
|
2102
2131
|
fail: "Offchain ZKP verification failed",
|
|
2103
2132
|
pass: "Offchain ZKP verification passed"
|
|
2133
|
+
},
|
|
2134
|
+
tfhe: {
|
|
2135
|
+
fail: "TFHE verification failed",
|
|
2136
|
+
pass: "TFHE verification passed"
|
|
2104
2137
|
}
|
|
2105
2138
|
};
|
|
2106
2139
|
|
|
@@ -5085,240 +5118,1320 @@ var KycSessionJsonSchema = {
|
|
|
5085
5118
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
5086
5119
|
};
|
|
5087
5120
|
|
|
5088
|
-
var
|
|
5089
|
-
$ref: "#/definitions/
|
|
5121
|
+
var TfheJsonSchema = {
|
|
5122
|
+
$ref: "#/definitions/Tfhe",
|
|
5090
5123
|
definitions: {
|
|
5091
|
-
|
|
5124
|
+
Tfhe: {
|
|
5092
5125
|
type: "object",
|
|
5093
5126
|
properties: {
|
|
5094
|
-
|
|
5095
|
-
type: "object",
|
|
5096
|
-
properties: {
|
|
5097
|
-
USD: {
|
|
5098
|
-
description: "decimal"
|
|
5099
|
-
},
|
|
5100
|
-
EUR: {
|
|
5101
|
-
description: "decimal"
|
|
5102
|
-
},
|
|
5103
|
-
GBP: {
|
|
5104
|
-
description: "decimal"
|
|
5105
|
-
}
|
|
5106
|
-
},
|
|
5107
|
-
additionalProperties: false
|
|
5108
|
-
},
|
|
5109
|
-
event: {
|
|
5110
|
-
type: "object",
|
|
5111
|
-
properties: {
|
|
5112
|
-
transactionDate: {
|
|
5113
|
-
type: "string",
|
|
5114
|
-
format: "date-time"
|
|
5115
|
-
},
|
|
5116
|
-
amount: {
|
|
5117
|
-
description: "decimal"
|
|
5118
|
-
},
|
|
5119
|
-
riskScore: {
|
|
5120
|
-
type: "number"
|
|
5121
|
-
},
|
|
5122
|
-
riskLevel: {
|
|
5123
|
-
type: "string"
|
|
5124
|
-
},
|
|
5125
|
-
type: {
|
|
5126
|
-
type: "string",
|
|
5127
|
-
"enum": [
|
|
5128
|
-
"crypto",
|
|
5129
|
-
"fiat"
|
|
5130
|
-
]
|
|
5131
|
-
},
|
|
5132
|
-
assets: {
|
|
5133
|
-
type: "array",
|
|
5134
|
-
items: {
|
|
5135
|
-
type: "string"
|
|
5136
|
-
}
|
|
5137
|
-
}
|
|
5138
|
-
},
|
|
5139
|
-
additionalProperties: false
|
|
5140
|
-
},
|
|
5141
|
-
originator: {
|
|
5127
|
+
vcs: {
|
|
5142
5128
|
type: "object",
|
|
5143
5129
|
properties: {
|
|
5144
|
-
|
|
5145
|
-
type: "
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5130
|
+
IDInformationTfhe: {
|
|
5131
|
+
type: "object",
|
|
5132
|
+
properties: {
|
|
5133
|
+
v1: {
|
|
5134
|
+
type: "object",
|
|
5135
|
+
properties: {
|
|
5136
|
+
id: {
|
|
5137
|
+
type: "string"
|
|
5138
|
+
},
|
|
5139
|
+
"@context": {
|
|
5140
|
+
type: "array",
|
|
5141
|
+
items: {
|
|
5142
|
+
type: "string"
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
type: {
|
|
5146
|
+
type: "array",
|
|
5147
|
+
items: {
|
|
5148
|
+
type: "string"
|
|
5149
|
+
}
|
|
5150
|
+
},
|
|
5151
|
+
expirationDate: {
|
|
5152
|
+
type: "string"
|
|
5153
|
+
},
|
|
5154
|
+
issuanceDate: {
|
|
5155
|
+
type: "string"
|
|
5156
|
+
},
|
|
5157
|
+
credentialSubject: {
|
|
5158
|
+
type: "object",
|
|
5159
|
+
properties: {
|
|
5160
|
+
id: {
|
|
5161
|
+
type: "string",
|
|
5162
|
+
format: "uri",
|
|
5163
|
+
description: "Stores the DID of the subject that owns the credential"
|
|
5164
|
+
},
|
|
5165
|
+
journeyId: {
|
|
5166
|
+
type: "string",
|
|
5167
|
+
format: "uuid",
|
|
5168
|
+
description: "Journey ID of when credential was generated"
|
|
5169
|
+
},
|
|
5170
|
+
reviewAnswer: {
|
|
5171
|
+
type: "string",
|
|
5172
|
+
"enum": [
|
|
5173
|
+
"RED",
|
|
5174
|
+
"YELLOW",
|
|
5175
|
+
"GREEN"
|
|
5176
|
+
],
|
|
5177
|
+
description: "Review result from kyc provider"
|
|
5178
|
+
},
|
|
5179
|
+
reviewRejectType: {
|
|
5180
|
+
type: "string",
|
|
5181
|
+
"enum": [
|
|
5182
|
+
"FINAL",
|
|
5183
|
+
"RETRY"
|
|
5184
|
+
],
|
|
5185
|
+
description: "Review reject type"
|
|
5186
|
+
},
|
|
5187
|
+
reviewRejectLabels: {
|
|
5188
|
+
type: "array",
|
|
5189
|
+
items: {
|
|
5190
|
+
type: "string",
|
|
5191
|
+
"enum": [
|
|
5192
|
+
"FORGERY",
|
|
5193
|
+
"DOCUMENT_TEMPLATE",
|
|
5194
|
+
"LOW_QUALITY",
|
|
5195
|
+
"SPAM",
|
|
5196
|
+
"NOT_DOCUMENT",
|
|
5197
|
+
"SELFIE_MISMATCH",
|
|
5198
|
+
"ID_INVALID",
|
|
5199
|
+
"FOREIGNER",
|
|
5200
|
+
"DUPLICATE",
|
|
5201
|
+
"BAD_AVATAR",
|
|
5202
|
+
"WRONG_USER_REGION",
|
|
5203
|
+
"INCOMPLETE_DOCUMENT",
|
|
5204
|
+
"BLACKLIST",
|
|
5205
|
+
"BLOCKLIST",
|
|
5206
|
+
"UNSATISFACTORY_PHOTOS",
|
|
5207
|
+
"DOCUMENT_PAGE_MISSING",
|
|
5208
|
+
"DOCUMENT_DAMAGED",
|
|
5209
|
+
"REGULATIONS_VIOLATIONS",
|
|
5210
|
+
"INCONSISTENT_PROFILE",
|
|
5211
|
+
"PROBLEMATIC_APPLICANT_DATA",
|
|
5212
|
+
"ADDITIONAL_DOCUMENT_REQUIRED",
|
|
5213
|
+
"AGE_REQUIREMENT_MISMATCH",
|
|
5214
|
+
"EXPERIENCE_REQUIREMENT_MISMATCH",
|
|
5215
|
+
"CRIMINAL",
|
|
5216
|
+
"WRONG_ADDRESS",
|
|
5217
|
+
"GRAPHIC_EDITOR",
|
|
5218
|
+
"DOCUMENT_DEPRIVED",
|
|
5219
|
+
"COMPROMISED_PERSONS",
|
|
5220
|
+
"PEP",
|
|
5221
|
+
"ADVERSE_MEDIA",
|
|
5222
|
+
"FRAUDULENT_PATTERNS",
|
|
5223
|
+
"SANCTIONS",
|
|
5224
|
+
"NOT_ALL_CHECKS_COMPLETED",
|
|
5225
|
+
"FRONT_SIDE_MISSING",
|
|
5226
|
+
"BACK_SIDE_MISSING",
|
|
5227
|
+
"SCREENSHOTS",
|
|
5228
|
+
"BLACK_AND_WHITE",
|
|
5229
|
+
"INCOMPATIBLE_LANGUAGE",
|
|
5230
|
+
"EXPIRATION_DATE",
|
|
5231
|
+
"UNFILLED_ID",
|
|
5232
|
+
"BAD_SELFIE",
|
|
5233
|
+
"BAD_VIDEO_SELFIE",
|
|
5234
|
+
"BAD_FACE_MATCHING",
|
|
5235
|
+
"BAD_PROOF_OF_IDENTITY",
|
|
5236
|
+
"BAD_PROOF_OF_ADDRESS",
|
|
5237
|
+
"BAD_PROOF_OF_PAYMENT",
|
|
5238
|
+
"SELFIE_WITH_PAPER",
|
|
5239
|
+
"FRAUDULENT_LIVENESS",
|
|
5240
|
+
"OTHER",
|
|
5241
|
+
"REQUESTED_DATA_MISMATCH",
|
|
5242
|
+
"OK",
|
|
5243
|
+
"COMPANY_NOT_DEFINED_STRUCTURE",
|
|
5244
|
+
"COMPANY_NOT_DEFINED_BENEFICIARIES",
|
|
5245
|
+
"COMPANY_NOT_VALIDATED_BENEFICIARIES",
|
|
5246
|
+
"COMPANY_NOT_DEFINED_REPRESENTATIVES",
|
|
5247
|
+
"COMPANY_NOT_VALIDATED_REPRESENTATIVES",
|
|
5248
|
+
"APPLICANT_INTERRUPTED_INTERVIEW",
|
|
5249
|
+
"DOCUMENT_MISSING",
|
|
5250
|
+
"UNSUITABLE_ENV",
|
|
5251
|
+
"CONNECTION_INTERRUPTED",
|
|
5252
|
+
"UNSUPPORTED_LANGUAGE",
|
|
5253
|
+
"THIRD_PARTY_INVOLVED",
|
|
5254
|
+
"CHECK_UNAVAILABLE",
|
|
5255
|
+
"INCORRECT_SOCIAL_NUMBER"
|
|
5256
|
+
]
|
|
5257
|
+
},
|
|
5258
|
+
description: "Reject labels"
|
|
5259
|
+
},
|
|
5260
|
+
documentType: {
|
|
5261
|
+
type: "string",
|
|
5262
|
+
"enum": [
|
|
5263
|
+
"ID_CARD",
|
|
5264
|
+
"PASSPORT",
|
|
5265
|
+
"DRIVERS",
|
|
5266
|
+
"RESIDENCE_PERMIT",
|
|
5267
|
+
"UTILITY_BILL",
|
|
5268
|
+
"SELFIE",
|
|
5269
|
+
"VIDEO_SELFIE",
|
|
5270
|
+
"PROFILE_IMAGE",
|
|
5271
|
+
"ID_DOC_PHOTO",
|
|
5272
|
+
"AGREEMENT",
|
|
5273
|
+
"CONTRACT",
|
|
5274
|
+
"DRIVERS_TRANSLATION",
|
|
5275
|
+
"INVESTOR_DOC",
|
|
5276
|
+
"VEHICLE_REGISTRATION_CERTIFICATE",
|
|
5277
|
+
"INCOME_SOURCE",
|
|
5278
|
+
"PAYMENT_METHOD",
|
|
5279
|
+
"BANK_CARD",
|
|
5280
|
+
"COVID_VACCINATION_FORM",
|
|
5281
|
+
"OTHER"
|
|
5282
|
+
],
|
|
5283
|
+
description: "Type of the document provided by the credential subject"
|
|
5284
|
+
},
|
|
5285
|
+
entryDate: {
|
|
5286
|
+
type: "integer",
|
|
5287
|
+
description: "Entry date associated with the credential"
|
|
5288
|
+
},
|
|
5289
|
+
entryTime: {
|
|
5290
|
+
type: "string",
|
|
5291
|
+
description: "Entry time associated with the credential"
|
|
5292
|
+
},
|
|
5293
|
+
personalData: {
|
|
5294
|
+
type: "object",
|
|
5295
|
+
properties: {
|
|
5296
|
+
firstName: {
|
|
5297
|
+
type: "string",
|
|
5298
|
+
description: "First name of the credential subject"
|
|
5299
|
+
},
|
|
5300
|
+
middleName: {
|
|
5301
|
+
type: "string",
|
|
5302
|
+
description: "Middle name of the credential subject"
|
|
5303
|
+
},
|
|
5304
|
+
lastName: {
|
|
5305
|
+
type: "string",
|
|
5306
|
+
description: "Last name of the credential subject"
|
|
5307
|
+
},
|
|
5308
|
+
gender: {
|
|
5309
|
+
type: "string",
|
|
5310
|
+
description: "Gender of the credential subject"
|
|
5311
|
+
},
|
|
5312
|
+
age: {
|
|
5313
|
+
type: "integer",
|
|
5314
|
+
minimum: 0,
|
|
5315
|
+
maximum: 125,
|
|
5316
|
+
description: "Age of the credential subject"
|
|
5317
|
+
},
|
|
5318
|
+
citizenship: {
|
|
5319
|
+
type: "string",
|
|
5320
|
+
"enum": [
|
|
5321
|
+
"AFG",
|
|
5322
|
+
"ALB",
|
|
5323
|
+
"DZA",
|
|
5324
|
+
"ASM",
|
|
5325
|
+
"AND",
|
|
5326
|
+
"AGO",
|
|
5327
|
+
"AIA",
|
|
5328
|
+
"ATA",
|
|
5329
|
+
"ATG",
|
|
5330
|
+
"ARG",
|
|
5331
|
+
"ARM",
|
|
5332
|
+
"ABW",
|
|
5333
|
+
"AUS",
|
|
5334
|
+
"AUT",
|
|
5335
|
+
"AZE",
|
|
5336
|
+
"BHS",
|
|
5337
|
+
"BHR",
|
|
5338
|
+
"BGD",
|
|
5339
|
+
"BRB",
|
|
5340
|
+
"BLR",
|
|
5341
|
+
"BEL",
|
|
5342
|
+
"BLZ",
|
|
5343
|
+
"BEN",
|
|
5344
|
+
"BMU",
|
|
5345
|
+
"BTN",
|
|
5346
|
+
"BOL",
|
|
5347
|
+
"BES",
|
|
5348
|
+
"BIH",
|
|
5349
|
+
"BWA",
|
|
5350
|
+
"BVT",
|
|
5351
|
+
"BRA",
|
|
5352
|
+
"IOT",
|
|
5353
|
+
"BRN",
|
|
5354
|
+
"BGR",
|
|
5355
|
+
"BFA",
|
|
5356
|
+
"BDI",
|
|
5357
|
+
"CPV",
|
|
5358
|
+
"KHM",
|
|
5359
|
+
"CMR",
|
|
5360
|
+
"CAN",
|
|
5361
|
+
"CYM",
|
|
5362
|
+
"CAF",
|
|
5363
|
+
"TCD",
|
|
5364
|
+
"CHL",
|
|
5365
|
+
"CHN",
|
|
5366
|
+
"CXR",
|
|
5367
|
+
"CCK",
|
|
5368
|
+
"COL",
|
|
5369
|
+
"COM",
|
|
5370
|
+
"COD",
|
|
5371
|
+
"COG",
|
|
5372
|
+
"COK",
|
|
5373
|
+
"CRI",
|
|
5374
|
+
"HRV",
|
|
5375
|
+
"CUB",
|
|
5376
|
+
"CUW",
|
|
5377
|
+
"CYP",
|
|
5378
|
+
"CZE",
|
|
5379
|
+
"CIV",
|
|
5380
|
+
"DNK",
|
|
5381
|
+
"DJI",
|
|
5382
|
+
"DMA",
|
|
5383
|
+
"DOM",
|
|
5384
|
+
"ECU",
|
|
5385
|
+
"EGY",
|
|
5386
|
+
"SLV",
|
|
5387
|
+
"GNQ",
|
|
5388
|
+
"ERI",
|
|
5389
|
+
"EST",
|
|
5390
|
+
"SWZ",
|
|
5391
|
+
"ETH",
|
|
5392
|
+
"FLK",
|
|
5393
|
+
"FRO",
|
|
5394
|
+
"FJI",
|
|
5395
|
+
"FIN",
|
|
5396
|
+
"FRA",
|
|
5397
|
+
"GUF",
|
|
5398
|
+
"PYF",
|
|
5399
|
+
"ATF",
|
|
5400
|
+
"GAB",
|
|
5401
|
+
"GMB",
|
|
5402
|
+
"GEO",
|
|
5403
|
+
"DEU",
|
|
5404
|
+
"GHA",
|
|
5405
|
+
"GIB",
|
|
5406
|
+
"GRC",
|
|
5407
|
+
"GRL",
|
|
5408
|
+
"GRD",
|
|
5409
|
+
"GLP",
|
|
5410
|
+
"GUM",
|
|
5411
|
+
"GTM",
|
|
5412
|
+
"GGY",
|
|
5413
|
+
"GIN",
|
|
5414
|
+
"GNB",
|
|
5415
|
+
"GUY",
|
|
5416
|
+
"HTI",
|
|
5417
|
+
"HMD",
|
|
5418
|
+
"VAT",
|
|
5419
|
+
"HND",
|
|
5420
|
+
"HKG",
|
|
5421
|
+
"HUN",
|
|
5422
|
+
"ISL",
|
|
5423
|
+
"IND",
|
|
5424
|
+
"IDN",
|
|
5425
|
+
"IRN",
|
|
5426
|
+
"IRQ",
|
|
5427
|
+
"IRL",
|
|
5428
|
+
"IMN",
|
|
5429
|
+
"ISR",
|
|
5430
|
+
"ITA",
|
|
5431
|
+
"JAM",
|
|
5432
|
+
"JPN",
|
|
5433
|
+
"JEY",
|
|
5434
|
+
"JOR",
|
|
5435
|
+
"KAZ",
|
|
5436
|
+
"KEN",
|
|
5437
|
+
"KIR",
|
|
5438
|
+
"PRK",
|
|
5439
|
+
"KOR",
|
|
5440
|
+
"KWT",
|
|
5441
|
+
"KGZ",
|
|
5442
|
+
"LAO",
|
|
5443
|
+
"LVA",
|
|
5444
|
+
"LBN",
|
|
5445
|
+
"LSO",
|
|
5446
|
+
"LBR",
|
|
5447
|
+
"LBY",
|
|
5448
|
+
"LIE",
|
|
5449
|
+
"LTU",
|
|
5450
|
+
"LUX",
|
|
5451
|
+
"MAC",
|
|
5452
|
+
"MDG",
|
|
5453
|
+
"MWI",
|
|
5454
|
+
"MYS",
|
|
5455
|
+
"MDV",
|
|
5456
|
+
"MLI",
|
|
5457
|
+
"MLT",
|
|
5458
|
+
"MHL",
|
|
5459
|
+
"MTQ",
|
|
5460
|
+
"MRT",
|
|
5461
|
+
"MUS",
|
|
5462
|
+
"MYT",
|
|
5463
|
+
"MEX",
|
|
5464
|
+
"FSM",
|
|
5465
|
+
"MDA",
|
|
5466
|
+
"MCO",
|
|
5467
|
+
"MNG",
|
|
5468
|
+
"MNE",
|
|
5469
|
+
"MSR",
|
|
5470
|
+
"MAR",
|
|
5471
|
+
"MOZ",
|
|
5472
|
+
"MMR",
|
|
5473
|
+
"NAM",
|
|
5474
|
+
"NRU",
|
|
5475
|
+
"NPL",
|
|
5476
|
+
"NLD",
|
|
5477
|
+
"NCL",
|
|
5478
|
+
"NZL",
|
|
5479
|
+
"NIC",
|
|
5480
|
+
"NER",
|
|
5481
|
+
"NGA",
|
|
5482
|
+
"NIU",
|
|
5483
|
+
"NFK",
|
|
5484
|
+
"MNP",
|
|
5485
|
+
"NOR",
|
|
5486
|
+
"OMN",
|
|
5487
|
+
"PAK",
|
|
5488
|
+
"PLW",
|
|
5489
|
+
"PSE",
|
|
5490
|
+
"PAN",
|
|
5491
|
+
"PNG",
|
|
5492
|
+
"PRY",
|
|
5493
|
+
"PER",
|
|
5494
|
+
"PHL",
|
|
5495
|
+
"PCN",
|
|
5496
|
+
"POL",
|
|
5497
|
+
"PRT",
|
|
5498
|
+
"PRI",
|
|
5499
|
+
"QAT",
|
|
5500
|
+
"MKD",
|
|
5501
|
+
"ROU",
|
|
5502
|
+
"RUS",
|
|
5503
|
+
"RWA",
|
|
5504
|
+
"REU",
|
|
5505
|
+
"BLM",
|
|
5506
|
+
"SHN",
|
|
5507
|
+
"KNA",
|
|
5508
|
+
"LCA",
|
|
5509
|
+
"MAF",
|
|
5510
|
+
"SPM",
|
|
5511
|
+
"VCT",
|
|
5512
|
+
"WSM",
|
|
5513
|
+
"SMR",
|
|
5514
|
+
"STP",
|
|
5515
|
+
"SAU",
|
|
5516
|
+
"SEN",
|
|
5517
|
+
"SRB",
|
|
5518
|
+
"SYC",
|
|
5519
|
+
"SLE",
|
|
5520
|
+
"SGP",
|
|
5521
|
+
"SXM",
|
|
5522
|
+
"SVK",
|
|
5523
|
+
"SVN",
|
|
5524
|
+
"SLB",
|
|
5525
|
+
"SOM",
|
|
5526
|
+
"ZAF",
|
|
5527
|
+
"SGS",
|
|
5528
|
+
"SSD",
|
|
5529
|
+
"ESP",
|
|
5530
|
+
"LKA",
|
|
5531
|
+
"SDN",
|
|
5532
|
+
"SUR",
|
|
5533
|
+
"SJM",
|
|
5534
|
+
"SWE",
|
|
5535
|
+
"CHE",
|
|
5536
|
+
"SYR",
|
|
5537
|
+
"TWN",
|
|
5538
|
+
"TJK",
|
|
5539
|
+
"TZA",
|
|
5540
|
+
"THA",
|
|
5541
|
+
"TLS",
|
|
5542
|
+
"TGO",
|
|
5543
|
+
"TKL",
|
|
5544
|
+
"TON",
|
|
5545
|
+
"TTO",
|
|
5546
|
+
"TUN",
|
|
5547
|
+
"TUR",
|
|
5548
|
+
"TKM",
|
|
5549
|
+
"TCA",
|
|
5550
|
+
"TUV",
|
|
5551
|
+
"UGA",
|
|
5552
|
+
"UKR",
|
|
5553
|
+
"ARE",
|
|
5554
|
+
"GBR",
|
|
5555
|
+
"UMI",
|
|
5556
|
+
"USA",
|
|
5557
|
+
"URY",
|
|
5558
|
+
"UZB",
|
|
5559
|
+
"VUT",
|
|
5560
|
+
"VEN",
|
|
5561
|
+
"VNM",
|
|
5562
|
+
"VGB",
|
|
5563
|
+
"VIR",
|
|
5564
|
+
"WLF",
|
|
5565
|
+
"ESH",
|
|
5566
|
+
"YEM",
|
|
5567
|
+
"ZMB",
|
|
5568
|
+
"ZWE",
|
|
5569
|
+
"ALA",
|
|
5570
|
+
"ANT",
|
|
5571
|
+
"XKX"
|
|
5572
|
+
],
|
|
5573
|
+
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"
|
|
5574
|
+
},
|
|
5575
|
+
country: {
|
|
5576
|
+
type: "string",
|
|
5577
|
+
"enum": [
|
|
5578
|
+
"AFG",
|
|
5579
|
+
"ALB",
|
|
5580
|
+
"DZA",
|
|
5581
|
+
"ASM",
|
|
5582
|
+
"AND",
|
|
5583
|
+
"AGO",
|
|
5584
|
+
"AIA",
|
|
5585
|
+
"ATA",
|
|
5586
|
+
"ATG",
|
|
5587
|
+
"ARG",
|
|
5588
|
+
"ARM",
|
|
5589
|
+
"ABW",
|
|
5590
|
+
"AUS",
|
|
5591
|
+
"AUT",
|
|
5592
|
+
"AZE",
|
|
5593
|
+
"BHS",
|
|
5594
|
+
"BHR",
|
|
5595
|
+
"BGD",
|
|
5596
|
+
"BRB",
|
|
5597
|
+
"BLR",
|
|
5598
|
+
"BEL",
|
|
5599
|
+
"BLZ",
|
|
5600
|
+
"BEN",
|
|
5601
|
+
"BMU",
|
|
5602
|
+
"BTN",
|
|
5603
|
+
"BOL",
|
|
5604
|
+
"BES",
|
|
5605
|
+
"BIH",
|
|
5606
|
+
"BWA",
|
|
5607
|
+
"BVT",
|
|
5608
|
+
"BRA",
|
|
5609
|
+
"IOT",
|
|
5610
|
+
"BRN",
|
|
5611
|
+
"BGR",
|
|
5612
|
+
"BFA",
|
|
5613
|
+
"BDI",
|
|
5614
|
+
"CPV",
|
|
5615
|
+
"KHM",
|
|
5616
|
+
"CMR",
|
|
5617
|
+
"CAN",
|
|
5618
|
+
"CYM",
|
|
5619
|
+
"CAF",
|
|
5620
|
+
"TCD",
|
|
5621
|
+
"CHL",
|
|
5622
|
+
"CHN",
|
|
5623
|
+
"CXR",
|
|
5624
|
+
"CCK",
|
|
5625
|
+
"COL",
|
|
5626
|
+
"COM",
|
|
5627
|
+
"COD",
|
|
5628
|
+
"COG",
|
|
5629
|
+
"COK",
|
|
5630
|
+
"CRI",
|
|
5631
|
+
"HRV",
|
|
5632
|
+
"CUB",
|
|
5633
|
+
"CUW",
|
|
5634
|
+
"CYP",
|
|
5635
|
+
"CZE",
|
|
5636
|
+
"CIV",
|
|
5637
|
+
"DNK",
|
|
5638
|
+
"DJI",
|
|
5639
|
+
"DMA",
|
|
5640
|
+
"DOM",
|
|
5641
|
+
"ECU",
|
|
5642
|
+
"EGY",
|
|
5643
|
+
"SLV",
|
|
5644
|
+
"GNQ",
|
|
5645
|
+
"ERI",
|
|
5646
|
+
"EST",
|
|
5647
|
+
"SWZ",
|
|
5648
|
+
"ETH",
|
|
5649
|
+
"FLK",
|
|
5650
|
+
"FRO",
|
|
5651
|
+
"FJI",
|
|
5652
|
+
"FIN",
|
|
5653
|
+
"FRA",
|
|
5654
|
+
"GUF",
|
|
5655
|
+
"PYF",
|
|
5656
|
+
"ATF",
|
|
5657
|
+
"GAB",
|
|
5658
|
+
"GMB",
|
|
5659
|
+
"GEO",
|
|
5660
|
+
"DEU",
|
|
5661
|
+
"GHA",
|
|
5662
|
+
"GIB",
|
|
5663
|
+
"GRC",
|
|
5664
|
+
"GRL",
|
|
5665
|
+
"GRD",
|
|
5666
|
+
"GLP",
|
|
5667
|
+
"GUM",
|
|
5668
|
+
"GTM",
|
|
5669
|
+
"GGY",
|
|
5670
|
+
"GIN",
|
|
5671
|
+
"GNB",
|
|
5672
|
+
"GUY",
|
|
5673
|
+
"HTI",
|
|
5674
|
+
"HMD",
|
|
5675
|
+
"VAT",
|
|
5676
|
+
"HND",
|
|
5677
|
+
"HKG",
|
|
5678
|
+
"HUN",
|
|
5679
|
+
"ISL",
|
|
5680
|
+
"IND",
|
|
5681
|
+
"IDN",
|
|
5682
|
+
"IRN",
|
|
5683
|
+
"IRQ",
|
|
5684
|
+
"IRL",
|
|
5685
|
+
"IMN",
|
|
5686
|
+
"ISR",
|
|
5687
|
+
"ITA",
|
|
5688
|
+
"JAM",
|
|
5689
|
+
"JPN",
|
|
5690
|
+
"JEY",
|
|
5691
|
+
"JOR",
|
|
5692
|
+
"KAZ",
|
|
5693
|
+
"KEN",
|
|
5694
|
+
"KIR",
|
|
5695
|
+
"PRK",
|
|
5696
|
+
"KOR",
|
|
5697
|
+
"KWT",
|
|
5698
|
+
"KGZ",
|
|
5699
|
+
"LAO",
|
|
5700
|
+
"LVA",
|
|
5701
|
+
"LBN",
|
|
5702
|
+
"LSO",
|
|
5703
|
+
"LBR",
|
|
5704
|
+
"LBY",
|
|
5705
|
+
"LIE",
|
|
5706
|
+
"LTU",
|
|
5707
|
+
"LUX",
|
|
5708
|
+
"MAC",
|
|
5709
|
+
"MDG",
|
|
5710
|
+
"MWI",
|
|
5711
|
+
"MYS",
|
|
5712
|
+
"MDV",
|
|
5713
|
+
"MLI",
|
|
5714
|
+
"MLT",
|
|
5715
|
+
"MHL",
|
|
5716
|
+
"MTQ",
|
|
5717
|
+
"MRT",
|
|
5718
|
+
"MUS",
|
|
5719
|
+
"MYT",
|
|
5720
|
+
"MEX",
|
|
5721
|
+
"FSM",
|
|
5722
|
+
"MDA",
|
|
5723
|
+
"MCO",
|
|
5724
|
+
"MNG",
|
|
5725
|
+
"MNE",
|
|
5726
|
+
"MSR",
|
|
5727
|
+
"MAR",
|
|
5728
|
+
"MOZ",
|
|
5729
|
+
"MMR",
|
|
5730
|
+
"NAM",
|
|
5731
|
+
"NRU",
|
|
5732
|
+
"NPL",
|
|
5733
|
+
"NLD",
|
|
5734
|
+
"NCL",
|
|
5735
|
+
"NZL",
|
|
5736
|
+
"NIC",
|
|
5737
|
+
"NER",
|
|
5738
|
+
"NGA",
|
|
5739
|
+
"NIU",
|
|
5740
|
+
"NFK",
|
|
5741
|
+
"MNP",
|
|
5742
|
+
"NOR",
|
|
5743
|
+
"OMN",
|
|
5744
|
+
"PAK",
|
|
5745
|
+
"PLW",
|
|
5746
|
+
"PSE",
|
|
5747
|
+
"PAN",
|
|
5748
|
+
"PNG",
|
|
5749
|
+
"PRY",
|
|
5750
|
+
"PER",
|
|
5751
|
+
"PHL",
|
|
5752
|
+
"PCN",
|
|
5753
|
+
"POL",
|
|
5754
|
+
"PRT",
|
|
5755
|
+
"PRI",
|
|
5756
|
+
"QAT",
|
|
5757
|
+
"MKD",
|
|
5758
|
+
"ROU",
|
|
5759
|
+
"RUS",
|
|
5760
|
+
"RWA",
|
|
5761
|
+
"REU",
|
|
5762
|
+
"BLM",
|
|
5763
|
+
"SHN",
|
|
5764
|
+
"KNA",
|
|
5765
|
+
"LCA",
|
|
5766
|
+
"MAF",
|
|
5767
|
+
"SPM",
|
|
5768
|
+
"VCT",
|
|
5769
|
+
"WSM",
|
|
5770
|
+
"SMR",
|
|
5771
|
+
"STP",
|
|
5772
|
+
"SAU",
|
|
5773
|
+
"SEN",
|
|
5774
|
+
"SRB",
|
|
5775
|
+
"SYC",
|
|
5776
|
+
"SLE",
|
|
5777
|
+
"SGP",
|
|
5778
|
+
"SXM",
|
|
5779
|
+
"SVK",
|
|
5780
|
+
"SVN",
|
|
5781
|
+
"SLB",
|
|
5782
|
+
"SOM",
|
|
5783
|
+
"ZAF",
|
|
5784
|
+
"SGS",
|
|
5785
|
+
"SSD",
|
|
5786
|
+
"ESP",
|
|
5787
|
+
"LKA",
|
|
5788
|
+
"SDN",
|
|
5789
|
+
"SUR",
|
|
5790
|
+
"SJM",
|
|
5791
|
+
"SWE",
|
|
5792
|
+
"CHE",
|
|
5793
|
+
"SYR",
|
|
5794
|
+
"TWN",
|
|
5795
|
+
"TJK",
|
|
5796
|
+
"TZA",
|
|
5797
|
+
"THA",
|
|
5798
|
+
"TLS",
|
|
5799
|
+
"TGO",
|
|
5800
|
+
"TKL",
|
|
5801
|
+
"TON",
|
|
5802
|
+
"TTO",
|
|
5803
|
+
"TUN",
|
|
5804
|
+
"TUR",
|
|
5805
|
+
"TKM",
|
|
5806
|
+
"TCA",
|
|
5807
|
+
"TUV",
|
|
5808
|
+
"UGA",
|
|
5809
|
+
"UKR",
|
|
5810
|
+
"ARE",
|
|
5811
|
+
"GBR",
|
|
5812
|
+
"UMI",
|
|
5813
|
+
"USA",
|
|
5814
|
+
"URY",
|
|
5815
|
+
"UZB",
|
|
5816
|
+
"VUT",
|
|
5817
|
+
"VEN",
|
|
5818
|
+
"VNM",
|
|
5819
|
+
"VGB",
|
|
5820
|
+
"VIR",
|
|
5821
|
+
"WLF",
|
|
5822
|
+
"ESH",
|
|
5823
|
+
"YEM",
|
|
5824
|
+
"ZMB",
|
|
5825
|
+
"ZWE",
|
|
5826
|
+
"ALA",
|
|
5827
|
+
"ANT",
|
|
5828
|
+
"XKX"
|
|
5829
|
+
],
|
|
5830
|
+
description: "Country of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"
|
|
5831
|
+
},
|
|
5832
|
+
fullName: {
|
|
5833
|
+
type: "string",
|
|
5834
|
+
description: "Full name of the credential subject"
|
|
5835
|
+
},
|
|
5836
|
+
birthDate: {
|
|
5837
|
+
type: "integer",
|
|
5838
|
+
description: "Birth Date of the credential subject in integer format of yyyymmdd, example: 20231226 2023 year, 12-December, 26-day"
|
|
5839
|
+
},
|
|
5840
|
+
countryOfBirth: {
|
|
5841
|
+
type: "string",
|
|
5842
|
+
"enum": [
|
|
5843
|
+
"AFG",
|
|
5844
|
+
"ALB",
|
|
5845
|
+
"DZA",
|
|
5846
|
+
"ASM",
|
|
5847
|
+
"AND",
|
|
5848
|
+
"AGO",
|
|
5849
|
+
"AIA",
|
|
5850
|
+
"ATA",
|
|
5851
|
+
"ATG",
|
|
5852
|
+
"ARG",
|
|
5853
|
+
"ARM",
|
|
5854
|
+
"ABW",
|
|
5855
|
+
"AUS",
|
|
5856
|
+
"AUT",
|
|
5857
|
+
"AZE",
|
|
5858
|
+
"BHS",
|
|
5859
|
+
"BHR",
|
|
5860
|
+
"BGD",
|
|
5861
|
+
"BRB",
|
|
5862
|
+
"BLR",
|
|
5863
|
+
"BEL",
|
|
5864
|
+
"BLZ",
|
|
5865
|
+
"BEN",
|
|
5866
|
+
"BMU",
|
|
5867
|
+
"BTN",
|
|
5868
|
+
"BOL",
|
|
5869
|
+
"BES",
|
|
5870
|
+
"BIH",
|
|
5871
|
+
"BWA",
|
|
5872
|
+
"BVT",
|
|
5873
|
+
"BRA",
|
|
5874
|
+
"IOT",
|
|
5875
|
+
"BRN",
|
|
5876
|
+
"BGR",
|
|
5877
|
+
"BFA",
|
|
5878
|
+
"BDI",
|
|
5879
|
+
"CPV",
|
|
5880
|
+
"KHM",
|
|
5881
|
+
"CMR",
|
|
5882
|
+
"CAN",
|
|
5883
|
+
"CYM",
|
|
5884
|
+
"CAF",
|
|
5885
|
+
"TCD",
|
|
5886
|
+
"CHL",
|
|
5887
|
+
"CHN",
|
|
5888
|
+
"CXR",
|
|
5889
|
+
"CCK",
|
|
5890
|
+
"COL",
|
|
5891
|
+
"COM",
|
|
5892
|
+
"COD",
|
|
5893
|
+
"COG",
|
|
5894
|
+
"COK",
|
|
5895
|
+
"CRI",
|
|
5896
|
+
"HRV",
|
|
5897
|
+
"CUB",
|
|
5898
|
+
"CUW",
|
|
5899
|
+
"CYP",
|
|
5900
|
+
"CZE",
|
|
5901
|
+
"CIV",
|
|
5902
|
+
"DNK",
|
|
5903
|
+
"DJI",
|
|
5904
|
+
"DMA",
|
|
5905
|
+
"DOM",
|
|
5906
|
+
"ECU",
|
|
5907
|
+
"EGY",
|
|
5908
|
+
"SLV",
|
|
5909
|
+
"GNQ",
|
|
5910
|
+
"ERI",
|
|
5911
|
+
"EST",
|
|
5912
|
+
"SWZ",
|
|
5913
|
+
"ETH",
|
|
5914
|
+
"FLK",
|
|
5915
|
+
"FRO",
|
|
5916
|
+
"FJI",
|
|
5917
|
+
"FIN",
|
|
5918
|
+
"FRA",
|
|
5919
|
+
"GUF",
|
|
5920
|
+
"PYF",
|
|
5921
|
+
"ATF",
|
|
5922
|
+
"GAB",
|
|
5923
|
+
"GMB",
|
|
5924
|
+
"GEO",
|
|
5925
|
+
"DEU",
|
|
5926
|
+
"GHA",
|
|
5927
|
+
"GIB",
|
|
5928
|
+
"GRC",
|
|
5929
|
+
"GRL",
|
|
5930
|
+
"GRD",
|
|
5931
|
+
"GLP",
|
|
5932
|
+
"GUM",
|
|
5933
|
+
"GTM",
|
|
5934
|
+
"GGY",
|
|
5935
|
+
"GIN",
|
|
5936
|
+
"GNB",
|
|
5937
|
+
"GUY",
|
|
5938
|
+
"HTI",
|
|
5939
|
+
"HMD",
|
|
5940
|
+
"VAT",
|
|
5941
|
+
"HND",
|
|
5942
|
+
"HKG",
|
|
5943
|
+
"HUN",
|
|
5944
|
+
"ISL",
|
|
5945
|
+
"IND",
|
|
5946
|
+
"IDN",
|
|
5947
|
+
"IRN",
|
|
5948
|
+
"IRQ",
|
|
5949
|
+
"IRL",
|
|
5950
|
+
"IMN",
|
|
5951
|
+
"ISR",
|
|
5952
|
+
"ITA",
|
|
5953
|
+
"JAM",
|
|
5954
|
+
"JPN",
|
|
5955
|
+
"JEY",
|
|
5956
|
+
"JOR",
|
|
5957
|
+
"KAZ",
|
|
5958
|
+
"KEN",
|
|
5959
|
+
"KIR",
|
|
5960
|
+
"PRK",
|
|
5961
|
+
"KOR",
|
|
5962
|
+
"KWT",
|
|
5963
|
+
"KGZ",
|
|
5964
|
+
"LAO",
|
|
5965
|
+
"LVA",
|
|
5966
|
+
"LBN",
|
|
5967
|
+
"LSO",
|
|
5968
|
+
"LBR",
|
|
5969
|
+
"LBY",
|
|
5970
|
+
"LIE",
|
|
5971
|
+
"LTU",
|
|
5972
|
+
"LUX",
|
|
5973
|
+
"MAC",
|
|
5974
|
+
"MDG",
|
|
5975
|
+
"MWI",
|
|
5976
|
+
"MYS",
|
|
5977
|
+
"MDV",
|
|
5978
|
+
"MLI",
|
|
5979
|
+
"MLT",
|
|
5980
|
+
"MHL",
|
|
5981
|
+
"MTQ",
|
|
5982
|
+
"MRT",
|
|
5983
|
+
"MUS",
|
|
5984
|
+
"MYT",
|
|
5985
|
+
"MEX",
|
|
5986
|
+
"FSM",
|
|
5987
|
+
"MDA",
|
|
5988
|
+
"MCO",
|
|
5989
|
+
"MNG",
|
|
5990
|
+
"MNE",
|
|
5991
|
+
"MSR",
|
|
5992
|
+
"MAR",
|
|
5993
|
+
"MOZ",
|
|
5994
|
+
"MMR",
|
|
5995
|
+
"NAM",
|
|
5996
|
+
"NRU",
|
|
5997
|
+
"NPL",
|
|
5998
|
+
"NLD",
|
|
5999
|
+
"NCL",
|
|
6000
|
+
"NZL",
|
|
6001
|
+
"NIC",
|
|
6002
|
+
"NER",
|
|
6003
|
+
"NGA",
|
|
6004
|
+
"NIU",
|
|
6005
|
+
"NFK",
|
|
6006
|
+
"MNP",
|
|
6007
|
+
"NOR",
|
|
6008
|
+
"OMN",
|
|
6009
|
+
"PAK",
|
|
6010
|
+
"PLW",
|
|
6011
|
+
"PSE",
|
|
6012
|
+
"PAN",
|
|
6013
|
+
"PNG",
|
|
6014
|
+
"PRY",
|
|
6015
|
+
"PER",
|
|
6016
|
+
"PHL",
|
|
6017
|
+
"PCN",
|
|
6018
|
+
"POL",
|
|
6019
|
+
"PRT",
|
|
6020
|
+
"PRI",
|
|
6021
|
+
"QAT",
|
|
6022
|
+
"MKD",
|
|
6023
|
+
"ROU",
|
|
6024
|
+
"RUS",
|
|
6025
|
+
"RWA",
|
|
6026
|
+
"REU",
|
|
6027
|
+
"BLM",
|
|
6028
|
+
"SHN",
|
|
6029
|
+
"KNA",
|
|
6030
|
+
"LCA",
|
|
6031
|
+
"MAF",
|
|
6032
|
+
"SPM",
|
|
6033
|
+
"VCT",
|
|
6034
|
+
"WSM",
|
|
6035
|
+
"SMR",
|
|
6036
|
+
"STP",
|
|
6037
|
+
"SAU",
|
|
6038
|
+
"SEN",
|
|
6039
|
+
"SRB",
|
|
6040
|
+
"SYC",
|
|
6041
|
+
"SLE",
|
|
6042
|
+
"SGP",
|
|
6043
|
+
"SXM",
|
|
6044
|
+
"SVK",
|
|
6045
|
+
"SVN",
|
|
6046
|
+
"SLB",
|
|
6047
|
+
"SOM",
|
|
6048
|
+
"ZAF",
|
|
6049
|
+
"SGS",
|
|
6050
|
+
"SSD",
|
|
6051
|
+
"ESP",
|
|
6052
|
+
"LKA",
|
|
6053
|
+
"SDN",
|
|
6054
|
+
"SUR",
|
|
6055
|
+
"SJM",
|
|
6056
|
+
"SWE",
|
|
6057
|
+
"CHE",
|
|
6058
|
+
"SYR",
|
|
6059
|
+
"TWN",
|
|
6060
|
+
"TJK",
|
|
6061
|
+
"TZA",
|
|
6062
|
+
"THA",
|
|
6063
|
+
"TLS",
|
|
6064
|
+
"TGO",
|
|
6065
|
+
"TKL",
|
|
6066
|
+
"TON",
|
|
6067
|
+
"TTO",
|
|
6068
|
+
"TUN",
|
|
6069
|
+
"TUR",
|
|
6070
|
+
"TKM",
|
|
6071
|
+
"TCA",
|
|
6072
|
+
"TUV",
|
|
6073
|
+
"UGA",
|
|
6074
|
+
"UKR",
|
|
6075
|
+
"ARE",
|
|
6076
|
+
"GBR",
|
|
6077
|
+
"UMI",
|
|
6078
|
+
"USA",
|
|
6079
|
+
"URY",
|
|
6080
|
+
"UZB",
|
|
6081
|
+
"VUT",
|
|
6082
|
+
"VEN",
|
|
6083
|
+
"VNM",
|
|
6084
|
+
"VGB",
|
|
6085
|
+
"VIR",
|
|
6086
|
+
"WLF",
|
|
6087
|
+
"ESH",
|
|
6088
|
+
"YEM",
|
|
6089
|
+
"ZMB",
|
|
6090
|
+
"ZWE",
|
|
6091
|
+
"ALA",
|
|
6092
|
+
"ANT",
|
|
6093
|
+
"XKX"
|
|
6094
|
+
],
|
|
6095
|
+
description: "Country of birth of the credential subject - - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"
|
|
6096
|
+
},
|
|
6097
|
+
stateOfBirth: {
|
|
6098
|
+
type: "string",
|
|
6099
|
+
description: "State of birth of the credential subject"
|
|
6100
|
+
}
|
|
6101
|
+
},
|
|
6102
|
+
additionalProperties: false,
|
|
6103
|
+
description: "Original data extracted by the provider"
|
|
6104
|
+
},
|
|
6105
|
+
isSandbox: {
|
|
6106
|
+
type: "boolean",
|
|
6107
|
+
description: "Indicates if the credential was generated in a sandbox environment"
|
|
6108
|
+
}
|
|
6109
|
+
},
|
|
6110
|
+
required: [
|
|
6111
|
+
"id",
|
|
6112
|
+
"journeyId",
|
|
6113
|
+
"reviewAnswer",
|
|
6114
|
+
"documentType",
|
|
6115
|
+
"entryDate",
|
|
6116
|
+
"entryTime",
|
|
6117
|
+
"personalData"
|
|
6118
|
+
],
|
|
6119
|
+
additionalProperties: false,
|
|
6120
|
+
description: "Stores the data of the credential"
|
|
6121
|
+
},
|
|
6122
|
+
credentialStatus: {
|
|
6123
|
+
type: "object",
|
|
6124
|
+
properties: {
|
|
6125
|
+
id: {
|
|
6126
|
+
type: "string"
|
|
6127
|
+
},
|
|
6128
|
+
type: {
|
|
6129
|
+
type: "string",
|
|
6130
|
+
"enum": [
|
|
6131
|
+
"SparseMerkleTreeProof",
|
|
6132
|
+
"Iden3ReverseSparseMerkleTreeProof",
|
|
6133
|
+
"Iden3commRevocationStatusV1.0",
|
|
6134
|
+
"Iden3OnchainSparseMerkleTreeProof2023"
|
|
6135
|
+
]
|
|
6136
|
+
},
|
|
6137
|
+
revocationNonce: {
|
|
6138
|
+
type: "number"
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
required: [
|
|
6142
|
+
"id",
|
|
6143
|
+
"type"
|
|
6144
|
+
],
|
|
6145
|
+
additionalProperties: false
|
|
6146
|
+
},
|
|
6147
|
+
issuer: {
|
|
6148
|
+
type: "string"
|
|
6149
|
+
},
|
|
6150
|
+
credentialSchema: {
|
|
6151
|
+
type: "object",
|
|
6152
|
+
properties: {
|
|
6153
|
+
id: {
|
|
6154
|
+
type: "string"
|
|
6155
|
+
},
|
|
6156
|
+
type: {
|
|
6157
|
+
type: "string"
|
|
6158
|
+
}
|
|
6159
|
+
},
|
|
6160
|
+
required: [
|
|
6161
|
+
"id",
|
|
6162
|
+
"type"
|
|
6163
|
+
],
|
|
6164
|
+
additionalProperties: false
|
|
6165
|
+
},
|
|
6166
|
+
proof: {
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
required: [
|
|
6170
|
+
"id",
|
|
6171
|
+
"type",
|
|
6172
|
+
"credentialSubject",
|
|
6173
|
+
"credentialStatus",
|
|
6174
|
+
"issuer",
|
|
6175
|
+
"credentialSchema"
|
|
6176
|
+
],
|
|
6177
|
+
additionalProperties: false
|
|
6178
|
+
}
|
|
6179
|
+
},
|
|
6180
|
+
required: [
|
|
6181
|
+
"v1"
|
|
6182
|
+
],
|
|
6183
|
+
additionalProperties: false
|
|
6184
|
+
}
|
|
6185
|
+
},
|
|
6186
|
+
required: [
|
|
6187
|
+
"IDInformationTfhe"
|
|
6188
|
+
],
|
|
6189
|
+
additionalProperties: false
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6192
|
+
required: [
|
|
6193
|
+
"vcs"
|
|
6194
|
+
],
|
|
6195
|
+
additionalProperties: false
|
|
6196
|
+
}
|
|
6197
|
+
},
|
|
6198
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
var TransactionJsonSchema = {
|
|
6202
|
+
$ref: "#/definitions/Transaction",
|
|
6203
|
+
definitions: {
|
|
6204
|
+
Transaction: {
|
|
6205
|
+
type: "object",
|
|
6206
|
+
properties: {
|
|
6207
|
+
amount: {
|
|
6208
|
+
type: "object",
|
|
6209
|
+
properties: {
|
|
6210
|
+
USD: {
|
|
6211
|
+
description: "decimal"
|
|
6212
|
+
},
|
|
6213
|
+
EUR: {
|
|
6214
|
+
description: "decimal"
|
|
6215
|
+
},
|
|
6216
|
+
GBP: {
|
|
6217
|
+
description: "decimal"
|
|
6218
|
+
}
|
|
6219
|
+
},
|
|
6220
|
+
additionalProperties: false
|
|
6221
|
+
},
|
|
6222
|
+
event: {
|
|
6223
|
+
type: "object",
|
|
6224
|
+
properties: {
|
|
6225
|
+
transactionDate: {
|
|
6226
|
+
type: "string",
|
|
6227
|
+
format: "date-time"
|
|
6228
|
+
},
|
|
6229
|
+
amount: {
|
|
6230
|
+
description: "decimal"
|
|
6231
|
+
},
|
|
6232
|
+
riskScore: {
|
|
6233
|
+
type: "number"
|
|
6234
|
+
},
|
|
6235
|
+
riskLevel: {
|
|
6236
|
+
type: "string"
|
|
6237
|
+
},
|
|
6238
|
+
type: {
|
|
6239
|
+
type: "string",
|
|
6240
|
+
"enum": [
|
|
6241
|
+
"crypto",
|
|
6242
|
+
"fiat"
|
|
6243
|
+
]
|
|
6244
|
+
},
|
|
6245
|
+
assets: {
|
|
6246
|
+
type: "array",
|
|
6247
|
+
items: {
|
|
6248
|
+
type: "string"
|
|
6249
|
+
}
|
|
6250
|
+
}
|
|
6251
|
+
},
|
|
6252
|
+
additionalProperties: false
|
|
6253
|
+
},
|
|
6254
|
+
originator: {
|
|
6255
|
+
type: "object",
|
|
6256
|
+
properties: {
|
|
6257
|
+
countryOfResidence: {
|
|
6258
|
+
type: "string",
|
|
6259
|
+
"enum": [
|
|
6260
|
+
"AFG",
|
|
6261
|
+
"ALB",
|
|
6262
|
+
"DZA",
|
|
6263
|
+
"ASM",
|
|
6264
|
+
"AND",
|
|
6265
|
+
"AGO",
|
|
6266
|
+
"AIA",
|
|
6267
|
+
"ATA",
|
|
6268
|
+
"ATG",
|
|
6269
|
+
"ARG",
|
|
6270
|
+
"ARM",
|
|
6271
|
+
"ABW",
|
|
6272
|
+
"AUS",
|
|
6273
|
+
"AUT",
|
|
6274
|
+
"AZE",
|
|
6275
|
+
"BHS",
|
|
6276
|
+
"BHR",
|
|
6277
|
+
"BGD",
|
|
6278
|
+
"BRB",
|
|
6279
|
+
"BLR",
|
|
6280
|
+
"BEL",
|
|
6281
|
+
"BLZ",
|
|
6282
|
+
"BEN",
|
|
6283
|
+
"BMU",
|
|
6284
|
+
"BTN",
|
|
6285
|
+
"BOL",
|
|
6286
|
+
"BES",
|
|
6287
|
+
"BIH",
|
|
6288
|
+
"BWA",
|
|
6289
|
+
"BVT",
|
|
6290
|
+
"BRA",
|
|
6291
|
+
"IOT",
|
|
6292
|
+
"BRN",
|
|
6293
|
+
"BGR",
|
|
6294
|
+
"BFA",
|
|
6295
|
+
"BDI",
|
|
6296
|
+
"CPV",
|
|
6297
|
+
"KHM",
|
|
6298
|
+
"CMR",
|
|
6299
|
+
"CAN",
|
|
6300
|
+
"CYM",
|
|
6301
|
+
"CAF",
|
|
6302
|
+
"TCD",
|
|
6303
|
+
"CHL",
|
|
6304
|
+
"CHN",
|
|
6305
|
+
"CXR",
|
|
6306
|
+
"CCK",
|
|
6307
|
+
"COL",
|
|
6308
|
+
"COM",
|
|
6309
|
+
"COD",
|
|
6310
|
+
"COG",
|
|
6311
|
+
"COK",
|
|
6312
|
+
"CRI",
|
|
6313
|
+
"HRV",
|
|
6314
|
+
"CUB",
|
|
6315
|
+
"CUW",
|
|
6316
|
+
"CYP",
|
|
6317
|
+
"CZE",
|
|
6318
|
+
"CIV",
|
|
6319
|
+
"DNK",
|
|
6320
|
+
"DJI",
|
|
6321
|
+
"DMA",
|
|
6322
|
+
"DOM",
|
|
6323
|
+
"ECU",
|
|
6324
|
+
"EGY",
|
|
6325
|
+
"SLV",
|
|
6326
|
+
"GNQ",
|
|
6327
|
+
"ERI",
|
|
6328
|
+
"EST",
|
|
6329
|
+
"SWZ",
|
|
6330
|
+
"ETH",
|
|
6331
|
+
"FLK",
|
|
6332
|
+
"FRO",
|
|
6333
|
+
"FJI",
|
|
6334
|
+
"FIN",
|
|
6335
|
+
"FRA",
|
|
6336
|
+
"GUF",
|
|
6337
|
+
"PYF",
|
|
6338
|
+
"ATF",
|
|
6339
|
+
"GAB",
|
|
6340
|
+
"GMB",
|
|
6341
|
+
"GEO",
|
|
6342
|
+
"DEU",
|
|
6343
|
+
"GHA",
|
|
6344
|
+
"GIB",
|
|
6345
|
+
"GRC",
|
|
6346
|
+
"GRL",
|
|
6347
|
+
"GRD",
|
|
6348
|
+
"GLP",
|
|
6349
|
+
"GUM",
|
|
6350
|
+
"GTM",
|
|
6351
|
+
"GGY",
|
|
6352
|
+
"GIN",
|
|
6353
|
+
"GNB",
|
|
6354
|
+
"GUY",
|
|
6355
|
+
"HTI",
|
|
6356
|
+
"HMD",
|
|
6357
|
+
"VAT",
|
|
6358
|
+
"HND",
|
|
6359
|
+
"HKG",
|
|
6360
|
+
"HUN",
|
|
6361
|
+
"ISL",
|
|
6362
|
+
"IND",
|
|
6363
|
+
"IDN",
|
|
6364
|
+
"IRN",
|
|
6365
|
+
"IRQ",
|
|
6366
|
+
"IRL",
|
|
6367
|
+
"IMN",
|
|
6368
|
+
"ISR",
|
|
6369
|
+
"ITA",
|
|
6370
|
+
"JAM",
|
|
6371
|
+
"JPN",
|
|
6372
|
+
"JEY",
|
|
6373
|
+
"JOR",
|
|
6374
|
+
"KAZ",
|
|
6375
|
+
"KEN",
|
|
6376
|
+
"KIR",
|
|
6377
|
+
"PRK",
|
|
6378
|
+
"KOR",
|
|
6379
|
+
"KWT",
|
|
6380
|
+
"KGZ",
|
|
6381
|
+
"LAO",
|
|
6382
|
+
"LVA",
|
|
6383
|
+
"LBN",
|
|
6384
|
+
"LSO",
|
|
6385
|
+
"LBR",
|
|
6386
|
+
"LBY",
|
|
6387
|
+
"LIE",
|
|
6388
|
+
"LTU",
|
|
6389
|
+
"LUX",
|
|
6390
|
+
"MAC",
|
|
6391
|
+
"MDG",
|
|
6392
|
+
"MWI",
|
|
6393
|
+
"MYS",
|
|
6394
|
+
"MDV",
|
|
6395
|
+
"MLI",
|
|
6396
|
+
"MLT",
|
|
6397
|
+
"MHL",
|
|
6398
|
+
"MTQ",
|
|
6399
|
+
"MRT",
|
|
6400
|
+
"MUS",
|
|
6401
|
+
"MYT",
|
|
6402
|
+
"MEX",
|
|
6403
|
+
"FSM",
|
|
6404
|
+
"MDA",
|
|
6405
|
+
"MCO",
|
|
6406
|
+
"MNG",
|
|
6407
|
+
"MNE",
|
|
6408
|
+
"MSR",
|
|
6409
|
+
"MAR",
|
|
6410
|
+
"MOZ",
|
|
6411
|
+
"MMR",
|
|
6412
|
+
"NAM",
|
|
6413
|
+
"NRU",
|
|
6414
|
+
"NPL",
|
|
6415
|
+
"NLD",
|
|
6416
|
+
"NCL",
|
|
6417
|
+
"NZL",
|
|
6418
|
+
"NIC",
|
|
6419
|
+
"NER",
|
|
6420
|
+
"NGA",
|
|
6421
|
+
"NIU",
|
|
6422
|
+
"NFK",
|
|
6423
|
+
"MNP",
|
|
6424
|
+
"NOR",
|
|
6425
|
+
"OMN",
|
|
6426
|
+
"PAK",
|
|
6427
|
+
"PLW",
|
|
6428
|
+
"PSE",
|
|
6429
|
+
"PAN",
|
|
6430
|
+
"PNG",
|
|
6431
|
+
"PRY",
|
|
6432
|
+
"PER",
|
|
6433
|
+
"PHL",
|
|
6434
|
+
"PCN",
|
|
5322
6435
|
"POL",
|
|
5323
6436
|
"PRT",
|
|
5324
6437
|
"PRI",
|
|
@@ -6335,6 +7448,15 @@ var KycSessionZodSchema = zod.z.object({
|
|
|
6335
7448
|
})
|
|
6336
7449
|
}).strict();
|
|
6337
7450
|
|
|
7451
|
+
var TfheZodSchema = zod.z.object({
|
|
7452
|
+
vcs: zod.z.object({
|
|
7453
|
+
// "v1" here refers the version of the credential schema
|
|
7454
|
+
IDInformationTfhe: zod.z.object({
|
|
7455
|
+
v1: IDInformationTfheCredentialSchema
|
|
7456
|
+
})
|
|
7457
|
+
})
|
|
7458
|
+
}).strict();
|
|
7459
|
+
|
|
6338
7460
|
var TRANSACTION_CHARTS = ["totalAlerts", "alertsInProgress", "unassignedAlerts", "escalatedAlerts", "overdueAlerts", "avgTimeToCloseAlert", "volume", "transactions", "volumeEvolution", "transactionsEvolution", "assetVolume", "assetTransactions", "breakdownVolume", "breakdownTransaction", "breakdownVolumeByStatus", "breakdownTransactionsByStatus"];
|
|
6339
7461
|
var TransactionsChartType = zod.z["enum"](TRANSACTION_CHARTS);
|
|
6340
7462
|
var TRANSACTION_TABLE_COLUMNS = ["riskLevel", "id", "transactionHash", "dateTime", "type", "financeType", "amount", "customer", "counterparty", "tags", "status"];
|
|
@@ -6432,12 +7554,14 @@ var TransactionZodSchema = zod.z.object({
|
|
|
6432
7554
|
var VaultJsonSchemas = {
|
|
6433
7555
|
Customer: CustomerJsonSchema,
|
|
6434
7556
|
KycSession: KycSessionJsonSchema,
|
|
6435
|
-
Transaction: TransactionJsonSchema
|
|
7557
|
+
Transaction: TransactionJsonSchema,
|
|
7558
|
+
Tfhe: TfheJsonSchema
|
|
6436
7559
|
};
|
|
6437
7560
|
var VaultZodSchema = zod.z.object({
|
|
6438
7561
|
Customer: CustomerZodSchema,
|
|
6439
7562
|
KycSession: KycSessionZodSchema,
|
|
6440
|
-
Transaction: TransactionZodSchema
|
|
7563
|
+
Transaction: TransactionZodSchema,
|
|
7564
|
+
Tfhe: TfheZodSchema
|
|
6441
7565
|
});
|
|
6442
7566
|
var VaultSchemaIdZodSchema = zod.z["enum"](Object.keys(VaultZodSchema.shape));
|
|
6443
7567
|
var VaultSchemaPathsZodSchema = zod.z["enum"](generateZodObjectPaths(VaultZodSchema));
|
|
@@ -6536,6 +7660,8 @@ exports.IDImageCredentialSchema = IDImageCredentialSchema;
|
|
|
6536
7660
|
exports.IDImageCredentialSubjectSchema = IDImageCredentialSubjectSchema;
|
|
6537
7661
|
exports.IDInformationCredentialSchema = IDInformationCredentialSchema;
|
|
6538
7662
|
exports.IDInformationCredentialSubjectSchema = IDInformationCredentialSubjectSchema;
|
|
7663
|
+
exports.IDInformationTfheCredentialSchema = IDInformationTfheCredentialSchema;
|
|
7664
|
+
exports.IDInformationTfheCredentialSubjectSchema = IDInformationTfheCredentialSubjectSchema;
|
|
6539
7665
|
exports.IDScanCredentialSchema = IDScanCredentialSchema;
|
|
6540
7666
|
exports.IDScanCredentialSubjectSchema = IDScanCredentialSubjectSchema;
|
|
6541
7667
|
exports.IDScanPassportCredentialSchema = IDScanPassportCredentialSchema;
|