Skip to content

Commit

Permalink
openid-credential-issuer spec for insurance use case
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwa-vyom authored Dec 26, 2023
1 parent 73f7d01 commit 296d723
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions openid-credential-issuer
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"credential_issuer": "https://esignet-mock.dev.mosip.net",
"credential_endpoint": "https://esignet-mock.dev.mosip.net/v1/esignet/vci/credential",
"credentials_supported": [{
"format": "ldp_vc",
"id": "InsuranceCredential",
"scope": "sunbird_rc_insurance_vc_ldp",
"cryptographic_binding_methods_supported": ["did:jwk"],
"cryptographic_suites_supported": ["Ed25519Signature2020"],
"proof_types_supported": ["jwt"],
"credential_definition": {
"type": ["VerifiableCredential"],
"credentialSubject": {
"fullName": {
"display": [{
"name": "Name",
"locale": "en"
}]
},
"mobile": {
"display": [{
"name": "Phone Number",
"locale": "en"
}]
},
"dob": {
"display": [{
"name": "Date of Birth",
"locale": "en"
}]
},
"gender": {
"display": [{
"name": "Gender",
"locale": "en"
}]
},
"benefits": {
"display": [{
"name": "Benefits",
"locale": "en"
}]
},
"email": {
"display": [{
"name": "Email Id",
"locale": "en"
}]
},
"expiresOn": {
"display": [{
"name": "Expiry",
"locale": "en"
}]
},
"policyName": {
"display": [{
"name": "Policy Name",
"locale": "en"
}]
},
"policyNumber": {
"display": [{
"name": "Policy Number",
"locale": "en"
}]
}
}
},
"display": [{
"name": "Sunbird RC Insurance Verifiable Credential",
"locale": "en",
"logo": {
"url": "https://sunbird.org/images/sunbird-logo-new.png",
"alt_text": "a square logo of a Sunbird"
},
"background_color": "#1b17e6",
"text_color": "#FFFFFF"
}]
}],
"display": [{
"name": "Insurance",
"locale": "en"
}]
}

0 comments on commit 296d723

Please sign in to comment.