Skip to content

Commit 09972e3

Browse files
authored
Fix minor typos (eclipse-dataspace-dcp#230)
1 parent 57102cd commit 09972e3

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

specifications/credential.issuance.protocol.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ Self-Issued ID Token to provide the pre-authorization code to the issuer.
9494

9595
### Credential Request Message
9696

97-
| | |
98-
|--------------|----------------------------------------------------------------------------------|
99-
| **Schema** | [JSON Schema](./resources/issuance/credential-request-message-schema.json) |
100-
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
101-
| | - `type`: A string specifying the `CredentialRequestMessage` type |
102-
| | - `holderPid`: A string corresponding to the request id on the Holder side type |
103-
| | - `credentials`: an array of strings, each referencing a [[[#credentialobject]]] |
97+
| | |
98+
|--------------|-----------------------------------------------------------------------------------|
99+
| **Schema** | [JSON Schema](./resources/issuance/credential-request-message-schema.json) |
100+
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
101+
| | - `type`: A string specifying the `CredentialRequestMessage` type. |
102+
| | - `holderPid`: A string corresponding to the request id on the Holder side. |
103+
| | - `credentials`: an array of strings, each referencing a [[[#credentialobject]]]. |
104104

105105
The following is a non-normative example of a `CredentialRequestMessage`:
106106

@@ -143,16 +143,16 @@ exact error code is implementation-specific.
143143

144144
### Credential Message
145145

146-
| | |
147-
|--------------|----------------------------------------------------------------------------------------------------------------------|
148-
| **Schema** | [JSON Schema](./resources/issuance/credential-message-schema.json) |
149-
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1) |
150-
| | - `type`: A string specifying the `Credential Message` type. |
151-
| | - `issuerPid`: A string corresponding to the issuance id on the Issuer side. |
152-
| | - `status`: A string stating whether the request was successful (`ISSUED`) or rejected (`REJECTED`) |
153-
| | - `credentials`: An array of [Credential Container](#credential-container) Json objects as defined in the following. |
154-
| | - `rejectionReason`: a String containing additional information why a request was rejected. Can be `null`. |
155-
| **Optional** | - `holderPid`: A string corresponding to the issuance id on the Holder side. |
146+
| | |
147+
|--------------|------------------------------------------------------------------------------------------------------------|
148+
| **Schema** | [JSON Schema](./resources/issuance/credential-message-schema.json) |
149+
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
150+
| | - `type`: A string specifying the `Credential Message` type. |
151+
| | - `issuerPid`: A string corresponding to the issuance id on the Issuer side. |
152+
| | - `status`: A string stating whether the request was successful (`ISSUED`) or rejected (`REJECTED`). |
153+
| **Optional** | - `credentials`: An array of [Credential Container](#credential-container) Json objects as defined bellow. |
154+
| | - `holderPid`: A string corresponding to the issuance id on the Holder side. |
155+
| | - `rejectionReason`: a String containing additional information why a request was rejected. Can be `null`. |
156156

157157
The following is a non-normative example of a [Credential Message](#credential-message) JSON body:
158158

@@ -183,7 +183,7 @@ The [Credential Container](#credential-container) object contains the following
183183
| **Schema** | [JSON Schema](./resources/issuance/credential-message-schema.json) |
184184
| **Required** | - `credentialType`: A single string specifying type of credential. See [VC DataModel 1.1](https://www.w3.org/TR/vc-data-model/#types) or [VC DataModel 2.0](https://www.w3.org/TR/vc-data-model-2.0/#types), respectively. |
185185
| | - `payload`: A Json Literal ([[json-ld11]], sect. 4.2.2) containing a [=Verifiable Credential=] defined by [VC DataModel version of the selected profile](#profiles-of-the-decentralized-claims-protocol). |
186-
| | - `format`: a JSON string that describes the format of the credential to be issued |
186+
| | - `format`: a JSON string that describes the format of the credential to be issued. |
187187

188188
## Credential Offer API
189189

@@ -208,13 +208,13 @@ a [=Verifiable Credential=] offer.
208208

209209
### Credential Offer Message
210210

211-
| | |
212-
|--------------|--------------------------------------------------------------------------------------------------------------------|
213-
| **Schema** | [JSON Schema](./resources/issuance/credential-offer-message-schema.json) |
214-
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1) |
215-
| | - `type`: A string specifying the `CredentialOfferMessage` type |
216-
| | - `issuer`: The [=Credential Issuer=] DID |
217-
| | - `credentials`: A JSON array, where every entry is a JSON object of type [[[#credentialobject]]] or a JSON string |
211+
| | |
212+
|--------------|---------------------------------------------------------------------------------------------------------------------|
213+
| **Schema** | [JSON Schema](./resources/issuance/credential-offer-message-schema.json) |
214+
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
215+
| | - `type`: A string specifying the `CredentialOfferMessage` type. |
216+
| | - `issuer`: The [=Credential Issuer=] DID. |
217+
| | - `credentials`: A JSON array, where every entry is a JSON object of type [[[#credentialobject]]] or a JSON string. |
218218

219219
If the `credentials` property entries are type string, the value MUST be one of the `id` values of an object in the
220220
`credentialsSupported` returned from the [[[#issuer-metadata-api]]]. When processing, the [=Credential Service=]
@@ -237,15 +237,15 @@ The following is a non-normative example of a credential offer request:
237237
| | |
238238
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
239239
| **Schema** | [JSON Schema](./resources/issuance/credential-object-schema.json) |
240-
| **Required** | - `type`: A string specifying the `CredentialObject` type |
241-
| | - `credentialType`: A single string specifying type of credential being offered |
240+
| **Required** | - `type`: A string specifying the `CredentialObject` type. |
241+
| | - `credentialType`: A single string specifying type of credential being offered. |
242242
| | - `id`: a string defining a unique, stable identifier for this `CredentialObject` |
243243
| **Optional** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). As the `credentialObject` is usually embedded, its context is provided by the enveloping object. |
244-
| | - `bindingMethods`: An array of strings defining the key material that an issued credential is bound to |
244+
| | - `bindingMethods`: An array of strings defining the key material that an issued credential is bound to. |
245245
| | - `credentialSchema`: A URL pointing to the credential schema of the object in a VC's `credentialSubject` property. |
246-
| | - `profile`: An string containing the alias of the [profiles](#profiles-of-the-decentralized-claims-protocol), e.g. `"vc20-bssl/jwt"` |
246+
| | - `profile`: An string containing the alias of the [profiles](#profiles-of-the-decentralized-claims-protocol), e.g. `"vc20-bssl/jwt"`. |
247247
| | - `issuancePolicy`: A [presentation definition](https://identity.foundation/presentation-exchange/spec/v2.1.1/#presentation-definition) [[presentation-ex]] signifying the required [=Verifiable Presentation=] for issuance. |
248-
| | - `offerReason`: A reason for the offer as a string. Valid values may include `reissue` and `proof-key-revocation` |
248+
| | - `offerReason`: A reason for the offer as a string. Valid values may include `reissue` and `proof-key-revocation`. |
249249

250250
The following is a non-normative example of a `CredentialObject`:
251251

@@ -272,9 +272,9 @@ supported by the [=Credential Issuer=].
272272
|--------------|-----------------------------------------------------------------------------|
273273
| **Schema** | [JSON Schema](./resources/issuance/issuer-metadata-schema.json) |
274274
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
275-
| | - `type`: A string specifying the `IssuerMetadata` type |
276-
| | - `issuer`: A string containing the [=Credential Issuer=] DID |
277-
| **Optional** | - `credentialsSupported`: A JSON array of [[[#credentialobject]]] elements |
275+
| | - `type`: A string specifying the `IssuerMetadata` type. |
276+
| | - `issuer`: A string containing the [=Credential Issuer=] DID. |
277+
| **Optional** | - `credentialsSupported`: A JSON array of [[[#credentialobject]]] elements. |
278278

279279
The following is a non-normative example of a `IssuerMetadata` response object:
280280

@@ -301,14 +301,14 @@ with `Bearer` of the request.
301301

302302
### CredentialStatus
303303

304-
| | |
305-
|--------------|-----------------------------------------------------------------------------|
306-
| **Schema** | [JSON Schema](./resources/issuance/credential-status-schema.json) |
307-
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
308-
| | - `type`: A string specifying the `CredentialStatus` type |
309-
| | - `issuerPid`: A string corresponding to the issuance id on the Issuer side |
310-
| | - `holderPid`: A string corresponding to the issuance id on the Holder side |
311-
| | - `status`: A string with a value of `RECEIVED`, `REJECTED`, or `ISSUED` |
304+
| | |
305+
|--------------|------------------------------------------------------------------------------|
306+
| **Schema** | [JSON Schema](./resources/issuance/credential-status-schema.json) |
307+
| **Required** | - `@context`: Specifies a valid Json-Ld context ([[json-ld11]], sect. 3.1). |
308+
| | - `type`: A string specifying the `CredentialStatus` type. |
309+
| | - `issuerPid`: A string corresponding to the issuance id on the Issuer side. |
310+
| | - `holderPid`: A string corresponding to the issuance id on the Holder side. |
311+
| | - `status`: A string with a value of `RECEIVED`, `REJECTED`, or `ISSUED`. |
312312

313313
The following is a non-normative example of a `CredentialStatus` response object:
314314

@@ -353,7 +353,7 @@ Key revocation may be supported in the following way:
353353
3. The [=Credential Issuer=] may make credential offers for new [=Verifiable Credentials=] to [=Holders=] with the
354354
`offerReason = proof-key-revocation` property.
355355

356-
Upon revocation of a key pair, all credentials that were issued and proofed with that key, immediately become invalid.
356+
Upon revocation of a key pair, all credentials that were issued and proofed with that key immediately become invalid.
357357

358358
## Verifiable Credential Revocation
359359

0 commit comments

Comments
 (0)