-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openid-credential-issuer spec for insurance use case
- Loading branch information
1 parent
73f7d01
commit 296d723
Showing
1 changed file
with
85 additions
and
0 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
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" | ||
}] | ||
} |