Skip to content

Commit

Permalink
Merge pull request #834 from w3c-ccg/feat/v2-data-model-prep
Browse files Browse the repository at this point in the history
v2 data model prep
  • Loading branch information
OR13 authored Jul 11, 2023
2 parents 8cbbf25 + c3e51db commit 1c10097
Show file tree
Hide file tree
Showing 85 changed files with 854 additions and 5,689 deletions.
8 changes: 6 additions & 2 deletions docs/credentials-with-issuer-dependent-terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"type": "VerifiableBusinessCard",
"count": 2
},
{
"type": "USMCACertificationOfOrigin",
"count": 10
},
{
"type": "ThingCredential",
"count": 0
Expand Down Expand Up @@ -77,7 +81,7 @@
},
{
"type": "MultiModalBillOfLadingCredential",
"count": 0
"count": 2
},
{
"type": "MonthlyAdvanceManifestCredential",
Expand Down Expand Up @@ -217,7 +221,7 @@
},
{
"type": "CommercialInvoiceCredential",
"count": 8
"count": 10
},
{
"type": "CertificationOfOrigin",
Expand Down
21 changes: 18 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,24 @@ <h5>Supporting Documents</h5>
<section id="conformance">
<section>
<h3>Extensions to Standard</h3>

<section>
<h4>Supported media types</h4>
<p>This profile supports the following media types.</p>
<ul>
<li>
<code>application/vc+ld+json</code>
</li>
<li>
<code>application/vp+ld+json</code>
</li>
<li>
<code>application/vc+ld+jwt</code>
</li>
<li>
<code>application/vp+ld+jwt</code>
</li>
</ul>
</section>
<section>
<h4>Verifiable Credential</h4>
<p>The object MUST conform to the basic requirements section of the <a href="https://www.w3.org/TR/vc-data-model/#basic-concepts">W3C VC Data Model</a>.</p>
Expand Down Expand Up @@ -1477,8 +1494,6 @@ <h2>RDF Type Details</h2>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm'
mermaid.initialize({ startOnLoad: false });

console.log('okay');
async function tryRender() {

const pre = document.getElementsByClassName('mermaid');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ example: |-
"id": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U"
},
"credentialSubject": {
"type": ["Person"],
"type": [
"Person"
],
"id": "https://kenzoishii.example.com/",
"following": "https://kenzoishii.example.com/following.json",
"followers": "https://kenzoishii.example.com/followers.json",
Expand All @@ -129,12 +131,5 @@ example: |-
"icon": [
"https://kenzoishii.example.com/image/165987aklre4"
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-21T15:45:14Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Ijk7g1eOw6juX1yNCHPTPyMA78MwYTLFSBcoNhPrr1ejGuClfT16qo38ALiV7G4qbp5AX9QcMoKkF1ZKx4l0DA"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ required:
- issuer
- credentialSubject
- credentialSchema
- proof
example: |-
{
"@context": [
Expand Down Expand Up @@ -193,12 +192,5 @@ example: |-
"favoriteOdor": "Apple",
"previousLifeExperience": "Rescue center in Houston, TX",
"yearStarted": 2010
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-04-19T13:19:40Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ps0daj_4Wc2ffd-sz0A623fA-hPGUrGC_eM73O60Epek4U_wr6shG1f7TmLcqtGK_tf3Ey77a09mSfekbY1QBA"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,5 @@ example: |-
"addressCountry": "Canada",
"postalCode": "M3B 1A2"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-12-23T23:46:38Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..4D_1PyHmhl1-JI4oefkAKGrkkwOuEwOMo8pNUoEoJpfQkUH572n1IUEwHQst3c0fmB_SSIMnUPpBxkvy0seFCg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -474,12 +474,5 @@ example: |-
}
}
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-05T16:06:15Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..fCPuq_SyJIsMHOKg3CbDTbF2cqOSS663IsgvonoH6xk7AxbSqn71mkkVz1BKidbUj58c55iLoRgE2ip3FvtBDQ"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,5 @@ example: |-
"voyageFlightTrip": "E002901",
"conveyanceName": "Gizera",
"arrivalDate": "2022-02-25"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-15T09:22:12Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..E9TgabdzjxXoxD9Grv9Txkxkk97DAB7aA_wh0V7LSglG506lkw1NJYssQ2zKM1AHaTDCDDk42zWQoHFYq9-HBA"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,5 @@ example: |-
"price": 8532,
"priceCurrency": "USD"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-15T09:22:14Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..NQpMUa_Ois6a25ijNfvElX39u93af2sIcxycZuJnX8aSq3ar8hGmRXNfipXufcfGJ12BFVTBcSUWEXdtm7gLAw"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,5 @@ example: |-
"type": "RevocationList2020Status",
"revocationListIndex": 0,
"revocationListCredential": "https://api.did.actor/revocation-lists/1.json"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-17T20:21:20Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..U_TxtpdXRtEBeuK7B66Vplidz-hmM4sGY3qY7y2ZNcfKWkKxV6kBhd6Ph0lqMyPPfPaJpwIrvsn4mWTiNIFLBg"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,5 @@ example: |-
"name": "Fulfillment Global, Ltd."
},
"applicantType": "Fulfillment"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-11-28T13:36:59Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..neXQi_ID8lg7FhXQEPxJGExv5JTg5dJVA8GuABW-pDKc9YU6wFipZU7opNfUzwytLmp8jQQGvwVnXCIQB373Dg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,5 @@ example: |-
],
"id": "did:web:ecommerce-fulfillment.example.com",
"name": "Fulfillment Global, Ltd."
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-11-21T13:23:45Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..1JIydPAi-K51HGpSWNvSei4Fp6rjLpJcvCvnl4cd9U2TBatDSiwXtyDvXdk88qo_kGdN1TgMZtGOcKw-Y9laAQ"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,5 @@ example: |-
],
"id": "did:web:ecommerce-marketplace.example.com",
"name": "Ecommerce Worldwide, Inc."
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-11-21T13:23:45Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..x53slpT_Tqzbg1y5w06lmpqe5DlxiikuLahoGFHpY-urB2_FgGYoyxGjZ81HyzqsIui1cYRh4Nf3cWHdMkrSBg"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,5 @@ example: |-
],
"id": "did:web:garden-stuff.example.com",
"name": "Everything Garden Stuff"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-11-21T13:23:46Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..jq8YD8ae6EwAaQNttUh2sFAeSZe7gTfDYYv_kuU1Pq4aViFp-e1Uz3VGL7ZheVPSeq_ijCbv7xuWOmh1JHoTDw"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,5 @@ example: |-
],
"manufacturingCountry": "IT",
"dateOfExport": "2022-02-02"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-05T15:54:32Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..xAxa0oPcAY7KL3ns3pGr8IaXOhVh49zPzqaQKwsPpjYRpbT1t084RzepqtIxkZDp9Epnn8HH2w3bBSpzAbTzBA"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1382,12 +1382,5 @@ example: |-
"price": 9600,
"priceCurrency": "USD"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-20T20:05:39Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..efoBCJIaiuUSBeD82-weYQCsDrdBFpkkXtjn37ah70hsuZPu2rhUiNwb6YW02bAI16Q1Dl3dSYDRMeoUK1OLDA"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,5 @@ example: |-
"unLocode": "BEGNE"
}
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-17T20:21:24Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..O55jUOphmc8P31BqyKp6-jEMZHrLccH9hC6NI_8UTB2LkabUl61qD3_NthP0XgI2BfMfVyCwR8m3xdn0y3CKCg"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,5 @@ example: |-
"voyageNumber": "V.0004W"
}
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-17T20:21:25Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..XQMhyJv9ol0sm3jKdRyM0HYpEUsq2xIIUJlMMGfV2cfKnGycLcZmgfqEoED9eUkKL3ax0_9Sxf9UfWbLEM9oAg"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,5 @@ example: |-
"price": 520,
"priceCurrency": "USD"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-05T15:54:37Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..6TuvTKz5GYrzV1kWvJH0Iz2TJRgtPtNa7lUyULrW6rWhVji4imLJNEdlm0q7YIwzWT86kV4bEPj9P81I3iVpDw"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,5 @@ example: |-
},
"countryOfDestination": "USA",
"nominationMonth": "Jan-23"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-27T19:26:42Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..JsWj_OUUo3V0hh5qfycXNLwRSXNwRx-8_kkKwWIouMI5BrYCJD2jx5tEVBQMl7x-QlFnPbmpSAP_TiD3x6dWCg"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,5 @@ example: |-
}
}
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-11T17:54:17Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..iQGfaKa-CwpvwbmuO4EulzwLSZIJ4L-NnHtkgBSZ0VszHqejtjmfQgc83P2adqTZ7V5RBXr8PziuHQoPzUJsAg"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,5 @@ example: |-
"EntryNumber"
],
"entryNumber": "12345123456"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-02T07:42:03Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..mt-CqEOyKzcavSCMnknBWmh3xUF0RjAywyvpX1HnRNH-a7qC4OGGtfQsDW6gc1a4GXlcE9zcKtJ6wPU5VHCwBQ"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,5 @@ example: |-
"products": [
"http://example.org/05b6867b-2211-4c8f-ae7a-2a770b9510af?hl=ZfqLwiBj3yidP7p344d71z8ybyjb2+YVfhckGGHHEzk="
]
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-06-13T15:12:32Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..EX3t847rNLWCW6B15FJVS-LIWdXzFYmJ0sVxBuUcjW6jLckA9-qRcPfy2-102-fGetZ_dcehfpCym0M1YkxjBQ"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,5 @@ example: |-
"locationName": "Delicious Dips Production Center"
},
"dateCompleted": "2022-02-01T00:00Z"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-17T20:21:27Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..55TeTnhF7A5h7ONc5CV5DfpkFYUo7E2ibXzQ3OPPPl1r8vRBP8v8HvaiFAAnLKa3iMdBBNSJQZFXtBp5lfGNAw"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,5 @@ example: |-
"harvestDate": "2022-01-03T00:00Z",
"coolingDate": "2022-01-07T00:00Z",
"packingDate": "2022-02-03T00:00Z"
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-05-17T20:21:28Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..48FPHvwUe9u8K54t-MTG1gy5_GrNPoaB12kT9s2YdeyKK15LnExnEtDKcuoo1I_TahSMtE5AlKJr2sTNmJL8AQ"
}
}
Loading

0 comments on commit 1c10097

Please sign in to comment.