diff --git a/artifacts/src/main/resources/presentation/credential-message-schema.json b/artifacts/src/main/resources/issuance/credential-message-schema.json similarity index 100% rename from artifacts/src/main/resources/presentation/credential-message-schema.json rename to artifacts/src/main/resources/issuance/credential-message-schema.json diff --git a/artifacts/src/test/java/org/eclipse/dcp/schema/presentation/CredentialMessageSchemaTest.java b/artifacts/src/test/java/org/eclipse/dcp/schema/issuance/CredentialMessageSchemaTest.java similarity index 96% rename from artifacts/src/test/java/org/eclipse/dcp/schema/presentation/CredentialMessageSchemaTest.java rename to artifacts/src/test/java/org/eclipse/dcp/schema/issuance/CredentialMessageSchemaTest.java index 472219f..7c7ef31 100644 --- a/artifacts/src/test/java/org/eclipse/dcp/schema/presentation/CredentialMessageSchemaTest.java +++ b/artifacts/src/test/java/org/eclipse/dcp/schema/issuance/CredentialMessageSchemaTest.java @@ -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; @@ -87,7 +87,7 @@ void verifySchema() { @BeforeEach void setUp() { - setUp("/presentation/credential-message-schema.json"); + setUp("/issuance/credential-message-schema.json"); } diff --git a/specifications/credential.issuance.protocol.md b/specifications/credential.issuance.protocol.md index 44c561f..7e3826d 100644 --- a/specifications/credential.issuance.protocol.md +++ b/specifications/credential.issuance.protocol.md @@ -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. | @@ -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: @@ -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]]). |