Skip to content

Commit

Permalink
Create claims
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Feb 11, 2025
1 parent 12cd0cb commit 5c1e1cf
Show file tree
Hide file tree
Showing 9 changed files with 142 additions and 0 deletions.
13 changes: 13 additions & 0 deletions animal-welfare/claim/employmentCredential/alice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "EmploymentCredential"],
"credentialSubject": {
"employerIdentifier": "12345",
"name": "Alice",
"jobTitle": "Animal Welfare Officer",
"startDate": "2022-02-02"
}
}
16 changes: 16 additions & 0 deletions animal-welfare/claim/userCredential/alice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": [
"VerifiableCredential",
"OperatorCredential"
],
"credentialSubject": {
"firstName": "Alice",
"lastName": "User",
"eMail": "[email protected]",
"roles": [ "OPERATOR"]
}
}
13 changes: 13 additions & 0 deletions farmer/claim/employmentCredential/bob.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "EmploymentCredential"],
"credentialSubject": {
"employerIdentifier": "12345",
"name": "Bob",
"jobTitle": "Farm Worker",
"startDate": "2020-11-23"
}
}
18 changes: 18 additions & 0 deletions gov/claim/driversLicense/alice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "DriversLicense"],
"credentialSubject": {
"id": "urn:drivers-license:alice:001",
"name": "Alice",
"dateOfBirth": "1984-09-17",
"placeOfBirth": "Berlin",
"dateOfIssue": "2007-01-09",
"dateOfExpiry": "2037-01-09",
"issuingAuthority": "DVLA",
"licenseNumber": "ALICE12345XX9IJ35",
"vehicleCategories"
}
}
18 changes: 18 additions & 0 deletions gov/claim/driversLicense/bob.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "DriversLicense"],
"credentialSubject": {
"id": "urn:drivers-license:bob:001",
"name": "Alice",
"dateOfBirth": "1975-11-17",
"placeOfBirth": "Frankfurt",
"dateOfIssue": "1999-06-09",
"dateOfExpiry": "2029-06-09",
"issuingAuthority": "DVLA",
"licenseNumber": "BOB99999XX9QW38",
"vehicleCategories":["B", "B1", "C"]
}
}
16 changes: 16 additions & 0 deletions gov/claim/idCard/alice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "IDCard"],
"credentialSubject": {
"id": "urn:id-card:alice:001",
"personalIdentifier": 123456789,
"name": "Alice",
"dateOfBirth": "1984-09-17",
"placeOfBirth": "Berlin",
"currentAddress": "Franklinstrasse 12A, 10587, Berlin",
"gender": "Male"
}
}
16 changes: 16 additions & 0 deletions gov/claim/idCard/bob.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": ["VerifiableCredential", "IDCard"],
"credentialSubject": {
"id": "urn:id-card:bob:001",
"personalIdentifier": 999999999,
"name": "Bob",
"dateOfBirth": "1975-11-17",
"placeOfBirth": "Frankfurt",
"currentAddress": "Helmholtzstrasse 11, 10587, Berlin",
"gender": "Male"
}
}
16 changes: 16 additions & 0 deletions vet-mart/claim/dataAccessOrder/farm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": [
"VerifiableCredential",
"DataAccessOrder"
],
"credentialSubject": {
"description": "Veterinary Record Access",
"dateOfIssue": "2022-07-10",
"dateOfExpiry": "2037-01-11",
"status": "Purchased"
}
}
16 changes: 16 additions & 0 deletions vet-mart/claim/userCredential/bob.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://fiware.github.io/tutorials.Step-by-Step/credentials.jsonld"
],
"type": [
"VerifiableCredential",
"OperatorCredential"
],
"credentialSubject": {
"firstName": "Bob",
"lastName": "User",
"eMail": "[email protected]",
"roles": [ "OPERATOR"]
}
}

0 comments on commit 5c1e1cf

Please sign in to comment.