Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: link to example, move artifacts to issuance protocol #110

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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