-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-credentialId identifies credentials without credential.id set
- Loading branch information
Showing
5 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
openapi: 3.0.0 | ||
info: | ||
version: "0.0.3-unstable" | ||
title: VC API | ||
description: This is an Experimental Open API Specification for the [VC Data Model](https://www.w3.org/TR/vc-data-model/). | ||
license: | ||
name: W3C Software and Document License | ||
url: http://www.w3.org/Consortium/Legal/copyright-software. | ||
contact: | ||
name: GitHub Source Code | ||
url: https://github.com/w3c-ccg/vc-api | ||
paths: | ||
components: | ||
schemas: | ||
IssueCredentialSuccess: | ||
type: object | ||
description: The format returned from a successful issue request. | ||
properties: | ||
VerifiableCredential: | ||
type: object | ||
description: A JSON-LD Verifiable Credential with a proof. | ||
allOf: | ||
- $ref: "./Credential.yml#/components/schemas/Credential" | ||
- type: object | ||
properties: | ||
proof: | ||
$ref: "./DataIntegrityProof.yml#/components/schemas/DataIntegrityProof" | ||
IssuanceMetadata: | ||
type: object | ||
description: Metadata about the issued credential. | ||
properties: | ||
credentialId: | ||
type: string | ||
description: An identifier for the credential. If credentialId is not set by the user in the issue request, credential.id will be duplicated here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters