diff --git a/.gitignore b/.gitignore index 5731740..2a6fc1c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ package-lock.json _site/ vocabs/**/vocabulary.* !vocabs/**/vocabulary.yml - +.DS_Store diff --git a/credentials/age-verification/credential.json b/credentials/age-verification/credential.json new file mode 100644 index 0000000..2998a7e --- /dev/null +++ b/credentials/age-verification/credential.json @@ -0,0 +1,34 @@ +{ + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://w3id.org/age/v1", + "https://w3id.org/security/suites/ed25519-2020/v1" + ], + "id": "urn:uuid:123445", + "type": [ + "VerifiableCredential", + "AgeVerificationCredential" + ], + "issuer": { + "id": "did:example:12345678910111213", + "image": "https://vcplayground.org/examples/age-verification/image.png", + "name": "TruAge" + }, + "issuanceDate": "2025-07-15T00:00:00Z", + "expirationDate": "2025-12-31T23:59:59Z", + "name": "Age Verification Credential", + "description": "Official age verification credential proving you are 21 or older, digitally signed by TruAge for secure age confirmation.", + "anchoredResource": { + "id": "urn:uuid:447b97c8-8446-11f0-ab08-bfebd903a8ad", + "digestMultibase": "uEiBZlVztZpfWHgPyslVv6-UwirFoQoRvW1htfx963sknNA" + }, + "credentialSubject": { + "overAge": 21 + }, + "refreshService": { + "id": "urn:uuid:9016cfcc-8446-11f0-961c-7f6be0d6c7c4", + "type": "VerifiableCredentialRefreshService2021", + "url": "https://example.dev/reissue-age-token", + "refreshToken": "z2BJYfNtmWRiouWhDrbDQmC2zicUkN66gCMqtFaW5e5KcrfoWb4yPquQa9yVn8oTsoqibtJS3DVvJkRkEH6zwbAz4k7vYfuC8jW3zDqy7UNRG85VPBxsPg" + } +} diff --git a/credentials/age-verification/image.png b/credentials/age-verification/image.png new file mode 100644 index 0000000..37fa1d5 Binary files /dev/null and b/credentials/age-verification/image.png differ diff --git a/credentials/age-verification/queries.json b/credentials/age-verification/queries.json new file mode 100644 index 0000000..09a9681 --- /dev/null +++ b/credentials/age-verification/queries.json @@ -0,0 +1,22 @@ +{ + "default": { + "type": "QueryByExample", + "credentialQuery": [{ + "reason": "Please present your AgeVerificationCredential to verify you meet the minimum age requirement.", + "example": { + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://w3id.org/age/v1" + ], + "type": ["AgeVerificationCredential"] + }, + "acceptedCryptosuites": [ + "Ed25519Signature2020", + "eddsa-rdfc-2022", + "ecdsa-rdfc-2019", + "bbs-2023", + "ecdsa-sd-2023" + ] + }] + } +} diff --git a/credentials/coupon/clipco_coupon_card.svg b/credentials/coupon/clipco_coupon_card.svg new file mode 100644 index 0000000..42fe629 --- /dev/null +++ b/credentials/coupon/clipco_coupon_card.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Digital Coupon + + + + + CLIPCO + + + COUPONS + + + + + Clip and Save Coupons + + \ No newline at end of file diff --git a/credentials/coupon/clipco_issuer_logo.svg b/credentials/coupon/clipco_issuer_logo.svg new file mode 100644 index 0000000..abc658b --- /dev/null +++ b/credentials/coupon/clipco_issuer_logo.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + Clipco Coupon Company + + + + + Digital verifiable coupon + + + issuer solutions + + + + + \ No newline at end of file diff --git a/credentials/coupon/credential.json b/credentials/coupon/credential.json new file mode 100644 index 0000000..a443235 --- /dev/null +++ b/credentials/coupon/credential.json @@ -0,0 +1,36 @@ +{ + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1", + "https://examples.vcplayground.org/contexts/shim-render-method-term/v1.json", + "https://w3id.org/vc/render-method/v2rc1" + ], + "type": [ + "VerifiableCredential", + "RetailCredential" + ], + "issuer": { + "id": "did:example:coupon-company", + "name": "Clipco Coupon Company", + "description": "Digital verifiable coupon issuer solutions" + }, + "name": "Digital Coupon", + "description": "A verifiable digital coupon for retail discounts.", + "validFrom": "2025-07-15T00:00:00Z", + "validUntil": "2025-12-31T23:59:59Z", + "credentialSubject": { + "type": "Coupon", + "name": "ClipCo Coupons", + "description": "Clip and Save Coupons", + "barCodeData": "81126789123012345" + }, + "renderMethod": [ + { + "name": "Landscape", + "mediaQuery": "@media (orientation: landscape)", + "type": "SvgRenderingTemplate2024", + "mediaType": "image/svg+xml", + "template": "{{name}}{{credentialSubject.name}}{{credentialSubject.description}}" + } + ] +} diff --git a/credentials/coupon/image.png b/credentials/coupon/image.png new file mode 100644 index 0000000..33e72ca Binary files /dev/null and b/credentials/coupon/image.png differ diff --git a/credentials/coupon/queries.json b/credentials/coupon/queries.json new file mode 100644 index 0000000..e543744 --- /dev/null +++ b/credentials/coupon/queries.json @@ -0,0 +1,28 @@ +{ + "default": { + "type": "QueryByExample", + "credentialQuery": [ + { + "reason": "Please present your CouponCredential or Verifiable Credential(s) to access available discounts and offers.", + "example": { + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1" + ], + "type": [ + "RetailCredential" + ], + "credentialSubject": { + "type": "Coupon" + } + }, + "acceptedCryptosuites": [ + "eddsa-rdfc-2022", + "ecdsa-rdfc-2019", + "bbs-2023", + "ecdsa-sd-2023" + ] + } + ] + } +} diff --git a/credentials/loyalty-card/credential.json b/credentials/loyalty-card/credential.json new file mode 100644 index 0000000..9f5f9d7 --- /dev/null +++ b/credentials/loyalty-card/credential.json @@ -0,0 +1,38 @@ +{ + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1", + "https://examples.vcplayground.org/contexts/shim-render-method-term/v1.json", + "https://w3id.org/vc/render-method/v2rc1" + ], + "type": [ + "VerifiableCredential", + "RetailCredential" + ], + "issuer": { + "id": "did:example:shopcocompanyissuer123", + "name": "ShopCo Company", + "description": "Digital verifiable loyalty card issuer solutions" + }, + "name": "Digital Loyalty Card", + "description": "A verifiable digital loyalty card for retail discounts.", + "validFrom": "2025-07-15T00:00:00Z", + "validUntil": "2025-12-31T23:59:59Z", + "credentialSubject": { + "type": "LoyaltyCard", + "account": "SHOPCO-LOYALTY-789456123", + "barCodeData": "012345678901047983256789", + "description": "Digital loyalty card for retail rewards and discounts", + "name": "ShopCo Digital Loyalty Card", + "programIdentifier": "SHOPCO-PREMIUM-2025" + }, + "renderMethod": [ + { + "name": "Landscape", + "mediaQuery": "@media (orientation: landscape)", + "type": "SvgRenderingTemplate2024", + "mediaType": "image/svg+xml", + "template": "{{name}}{{issuer.name}}Loyalty Card{{description}}" + } + ] +} diff --git a/credentials/loyalty-card/image.png b/credentials/loyalty-card/image.png new file mode 100644 index 0000000..365fcfc Binary files /dev/null and b/credentials/loyalty-card/image.png differ diff --git a/credentials/loyalty-card/queries.json b/credentials/loyalty-card/queries.json new file mode 100644 index 0000000..71b5a5a --- /dev/null +++ b/credentials/loyalty-card/queries.json @@ -0,0 +1,28 @@ +{ + "default": { + "type": "QueryByExample", + "credentialQuery": [ + { + "reason": "Please present your LoyaltyCard credential to access loyalty benefits and rewards.", + "example": { + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1" + ], + "type": [ + "RetailCredential" + ], + "credentialSubject": { + "type": "LoyaltyCard" + } + }, + "acceptedCryptosuites": [ + "eddsa-rdfc-2022", + "ecdsa-rdfc-2019", + "bbs-2023", + "ecdsa-sd-2023" + ] + } + ] + } +} diff --git a/credentials/loyalty-card/shopco_logo.svg b/credentials/loyalty-card/shopco_logo.svg new file mode 100644 index 0000000..754bf68 --- /dev/null +++ b/credentials/loyalty-card/shopco_logo.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + ShopCo Company + + + + + Digital verifiable loyalty card + + + issuer solutions + + + + + \ No newline at end of file diff --git a/credentials/loyalty-card/shopco_loyalty_card.svg b/credentials/loyalty-card/shopco_loyalty_card.svg new file mode 100644 index 0000000..8d9d71d --- /dev/null +++ b/credentials/loyalty-card/shopco_loyalty_card.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Digital Loyalty Card + + + + + SHOPCO + + + LOYALTY CARD + + + + + A verifiable digital loyalty card for retail discounts. + + \ No newline at end of file diff --git a/credentials/payment-token/credential.json b/credentials/payment-token/credential.json new file mode 100644 index 0000000..7138b52 --- /dev/null +++ b/credentials/payment-token/credential.json @@ -0,0 +1,34 @@ +{ + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1", + "https://examples.vcplayground.org/contexts/shim-render-method-term/v1.json", + "https://w3id.org/vc/render-method/v2rc1" + ], + "type": [ + "VerifiableCredential", + "RetailCredential" + ], + "issuer": { + "id": "did:example:utopiabankissuer123", + "name": "Utopia Bank", + "description": "Digital payment token issuer for secure transactions" + }, + "name": "Digital Payment Token", + "description": "A verifiable digital payment token for retail transactions.", + "validFrom": "2025-07-15T00:00:00Z", + "validUntil": "2025-12-31T23:59:59Z", + "credentialSubject": { + "type": "PaymentToken", + "token": "uFkNDk1OTI5OWM1ZmIyZGFmY2RkODY5NDllM2Q0YTI3ZT" + }, + "renderMethod": [ + { + "name": "Landscape", + "mediaQuery": "@media (orientation: landscape)", + "type": "SvgRenderingTemplate2024", + "mediaType": "image/svg+xml", + "template": "Payment Token{{issuer.name}}{{name}}{{description}}" + } + ] +} diff --git a/credentials/payment-token/image.png b/credentials/payment-token/image.png new file mode 100644 index 0000000..693f1fd Binary files /dev/null and b/credentials/payment-token/image.png differ diff --git a/credentials/payment-token/queries.json b/credentials/payment-token/queries.json new file mode 100644 index 0000000..2c00b50 --- /dev/null +++ b/credentials/payment-token/queries.json @@ -0,0 +1,28 @@ +{ + "default": { + "type": "QueryByExample", + "credentialQuery": [ + { + "reason": "Please present your PaymentToken credential to complete the transaction.", + "example": { + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/retail-dw/v1rc1" + ], + "type": [ + "RetailCredential" + ], + "credentialSubject": { + "type": "PaymentToken" + } + }, + "acceptedCryptosuites": [ + "eddsa-rdfc-2022", + "ecdsa-rdfc-2019", + "bbs-2023", + "ecdsa-sd-2023" + ] + } + ] + } +} diff --git a/credentials/payment-token/utopia_card.svg b/credentials/payment-token/utopia_card.svg new file mode 100644 index 0000000..83834e0 --- /dev/null +++ b/credentials/payment-token/utopia_card.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Payment Token + + + + + UTOPIA + + + PAYMENT TOKEN + + + + + A verifiable digital payment token for retail transactions. + + \ No newline at end of file diff --git a/credentials/payment-token/utopia_logo.svg b/credentials/payment-token/utopia_logo.svg new file mode 100644 index 0000000..719f657 --- /dev/null +++ b/credentials/payment-token/utopia_logo.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Utopia + + + + + Payment solutions provider + + + + + \ No newline at end of file