adds badge v2
This commit is contained in:
7
docs/static/v2/publicKey.json
vendored
Normal file
7
docs/static/v2/publicKey.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"@context": "https://w3id.org/openbadges/v2",
|
||||||
|
"type": "CryptographicKey",
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/static/v2/revocationList.json",
|
||||||
|
"owner": "https://gardient.github.io/rookie-badger/static/v2/rookie-issuer.json",
|
||||||
|
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBG0BA...OClDQAB\n-----END PUBLIC KEY-----\n"
|
||||||
|
}
|
||||||
9
docs/static/v2/revocationList.json
vendored
Normal file
9
docs/static/v2/revocationList.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"@context": "https://w3id.org/openbadges/v2",
|
||||||
|
"id": "https://example.org/revocationList.json",
|
||||||
|
"type": "RevocationList",
|
||||||
|
"issuer": "https://example.org/issuer",
|
||||||
|
"revokedAssertions": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
16
docs/static/v2/rookie-badge-award.json
vendored
Normal file
16
docs/static/v2/rookie-badge-award.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"@context": "https://w3id.org/openbadges/v2",
|
||||||
|
"type": "Assertion",
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/static/v2/rookie-badge-award.json",
|
||||||
|
"recipient": {
|
||||||
|
"type": "email",
|
||||||
|
"hashed": true,
|
||||||
|
"salt": "deadsea",
|
||||||
|
"identity": "sha256$bb171095b707be23068fa23d284ff294ce5437d74ac2c87775f946e9e4bedc43"
|
||||||
|
},
|
||||||
|
"issuedOn": "2017-02-01T12:37:00+02:00",
|
||||||
|
"badge": "https://gardient.github.io/rookie-badger/static/v2/rookie-badge-class.json",
|
||||||
|
"verification": {
|
||||||
|
"type": "hosted"
|
||||||
|
}
|
||||||
|
}
|
||||||
22
docs/static/v2/rookie-badge-class.json
vendored
Normal file
22
docs/static/v2/rookie-badge-class.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"@context": "https://w3id.org/openbadges/v2",
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/static/v2/rookie-badge-class.json",
|
||||||
|
"type": "BadgeClass",
|
||||||
|
"name": "Rookie Badger",
|
||||||
|
"description": "Awarded to gardient",
|
||||||
|
"image": "https://gardient.github.io/rookie-badger/static/rookie-badge-issuer.png",
|
||||||
|
"criteria": {
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/rookie-badge-criteria/",
|
||||||
|
"narrative": "Know the creator of this Badge and ask him for it."
|
||||||
|
},
|
||||||
|
"issuer": {
|
||||||
|
"type": "Issuer",
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/static/v2/rookie-issuer.json",
|
||||||
|
"name": "Gardient, rookie badge issuer",
|
||||||
|
"image": "https://gardient.github.io/rookie-badger/static/rookie-badge-issuer.png",
|
||||||
|
"url": "https://gardient.github.io/rookie-badger/",
|
||||||
|
"email": "contact@example.org",
|
||||||
|
"publicKey": "https://gardient.github.io/rookie-badger/publicKey.json",
|
||||||
|
"revocationList": "https://gardient.github.io/rookie-badger/revocationList.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
docs/static/v2/rookie-issuer.json
vendored
Normal file
11
docs/static/v2/rookie-issuer.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"@context": "https://w3id.org/openbadges/v2",
|
||||||
|
"type": "Issuer",
|
||||||
|
"id": "https://gardient.github.io/rookie-badger/static/v2/rookie-issuer.json",
|
||||||
|
"name": "Gardient, rookie badge issuer",
|
||||||
|
"image": "https://gardient.github.io/rookie-badger/static/rookie-badge-issuer.png",
|
||||||
|
"url": "https://gardient.github.io/rookie-badger/",
|
||||||
|
"email": "contact@example.org",
|
||||||
|
"publicKey": "https://gardient.github.io/rookie-badger/static/v2/revocationList.json",
|
||||||
|
"revocationList": "https://gardient.github.io/rookie-badger/static/v2/revocationList.json"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user