Use canonical schema

This commit is contained in:
Xavi Aracil 2024-02-23 11:49:22 +01:00
parent a1c8caf170
commit 693f899645
3 changed files with 15 additions and 15 deletions

View File

@ -12,7 +12,7 @@
],
"issuer": {
"id": "https://state.gov/issuers/565049",
"type": "Profile",
"type": ["Profile"],
"name": "State Department of Education"
},
"issuanceDate": "2010-01-01T00:00:00Z",
@ -20,7 +20,7 @@
"name": "Example endorsement",
"credentialSubject": {
"id": "https://1edtech.edu/issuers/565049",
"type": "EndorsementSubject",
"type": ["EndorsementSubject"],
"endorsementComment": "1EdTech University is in good standing"
},
"credentialSchema": [
@ -29,11 +29,11 @@
"type": "1EdTechJsonSchemaValidator2019"
}
],
"proof": {
"proof": [{
"type": "Ed25519Signature2020",
"created": "2010-01-01T19:23:24Z",
"verificationMethod": "https://state.gov/issuers/565049#z6MkjZRZv3aez3r18pB1RBFJR1kwUVJ5jHt92JmQwXbd5hwi",
"proofPurpose": "assertionMethod",
"proofValue": "z347N8ntbL3usCGshtUZiyrBeGBhYVAqyi4HUhz4fBmU1zVwk5eRfPZJvKoendfyGaeSbJcAfQEVNpvcHLzVhDtQC"
}
}]
}

View File

@ -12,9 +12,9 @@
],
"issuer": {
"id": "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c",
"type": "Profile",
"type": ["Profile"],
"address": {
"type": "Address",
"type": ["Address"],
"addressCountry": "Japan"
},
"name": "1EdTech Testing"
@ -24,10 +24,10 @@
"name": "ob3-simple-did-web-method.json",
"credentialSubject": {
"id": "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:learner:6896f98f-6b42-4c75-98ec-8befd0dc0b29",
"type": "AchievementSubject",
"type": ["AchievementSubject"],
"achievement": {
"id": "https://dc.1edtech.org/wellspring2022/wellspring-portal/achievement/66457db3-fb3d-4ae3-8f32-bc8c79c9f0db",
"type": "Achievement",
"type": ["Achievement"],
"achievementType": "Achievement",
"criteria": {
"narrative": "Passes tests"
@ -37,9 +37,9 @@
},
"source": {
"id": "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c",
"type": "Profile",
"type": ["Profile"],
"address": {
"type": "Address",
"type": ["Address"],
"addressCountry": "Japan"
},
"name": "1EdTech Testing"
@ -53,11 +53,11 @@
"id": "https://dc.1edtech.org/wellspring2022/wellspring-portal/api/refresh/d002b4e9-6fd9-4af0-b1f7-faa9237b46ca",
"type": "1EdTechCredentialRefresh"
},
"proof": {
"proof": [{
"type": "Ed25519Signature2020",
"created": "2023-05-23T01:07:22Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c#key-0",
"proofValue": "z5tVhex5rV9aTxTrGh26uyVdC6BWXG8dQCkzNjgkPWtwAjGzMyYXzrQYJ2XrKUsNpYE3fTXsgUSBwDCY11vbyGBw7"
}
}]
}

View File

@ -8,7 +8,7 @@
"id": "http://www.1edtech.org/ob/1",
"issuanceDate": "2022-11-27T00:00:00Z",
"credentialSubject": {
"type": "AchievementSubject",
"type": ["AchievementSubject"],
"id": "did:1edtech:1",
"achievement": {
"id": "did:1edtech:achievement:1",
@ -20,12 +20,12 @@
},
"name": "Some name",
"issuer": { "id": "https://example.com/issuers/876543", "type": ["Profile"] },
"proof": {
"proof": [{
"type": "DataIntegrityProof",
"created": "2023-05-29T08:42:26Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "https://example.com/issuers/876543#z6MkjZRZv3aez3r18pB1RBFJR1kwUVJ5jHt92JmQwXbd5hwi",
"cryptosuite": "eddsa-2022",
"proofValue": "z2H1miRAGKPRCPUSudNTPrsWyvpRZzgtgjPBmnMkbcwR8StwEv8dr3NigviBgvZwBu8yA7wAyF5qLjyo3zN1UqLR2"
}
}]
}