SVX Documentation
HomepageAPISDK
Current
Current
  • Docs
  • Concepts
    • Digital Identity and Why It's Important
    • Digital Wallets
    • Ecosystems
    • Information Security
    • Personal Data & Attributes
    • Privacy- and Security-by-design
    • Secure Data Storage
    • Selective Disclosure / ZKP
    • Tokens and Tokenisation
    • Verifiable Credentials
    • Terminology
  • Platform
    • Secure Value Exchange
    • Authorisation, Tenant & Organisation Manager (ATOM)
    • Credential Service
    • Decentralised Identifiers (DIDs)
    • Keys
    • Tenants, Organisations, and End-Users
    • Vault
      • Enterprise Vault
    • Portal
    • Supported Standards
  • Guides
    • Onboarding to SVX
    • API Guides
      • Credentials
        • Credential Schemas
        • Credential Types
        • Issue Credentials
        • Presentation Definitions
        • Presentations
      • DIDs
        • DID Resolver
        • DID Registrar
        • DID Methods
          • did:key
          • did:web
          • did:ebsi
          • did:indy
        • DID Controller Keypair
      • OpenID Connect
        • For Verifiable Presentation
      • Users
        • Inviting End-Users
        • Authenticating End-Users
      • Vault
        • Items and Slots
        • Connections and Sharing
        • Classification Hierarchies
        • Attachments
        • On-sharing & Client Tasks
        • Account Delegation
      • Machine-2-Machine Communication
    • Portal Tutorials
      • Tenant Administrators
        • Onboard to a Tenancy
        • Dashboard and Navigation
        • Manage Tenancy
        • Manage Tenant Administrators
        • Manage Organisations
        • Manage Organisation Administrators
        • Credential Schemas
        • Applications
        • End Users
      • Organisation Administrators
        • Manage Organisation
        • Onboarding and Organisation Setup
        • Dashboard and Navigation
        • Manage Organisation Administrators
        • Credential Templates
        • View Credentials
        • Verification Templates
        • Verification Requests
        • Connections
        • Applications
    • Wallet Tutorials
      • Wallet Set Up
      • Provider Registration
      • Organisation Configuration
      • Credentials
      • Requests
      • Security
      • Wallet Recovery
  • Tools
    • Meeco SDK & CLI
    • Cryppo SDK & CLI
  • Releases
    • 2.1.1
    • 2.1.0
    • 2.0.0
    • 1.4.3
    • 1.4.2
    • 1.4.1
    • 1.4.0
    • 1.3.8
    • 1.3.7
    • 1.3.6
    • 1.3.5
    • 1.3.4
    • 1.3.3
    • 1.3.2
    • 1.3.0
    • 1.2.5
    • 1.2.4
    • 1.2.3
    • 1.2.2
    • 1.2.1
    • 1.2.0
    • 1.1.0
    • 1.0.0
    • Legacy API-of-Me
  • Policies
    • Privacy
    • Developer Policy
Powered by GitBook
On this page
  • Prerequisites
  • Who can undertake this operation?
  • Create Presentation Definition
  • Read Presentation Definitions
  • List
  • One Object
  • Archive Presentation Definition
  • Read Presentation Definition JSON

Was this helpful?

Edit on GitHub
  1. Guides
  2. API Guides
  3. Credentials

Presentation Definitions

Last updated 1 year ago

Was this helpful?

Presentation definitions define which credential(s) a Verifier requests and for what purpose. Each selected credential is comprised of a and the associated Issuer. The resulting object is conformant with the specification and is used when generating a .

Prerequisites

  • (optional)

Who can undertake this operation?

A presentation definiton is created by an Organisation.

Create Presentation Definition

Creation of a presentation definitions for an Organisation.

Endpoint

POST /presentation_definitions

Request

  • Organisation (header)

  • Name

  • Purpose

  • List of required credentials. For each, the following is defined:

    • Name

    • Purpose

    • Verifiable Credential JSON Schema URL

    • Issuer DID

Response

A presentation definition object is created. This presentation definition is associated with the pre-defined credential schema and the Organisation that initiated its creation.

Read Presentation Definitions

List

Retrieve a list of presentation definitions owned by an Organisation.

Endpoint

GET /presentation_definitions

Request

  • Organisation (header)

  • Filters (optional):

    • Status

Response

List of presentation definitons managed by this Organisation.

One Object

Retrieve a presentation definition by ID. The resulting object needs to be owned by the Organisation that is making the request.

Endpoint

POST /presentation_definitions/{id}

Request

  • Presentation Definition ID

  • Organisation (header)

Response

A presentation definition object.

Archive Presentation Definition

A presentation definition can be archived and restored. When a presentation definition has been archived, it cannot be used in the verification request workflow.

Endpoint

PUT /presentation_definitions/{id}

Request

  • Presentation Definition ID

  • Organisation (header)

Response

The updated presentation definition status will be returned, either:

  • is_archived: false - For active or restored presentation definitions

  • is_archived: true - For archived presentation definitions

Read Presentation Definition JSON

Endpoint

GET /presentation_definitions/{id}/definition.json

Request

  • Presentation Definition ID

  • Organisation (header)

Response

Returns a JSON schema for a presentation definition.

Public endpoint that returns the JSON representation of a presentation definition, following the specification.

credential schema
W3C Presentation Exchange 1.0
Verification Request
Verifiable Credential JSON Schema
Issuer DID
W3C Presentation Exchange 1.0