diff --git a/docs/static/v2/publicKey.json b/docs/static/v2/publicKey.json new file mode 100644 index 0000000..5f26088 --- /dev/null +++ b/docs/static/v2/publicKey.json @@ -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" +} \ No newline at end of file diff --git a/docs/static/v2/revocationList.json b/docs/static/v2/revocationList.json new file mode 100644 index 0000000..a1ae33c --- /dev/null +++ b/docs/static/v2/revocationList.json @@ -0,0 +1,9 @@ +{ + "@context": "https://w3id.org/openbadges/v2", + "id": "https://example.org/revocationList.json", + "type": "RevocationList", + "issuer": "https://example.org/issuer", + "revokedAssertions": [ + + ] +} \ No newline at end of file diff --git a/docs/static/v2/rookie-badge-award.json b/docs/static/v2/rookie-badge-award.json new file mode 100644 index 0000000..a01318f --- /dev/null +++ b/docs/static/v2/rookie-badge-award.json @@ -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" + } +} \ No newline at end of file diff --git a/docs/static/v2/rookie-badge-class.json b/docs/static/v2/rookie-badge-class.json new file mode 100644 index 0000000..7e539fe --- /dev/null +++ b/docs/static/v2/rookie-badge-class.json @@ -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" + } +} \ No newline at end of file diff --git a/docs/static/v2/rookie-issuer.json b/docs/static/v2/rookie-issuer.json new file mode 100644 index 0000000..9a1d6de --- /dev/null +++ b/docs/static/v2/rookie-issuer.json @@ -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" +} \ No newline at end of file