Skip to content

Commit

Permalink
fix: link to example, move artifacts to issuance protocol (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoweiss authored Nov 22, 2024
1 parent 9aa644b commit ae898ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package org.eclipse.dcp.schema.presentation;
package org.eclipse.dcp.schema.issuance;

import org.eclipse.dcp.schema.fixtures.AbstractSchemaTest;
import org.junit.jupiter.api.BeforeEach;
Expand Down Expand Up @@ -87,7 +87,7 @@ void verifySchema() {

@BeforeEach
void setUp() {
setUp("/presentation/credential-message-schema.json");
setUp("/issuance/credential-message-schema.json");
}


Expand Down
6 changes: 3 additions & 3 deletions specifications/credential.issuance.protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exact error code is implementation-specific.

| | |
|--------------|----------------------------------------------------------------------------------------------------------------------|
| **Schema** | [JSON Schema](./resources/v0.8/presentation/credential-message-schema.json) |
| **Schema** | [JSON Schema](./resources/v0.8/issuance/credential-message-schema.json) |
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1) |
| | - `@type`: A string specifying the `Credential Message` type. |
| | - `requestId`: A string corresponding to the issuance request id. |
Expand All @@ -143,7 +143,7 @@ exact error code is implementation-specific.
The following is a non-normative example of the [Credential Message](#credential-message) JSON body:

<aside class="example" title="Credential Message">
<pre class="json" data-include="./resources/issuance/example/credential-message.json">
<pre class="json" data-include="./resources/v0.8/issuance/example/credential-message.json">
</pre>
</aside>

Expand All @@ -155,7 +155,7 @@ The [Credential Container](#credential-container) object contains the following

| | |
|--------------|---------------------------------------------------------------------------------------------------------------------------------|
| **Schema** | [JSON Schema](./resources/v0.8/presentation/credential-message-schema.json) |
| **Schema** | [JSON Schema](./resources/v0.8/issuance/credential-message-schema.json) |
| **Required** | - `@type`: A string specifying the `CredentialContainer` type. |
| | - `payload`: A Json Literal ([[json-ld11]], sect. 4.2.2) containing a [=Verifiable Credential=] defined by ([[vc-data-model]]). |

Expand Down

0 comments on commit ae898ad

Please sign in to comment.