Created
April 28, 2023 15:19
-
-
Save kamescg/1aedec06e63dd2239ee5b628916dc6f6 to your computer and use it in GitHub Desktop.
Impact Network Generic Verifiable Credential
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "https://example.com/credentials/impact-network-education-credential.json", | |
"title": "Generic Impact Network Credential", | |
"description": "Verifiable credential for education category in the Impact Network", | |
"type": "object", | |
"properties": { | |
"@context": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"type": { | |
"type": "array", | |
"items": [ | |
{ | |
"type": "string", | |
"enum": ["VerifiableCredential"] | |
}, | |
{ | |
"type": "string", | |
"enum": ["ImpactNetworkCredential"] | |
} | |
] | |
}, | |
"credentialSubject": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"action": { | |
"type": "string" | |
}, | |
"partner": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
} | |
}, | |
"required": ["id", "category", "action", "partner", "description"] | |
}, | |
"issuer": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"issuanceDate": { | |
"type": "string", | |
"format": "date-time" | |
}, | |
"expirationDate": { | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"required": ["@context", "type", "credentialSubject", "issuer", "issuanceDate"], | |
"additionalProperties": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment