diff --git a/credentials/utopia-agency-employee-badge/credential.json b/credentials/utopia-agency-employee-badge/credential.json new file mode 100644 index 0000000..95e5bc4 --- /dev/null +++ b/credentials/utopia-agency-employee-badge/credential.json @@ -0,0 +1,26 @@ +{ + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/identification/v1rc1", + { + "agency": "https://schema.org/memberOf" + } + ], + "id": "urn:uuid:b3d7c2e1-4f5a-6b7c-8d9e-0a1b2c3d4e5f", + "type": ["VerifiableCredential", "IdentificationDocumentCredential"], + "name": "Utopia Agency Employee Badge", + "issuer": { + "id": "https://www.utopia-dmv.example", + "type": ["Profile"], + "name": "Utopia Department of Motor Vehicles" + }, + "validFrom": "2026-01-15T00:00:00Z", + "validUntil": "2028-01-14T23:59:59Z", + "credentialSubject": { + "id": "urn:uuid:d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a", + "type": "Person", + "givenName": "Jordan", + "familyName": "Casey", + "agency": "Utopia Highway Patrol" + } +} diff --git a/credentials/utopia-agency-employee-badge/queries.json b/credentials/utopia-agency-employee-badge/queries.json new file mode 100644 index 0000000..006a33d --- /dev/null +++ b/credentials/utopia-agency-employee-badge/queries.json @@ -0,0 +1,19 @@ +{ + "web": { + "VerifiablePresentation": { + "query": [{ + "type": "QueryByExample", + "credentialQuery": [{ + "reason": "An Agency Employee Badge is required.", + "example": { + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://w3id.org/identification/v1rc1" + ], + "type": "IdentificationDocumentCredential" + } + }] + }] + } + } +}