arrow-left

All pages
gitbookPowered by GitBook
1 of 17

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

JSON-LD

Issue and present JSON-LD credentials signed by cheqd Decentralized Identifiers (DIDs), using ACA-Py.

JSON-LD Verifiable Credentials follow the W3C Verifiable Credentials Data Modelarrow-up-right, enabling decentralized, semantically rich, and interoperable credential exchange.

In Aries Cloud Agent Python (ACA-Py), you can issue, verify, and present JSON-LD credentials using the Issue Credential v2 and Present Proof v2 protocols—alongside support for Linked Data Proofs and various signature suites.

hashtag
Get Started

Issue and present JSON-LD credentials with ACA-Py using the tutorials below:


hashtag
Why Use JSON-LD?

JSON-LD credentials are ideal for ecosystems that require:

  • Standards-aligned, interoperable credentials

  • Richly structured, linked data

  • Flexible signature types (e.g. Ed25519, BBS+)


hashtag
Extensibility for cheqd Functionality

Thanks to the flexibility of the W3C VC data model, JSON-LD credentials can be extended to support advanced cheqd-native features, including:

hashtag
🔗 DID-Linked Resources

  • Credentials can reference schemas, governance frameworks, or legal documents published as DID-Linked Resources on the cheqd ledger

  • Use the termsOfUse or credentialSchema fields to point to cheqd-hosted resources

hashtag
🏛️ Trust Registries

  • A credential can reference a trust registry (also a DID-Linked Resource) that defines the rules, requirements, or authorisations under which the credential was issued

hashtag
🚫 Status Lists (Revocation)

  • cheqd-compatible Bistring Status List entries can be referenced using the credentialStatus field, enabling scalable and private revocation

  • These status lists can also be stored as DID-Linked Resources on cheqd

🔧 These extensions follow W3C patterns and require no change to the base data model—making them portable, verifiable, and standards-compliant.


hashtag
Features Supported in ACA-Py

Feature
Supported in ACA-Py

hashtag
Supported DID Methods

ACA-Py supports signing JSON-LD credentials using DIDs such as:

  • did:key

  • did:web

  • did:peer

✅ For cheqd DIDs, ACA-Py allows full DID resolution and key binding required for signing JSON-LD credentials, assuming a supported verification method (e.g. Ed25519VerificationKey2020).

Setup ACA-Py Agent

Set up your ACA-Py agent to start using cheqd.

hashtag
Pre-requisites

Before you begin, ensure you have a DID registrar and resolver running.

  • For testnet, you can use the Universal Registrararrow-up-right (with cheqd DID registrararrow-up-right driver) and a resolverarrow-up-right.

  • For mainnet, you must run your own cheqd DID registrar driver with the correct mnemonic configuration. Details are provided below.

hashtag
Configuration

circle-info

All sample configs and docker-compose files are available .

hashtag
Cheqd DID Registrar Driver

To enable DID registration on Cheqd, you must deploy the Cheqd DID Registrar driver as a dedicated service. The fastest way to run the Cheqd Registrar driver is using the published docker image, for other options or to build your own container, check the .

hashtag
Steps to deploy the Cheqd Registrar Driver

  1. Add the following under services section of your docker-compose file.

  2. Set the environment variables.

  3. Run the driver.

circle-exclamation

The Cheqd Registrar must be run as driver-did-cheqd because the Universal Registrar is configured with that name by default.

hashtag
Universal Registrar Setup

The Universal Registrar allows dynamic DID registration for multiple DID methods, including Cheqd. Setting it up ensures seamless DID creation without manual configurations for different DID methods. The fastest way to run the Universal Registrar is using the published docker container, for other options check the .

hashtag
Steps to setup Universal Registrar for Cheqd

  1. Add the following under services section of your docker-compose file.

  2. Start the Universal Registrar Service.

  3. Confirm that the Cheqd Driver properties are correct and matches your settings.

hashtag
Cheqd DID Resolver

To run your own DID Resolver, the following settings must be added to your docker-compose file

hashtag
Steps to deploy the Cheqd Resolver

  1. Add the following under services section of your docker-compose file.

  2. Run the resolver.

hashtag
Plugin Configuration

Cheqd ACA-Py Plugin supports configuring the Universal Registrar and DID Resolver URLs via a plugin-config.yml file. These settings define how the agent interacts with the Cheqd network for DID operations.

hashtag
Example plugin-config.yml:

Update the URLs if you have your hosted versions or using the Universal Resolver.

hashtag
Wallet Compatibility

The Cheqd plugin only works with the askar-anoncreds wallet type. Askar-anoncreds is the preferred wallet due to its support for AnonCreds and enhanced security features.

hashtag
Setting Up Askar Wallet in ACA-Py

When starting ACA-Py, ensure that the wallet-type is set to askar. Example:

hashtag
Recommended Wallet Storage: PostgreSQL

Using PostgreSQL as a wallet storage backend is recommended for scalability and data persistence.

hashtag
Setting Up PostgreSQL for ACA-Py

  1. Install PostgreSQL and create a database for ACA-Py.

  2. Configure ACA-Py to use PostgreSQL, add the following to ./configs/settings.yml:

  3. Start ACA-Py with PostgreSQL-backed wallet storage.

hashtag
Build the Agent and deploy

  1. Example Dockerfile:

  2. Build the ACA-Py Agent docker image with the plugin.

  3. Deploy the agent. Sample docker-compose is below.

  4. Where all the plugin settings are populated in

hashtag
Next steps

Now that your ACA-Py agent is successfully set up to work with cheqd, try following our tutorials for creating a new DID or issuing Verifiable Credentials.

ACA-Py

Aries Cloud Agent Python (ACA-Py) Plugin with cheqd support for Decentralized Identifiers (DIDs), DID-Linked Resources (DLRs) and Credentials.

Aries Cloud Agent Python (ACA-Py) is a powerful and extensible agent framework for building Verifiable Credential (VC) ecosystems. Built on the Aries RFCs and aligned with the Trust Over IP stack, ACA-Py operates at Layer 2 (Credential Exchange) and Layer 3 (Peer-to-Peer Communication).

As a project under the Open Wallet Foundation, ACA-Py supports dynamic extensions via runtime-loaded plugins, enabling flexible integration into enterprise and SSI platforms.


hashtag

Integration with W3C-conformant wallets and identity providers
  • Compatibility with OpenID for Verifiable Credentials (OID4VC) and EU Digital Identity Wallet initiatives

  • did:cheqd (via plugin)

  • Custom methods via the Universal Registrararrow-up-right

  • Issue JSON-LD credentials

    ✅ Yes

    Present and verify JSON-LD credentials

    ✅ Yes

    Support for multiple proof types

    ✅ Yes (Ed25519Signature2018, Ed25519Signature2020, etc.)

    Use of external or on-chain contexts

    ✅ Yes

    Support for DID-Linked Resources

    ⚠️ Via extensions and custom fields

    Issue JSON-LD Credentials

    Issue JSON-LD Credentials signed by cheqd DIDs using ACA-Py.

    Present JSON-LD Credentials

    Present JSON-LD Credentials using ACA-Py.

    ./configs/settings.yml
    , a sample file is
    .
  • Run the Agent.

  • herearrow-up-right
    GitHub repositoryarrow-up-right
    Universal Registrar GitHub repositoryarrow-up-right

    Create a DID

    Create an Issuer DID using the did:cheqd DID method.

    Issue a Verifiable Credential

    Issue a Verifiable Credential using ACA-Py signed by a cheqd DID.

    herearrow-up-right
    docker-compose up -d
    driver-did-cheqd:
        image: ghcr.io/cheqd/did-registrar:production-latest
        platform: linux/amd64
        ports:
          - "9089:3000"
        restart: on-failure
        environment:
          - FEE_PAYER_TESTNET_MNEMONIC=${FEE_PAYER_TESTNET_MNEMONIC}
          - FEE_PAYER_MAINNET_MNEMONIC=${FEE_PAYER_MAINNET_MNEMONIC}
    export FEE_PAYER_TESTNET_MNEMONIC="your testnet mnemonic phrase ..."
    export FEE_PAYER_MAINNET_MNEMONIC="your mainnet mnemonic phrase ..."
    docker-compose up -d
    did_registrar:
        image: universalregistrar/uni-registrar-web:latest
        platform: linux/amd64
        ports:
          - "9080:9080"
        depends_on:
          - driver-did-cheqd
    docker-compose up -d
    curl -X GET http://localhost:9080/1.0/properties
    did_resolver:
        image: ghcr.io/cheqd/did-resolver:latest
        platform: linux/amd64
        ports:
          - target: 8080
            published: 8080
            mode: host
        restart: on-failure
        environment:
          MAINNET_ENDPOINT: "grpc.cheqd.net:443,true,5s"
          TESTNET_ENDPOINT: "grpc.cheqd.network:443,true,5s"
          LOG_LEVEL: "warn"
          RESOLVER_LISTENER: "0.0.0.0:8080"
    docker-compose up -d
    resolver_url: "http://localhost:8080/1.0/identifiers/"
    registrar_url: "http://localhost:9080/1.0/"
    aca-py start --wallet-type askar-anoncreds --wallet-storage-type postgres_storage
    wallet-name: issuer
    wallet-key: somesecret
    wallet-storage-type: postgres_storage
    wallet-storage-creds: '{"account":"postgres","password":"postgres","admin_account":"postgres","admin_password":"postgres"}'
    wallet-storage-config: '{"url":"localhost:5432","max_connections":5}'
    aca-py start --arg-file ./configs/settings.yml
    FROM ghcr.io/openwallet-foundation/acapy:py3.12-1.1.0
    
    USER root
    
    # install plugins as binaries
    RUN pip install git+https://github.com/openwallet-foundation/acapy-plugins@main#subdirectory=cheqd
    
    USER $user
    COPY ./configs configs
    
    ENTRYPOINT ["aca-py"]
    docker build -t issuer-agent .
    issuer:
        image: issuer-agent:latest
        ports:
          - "3001:3001"
          - "3002:3002"
        command: >
          start --arg-file ./configs/settings.yml
        healthcheck:
          test: curl -s -o /dev/null -w '%{http_code}' "http://localhost:3001/status/live" | grep "200" > /dev/null
          start_period: 30s
          interval: 7s
          timeout: 5s
          retries: 5
        depends_on:
          - did_registrar
          - did_resolver
    DID and Credential Support

    ACA-Py supports multiple credential formats and DID methods, including:

    • AnonCreds

    • W3C Verifiable Credentials (JSON-LD)

    • DIDComm v1 & v2

    • DID method plugins like did:peer, did:indy, and did:cheqd


    hashtag
    ACA-Py + cheqd: Modern Verifiable Credential Issuance

    ACA-Py now includes full support for the did:cheqd method, enabling seamless integration with the cheqd decentralized identity network. This allows developers to:

    • Create and resolve did:cheqd identifiers

    • Publish Credential Schemas and Credential Definitions to cheqd

    • Issue and verify AnonCreds credentials using cheqd DIDs as signatures

    • Issue and verify JSON-LD credentials using cheqd DIDs as signatures

    • Replace legacy did:sov/Sovrin usage with a modern, scalable alternative

    💡 AnonCreds on cheqd are enabled via the cheqd AnonCreds Object Method, maintaining compatibility with ACA-Py's credential exchange workflows.


    hashtag
    Universal Registrar Integration

    The cheqd plugin for ACA-Py supports dynamic DID registration via the Universal Registrar. This provides a streamlined interface for managing multiple DID methods.

    hashtag
    Benefits of Using Universal Registrar:

    • Unified DID Support Register multiple DID methods (e.g., did:cheqd, did:key, did:web) through a single unified API.

    • Streamlined Setup Eliminate manual configuration—DIDs are created dynamically at runtime by calling the relevant driver.

    • Interoperable by Design Easily switch or support multiple DID methods in the same ACA-Py deployment.

    hashtag
    Get started

    Get setup with your ACA-Py agent and begin using cheqd's functionality below:

    hashtag
    Enterprise Support for ACA-Py

    Below are a list of enterprise applications that leverage ACA-Py with full did:cheqd support under the hood:

    cheqd Agent Setup

    Setup the ACA-Py agent with our cheqd plugin.

    Create a Decentralized Identifier (DID)

    Use the ACA-Py agent to create did:cheqd Decentralized Identifiers (DIDs).

    Create DID-Linked Resources

    Create a DID-Linked Resource (DLR) linked to a cheqd Decentralized Identifier (DID).

    Issue a Verifiable Credential

    Issue and verify Verifiable Credential using ACA-Py agent with did:cheqd.

    Sudo Platform (Anonyome Labs)

    API-first developer platform for cheqd DIDs and support for multiple Verifiable Credential formats.

    DIDx

    DIDx supports did:cheqd through an enterprise version of ACA-Py, supporting AnonCreds and JSON-LD.

    Cover
    Cover

    Create AnonCreds Schema

    Create an AnonCreds Schema as a DID-Linked Resource (DLR) on cheqd for issuing AnonCreds.

    To issue Verifiable Credentials, the issuer will have to first create a Schema and then a Credential Definition.

    hashtag
    Create Schema

    The request body must contain the schema object, which defines the attributes, name and version of the Schema. This will create a DID-Linked Resourcearrow-up-right of type anonCredsSchema.

    hashtag
    Request Body

    chevron-rightoptions (optional)hashtag

    Optional Key-Value pairs of additional options.

    chevron-rightschema (mandatory)hashtag

    "attrNames": Array of attributes for the schema definition.

    "issuerId": Issuer DID, use the did created by the Issuer.

    "name": Name of the Schema

    "version": Version of the Schema (To update existing Schema, use same name and different version)

    hashtag
    Check the new Schema

    Deactivate a DID

    Deactivate a did:cheqd Decentralized Identifier (DID) using the ACA-Py Agent.

    Follow these instructions to deactivate a did:cheqd DID from ACA-Py Agent.

    ⚠️ Important...

    Your wallet must have the key(s) which were generated when the DID was created, without them signing will fail.

    hashtag
    Deactivate DID

    To deactivate an active DID, pass the didid in the request body, with any additional optionsthat you may have configured.

    Update a DID

    Update a did:cheqd Decentralized Identifier (DID) using the ACA-Py Agent.

    Follow these instructions to update a did:cheqd DID from ACA-Py Agent.

    ⚠️ Important...

    Your wallet must have the key(s) which were generated when the DID was created, without them signing will fail.

    hashtag
    Update DID

    Present a Verifiable Credential

    Present an AnonCreds Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using ACA-Py.

    Using the /present-proof-2.0 API endpoints, it is possible to present Verifiable Credentials, signed by a cheqd DID, in a few clicks or lines of code. This process enables secure and trustworthy sharing of verifiable credentials within the ACA-Py framework and cheqd ecosystem.

    hashtag
    Step 1: Create a Connection with Holder

    Use any supported method to create a connection with the Holder. Automated is recommended. You can follow the same steps as described in .

    Create a DID

    Create a did:cheqd Decentralized Identifier (DID) using the ACA-Py Agent.

    Follow these instructions to create a new DID from ACA-Py Agent and publish the associated DID Document on cheqd ledger.

    ⚠️ Before you begin...

    Make sure you've correctly for ACA-Py.

    For wallet storage, utilise a Postgres database to ensure key persistence, enabling future updates to the DID.

    hashtag

    To update an existing DID, you must pass the did id and the complete didDocumentin the request body. The main field that is updated using this method os the service object of the DID.

    hashtag
    Step 2: Send Proof Request

    After connection is established, the Verifier can send a proof request to the Holder.

    hashtag
    Sample Request Body

    The request body will depend on the credential, but here is a sample.

    hashtag
    Step 3: Holder sends Presentation Proof

    Holder can get the stored credentials from own wallet and format a proof to send to the Verifier.

    hashtag
    Step 4: Verifier verifies Presentation

    Verifier receives the presentation via the connection, and can use the following API to verify. The response must have verified: true .

    out-of-band protocolarrow-up-right
    Issue a Verifiable Credential
    Create DID

    Populate the various optionsand featuresin the JSON request body and call the API to create the DID.

    hashtag
    Request Body

    These are the variables that can be passed in the Body:

    chevron-rightfeatures (optional)hashtag

    Optional Object with Key-Value format for additional features of the new DID. This is for future use.

    chevron-rightoptions (optional)hashtag

    Optional Object with Key-Value format for additional configuration options, recommendations below:

    "network": testnet or mainnet

    "key_type": "ed25519" or "bls12381g2"

    hashtag
    List DIDs associated with your wallet

    After creating a DID or multiple DIDs, users can list all the created DIDs associated with their wallet. Using the /wallet/did API.

    configured the cheqd plugin's agent settings

    Decentralized Identifiers (DIDs)

    Create Decentralized Identifiers (DIDs) on cheqd using ACA-Py.

    A Decentralized Identifier "DID" is a globally unique identifier that does not require a centralized registration authority because it is registered with distributed ledger technology or other form of decentralized network.

    circle-info

    Learn about DIDs If you want to learn about what DIDs are, please go over to our learning site here.arrow-up-right

    hashtag
    Get started

    hashtag
    Alternatives

    Below are a list of SDK alternatives for creating cheqd DIDs.

    DID-Linked Resources

    Create DID-Linked Resources (DLRs) linked to Decentralized Identifiers (DIDs) on cheqd using ACA-Py.

    "DID-Linked Resources" are identified with a did:cheqd Decentralized Identifierarrow-up-right with a Universally Unique Identifier (UUID)arrow-up-right that acts as a permanently-accessible link to fetch the resources from the cheqd ledger. We refer to this as the "resource ID". Through the "resource ID" or a set of DID URL query parameters, applications are able to persistently access a digital resource on the cheqd network.

    hashtag
    Get started

    hashtag
    Alternatives

    Below are a list of SDK alternatives for creating cheqd DID-Linked Resources.

    t

    Issue a Verifiable Credential

    Issue a JSON-LD Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using the ACA-Py API endpoints.

    Using the /issue-credential-2.0 API endpoints, it is possible to issue Verifiable Credentials, signed by a cheqd DID, in a few clicks or lines of code. By following the following steps, you can effectively issue verifiable credentials using ACA-Py integrated with the cheqd ecosystem.

    hashtag
    Pre-requisite

    For JSON-LD Credential Issuance, the Issuer DID must have assertionMethod set to the

    Present a Verifiable Credential

    Present a JSON-LD Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using ACA-Py.

    Using the /present-proof-2.0 API endpoints, it is possible to present Verifiable Credentials, signed by a cheqd DID, in a few clicks or lines of code. This process enables secure and trustworthy sharing of verifiable credentials within the ACA-Py framework and cheqd ecosystem.

    hashtag
    Step 1: Create a Connection with Holder

    Use any supported method to create a connection with the Holder. Automated is recommended. You can follow the same steps as described in .

    AnonCreds

    Issue, present and revoke AnonCreds signed by cheqd Decentralized Identifiers (DIDs), using ACA-Py.

    AnonCreds is a privacy-preserving Verifiable Credential format designed for selective disclosure, non-correlatable presentations, and revocation support. In Aries Cloud Agent Python (ACA-Py), AnonCreds is fully supported using the Issue Credential v1/v2 and Present Proof v1/v2 protocols.

    ACA-Py allows agents to issue, hold, and verify AnonCreds credentials using a range of supported ledgers—including full integration with the cheqd network, a modern, scalable alternative to legacy Indy-based networks.

    hashtag

    {
      "connection_id": "<verifier-to-holder-conn-id>",
      "auto_verify": false,
      "auto_remove": false,
      "comment": "Presentation request from Issuer",
      "presentation_request": {
        "anoncreds": {
            "name": "proof",
            "version": "1.0",
            "requested_predicates": {
                "additionalProp1": {
                    "name": "score",
                    "p_value": 40,
                    "p_type": ">",
                    "restrictions": [{"cred_def_id": "<cred-def-id>"}]
                }
            },
            "requested_attributes": {},
            "non_revoked": {"to": <some-time-in-future>}
        }
      },
      "trace": false
    }
    verificationMethod.id
    . If your DID does not have
    assertionMethod
    , execute
    POST /did/cheqd/update
    API call to add new assertion method matching the
    verificationMethod.id
    .

    hashtag
    Step 1: Create a Connection with Holder

    Use any supported method to create a connection with the Holder of the credential. Automated out-of-band protocolarrow-up-right is recommended.

    hashtag
    1a: Issuer Creates Connection Invite

    The Issuer agent will create a new connection invite for the Holder. This is needed to securely communicate between the Issuer and the Holder agents.

    hashtag
    Parameters and Request Body

    For automated acceptance, pass the following parameters:

    chevron-rightauto_accepthashtag

    Set this to true

    A simple request body is below:

    hashtag
    1b: Holder receives invitation

    The above request will have an invitation in the response. Holder will have to copy that invitation and pass in the body of the following API call.

    hashtag
    Parameters and Request Body

    chevron-rightauto_accepthashtag

    Set this to true

    chevron-rightaliashashtag

    Pass an alias for the connection

    chevron-rightuse_existing_connectionhashtag

    Set this to true

    The request body should be the invitation value from the /create-invitation call by the Issuer.

    hashtag
    Step 2: Holder creates local DID

    For JSON-LD Credentials, the verification needs a Holder did as well. The Holder DID can be created locally by using the following API Call.

    Request Body

    You can use the following request body to create the local did. Ensure the key_type matches the Issuer DID Key Type.

    hashtag
    Step 3: Request Credential from Issuer

    For this example, the Credential is requested from the Holder to the Issuer using the /issue-credential-2.0/send-request API. This request is sent to the Issuer, informing them about the credential request and its attributes in a JSON format.

    Request Body

    The following request is a sample for creating a Citizenship credential.

    hashtag
    Step 4: Issuer accepts and issues credential

    After the Issuer received and validated the request, they can issue the credential using the /issue-credential-2.0/records/<credential-exchange-id>/issue API endpoint. The credential-exchange-id can be retrieved by calling GET /issue-credential-2.0/records?state=request-received API.

    hashtag
    Step 5: Holder stores Credential

    The Holder has to store the issued credential into their wallet using the following API. The cred_ex_id can be retrieved by running API GET /issue-credential-2.0/records?state=credential-received on the Holder side.

    hashtag
    Step 6: Check the received Credential

    As this is a JSON-LD Credential, Holder must use POST /credentials/w3c API to check the credential.

    Request Body

    For our citizenship credential example, the following request can be used

    hashtag
    Step 2: Send Proof Request

    After connection is established, the Verifier can send a proof request to the Holder.

    hashtag
    Sample Request Body

    The request body will depend on the credential; for our citizenship credential, this is a sample.

    hashtag
    Step 3: Holder sends Presentation Proof

    Holder can get the stored credentials from own wallet and format a proof to send to the Verifier.

    Request Body

    For our citizenship credential example, the following is a sample request body.

    hashtag
    Step 4: Verifier verifies Presentation

    Verifier receives the presentation via the connection, and can use the following API to verify. The response must have verified: true .

    out-of-band protocolarrow-up-right
    Issue a Verifiable Credential
    Get started

    Issue, present and revoke AnonCreds signed by cheqd Decentralized Identifiers (DIDs), using the tutorials below:


    hashtag
    Why Use AnonCreds?

    AnonCreds credentials are purpose-built for high-assurance, privacy-respecting use cases that require:

    • Selective disclosure of individual claims

    • Zero-knowledge proofs

    • Revocation support via AnonCreds Status Lists

    • Credential definitions and revocation registries anchored on-ledger


    hashtag
    AnonCreds + cheqd Support

    ACA-Py now supports did:cheqd for issuing AnonCreds credentials using the cheqd AnonCreds Object Method. This removes dependency on Indy-based networks while retaining the proven AnonCreds credential exchange flow.

    hashtag
    With ACA-Py + cheqd, you can:

    • ✅ Register did:cheqd identifiers for use in credential issuance

    • ✅ Publish Schemas and Credential Definitions as DID-Linked Resources

    • ✅ Issue and verify AnonCreds credentials signed with did:cheqd

    • ✅ Enable revocation using AnonCreds Status List Definitions and Entries, also stored on-ledger as DID-Linked Resources

    ✅ This allows developers to migrate off the deprecated Sovrin network without changing their existing flows or protocols.


    hashtag
    Features Supported in ACA-Py

    Feature
    Supported in ACA-Py

    Issue AnonCreds credentials

    ✅ Yes

    Present and verify credentials

    ✅ Yes

    Revocation support via cheqd AnonCreds Status Lists

    ✅ Yes

    DID-Linked Resource anchoring (schemas, defs, status)

    ✅ Yes

    Use did:cheqd for AnonCreds

    ✅ Yes

    Use other Indy-compatible ledgers

    ✅ Yes

    hashtag
    AnonCreds Object Method

    Take a deep dive into the cheqd AnonCreds Object Method below:

    Understanding DLRs

    More details about DID-Linked Resources on Cheqd.

    Understanding AnonCreds

    More details about AnonCreds Object Method.

    Create Schema

    Create an AnonCreds Schema.

    Create Credential Definition

    Create an AnonCreds Credential Definition

    Cover

    cheqd Studio

    Our API product enables users to use cheqd's functionality with minimal complexity and easily integrate APIs into existing apps.

    Cover

    Credo

    Credo is an SDK which supports the European Architecture and Reference Framework (ARF) standards as well as AnonCreds with full cheqd support for DIDs.

    Cover

    DID Registrar

    Simple setup for building cheqd DIDs into existing applications using REST APIs, building into the .

    Cover

    Veramo

    The Veramo SDK plugin supports JSON, JSON-LD credentials as well as cheqd Credential Payments in an SDK.

    Cover

    cheqd Cosmos CLI

    Cosmos-native CLI for creating transactions on cheqd. Should be used for testing purposes only.

    Create DID

    Create an Issuer DID with the did:cheqd DID method using ACA-Py.

    Update DID

    Update a did:cheqd DID using ACA-Py.

    Deactivate DID

    Deactivate a did:cheqd DID using ACA-Py.

    Cover

    cheqd Studio

    Our API product enables users to use cheqd's functionality with minimal complexity and easily integrate APIs into existing apps.

    Cover

    Credo

    Credo is an SDK which supports the European Architecture and Reference Framework (ARF) standards as well as AnonCreds with full cheqd support for DIDs.

    Cover

    DID Registrar

    Simple setup for building cheqd DIDs into existing applications using REST APIs, building into the .

    Cover

    Veramo

    The Veramo SDK plugin supports JSON, JSON-LD credentials as well as cheqd Credential Payments in an SDK.

    Cover

    Walt.id Community Stack

    Walt.id Community Stack is an SDK that supports the standards for identity, with full cheqd support.

    Cover

    cheqd Cosmos CLI

    Cosmos CLI which directly communicates with the cheqd network. This should only be used for testing environments.

    Verifiable Credentials and Presentations

    Issue and present Verifiable Credentials, signed by cheqd Decentralized Identifiers (DIDs), using ACA-Py.

    circle-info

    📚 Learn about Verifiable Credentials and Presentations

    If you want to learn more about what Verifiable Credentials and Presentations are, please go over to our learning site here.arrow-up-right

    Aries Cloud Agent Python (ACA-Py) provides full support for working with Verifiable Credentials (VCs) and Verifiable Presentations (VPs), based on the standards defined by the W3C and the Aries RFCs.

    ACA-Py enables agents to issue, hold, present, and verify credentials in a secure and interoperable way using DIDComm messaging protocols. This functionality forms the foundation of any Self-Sovereign Identity (SSI) ecosystem.

    hashtag
    Get started

    Get started issuing and presenting credentials with your ACA-Py agent, either with AnonCreds or JSON-LD:

    hashtag
    AnonCreds

    hashtag
    JSON-LD

    hashtag
    Credential Format Support

    ACA-Py supports multiple credential formats out of the box, including:

    hashtag
    ✅ AnonCreds

    • Ideal for privacy-preserving use cases that require zero-knowledge proofs, selective disclosure, and non-revocation proofs

    • Backed by a credential definition and revocation registry stored on a supported ledger (e.g., cheqd, Indy)

    • Common in enterprise and government deployments

    hashtag
    ✅ W3C Verifiable Credentials (JSON-LD)

    • Standards-compliant with the W3C VC Data Model

    • Extensible for cheqd DID-Linked Resources and Trust Registries

    • Suitable for web-native and mobile-first use cases

    🧩 ACA-Py allows issuing, presenting, and verifying both AnonCreds and JSON-LD credentials using the same agent architecture.

    hashtag
    Alternatives

    Below are a list of alternatives for using Credentials with cheqd support. Each offers a different set of protocols and underlying technical capabilities.

    Revoke a Verifiable Credential

    Revoke an AnonCreds Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using ACA-Py.

    Revoking credentials is crucial for maintaining control over issued credentials and preventing misuse in the cheqd ecosystem. To revoke credentials within the ACA-Py framework, follow these steps:

    hashtag
    Step 1: Issuer identifies Credential to be revoked

    The Issuer must determine the credential that needs to be revoked by getting the list of issued credentials and the connection id.

    hashtag
    Step 2: Revoke Credential

    Initiate the credential revocation process by supplying the necessary credential identifiers like the connection id and the credential exchange id.

    hashtag
    Sample Request Body

    hashtag
    Step 3: Verify Revocation

    Follow the steps to to verify that the credential has been successfully revoked. The response should have verified: false.

    Issue a Verifiable Credential

    Issue a Verifiable AnonCreds Credential, signed by a did:cheqd Decentralized Identifier (DID), using the ACA-Py API endpoints.

    Using the /issue-credential-2.0 API endpoints, it is possible to issue Verifiable Credentials, signed by a cheqd DID, in a few clicks or lines of code. By following the following steps, you can effectively issue verifiable credentials using ACA-Py integrated with the cheqd ecosystem.

    hashtag
    Step 1: Create a Connection with Holder

    Use any supported method to create a connection with the Holder of the credential. Automated is recommended.

    {
        "alias": "Holder",
        "handshake_protocols": ["https://didcomm.org/didexchange/1.0"],
        "use_public_did": false,
        "my_label": "Invitation to Holder"
    }
    {
      "method": "key",
      "options": {
        "key_type": "ed25519"
      }
    }
    {
        "auto_remove": true,
        "comment": "Holder asking for Citizenship credential.",
        "connection_id": "{{holder-conn-id}}",
        "filter": {
            "ld_proof": {
                "credential": {
                    "@context": [
                        "https://www.w3.org/2018/credentials/v1",
                        "https://w3id.org/citizenship/v1"
                    ],
                    "type": [
                        "VerifiableCredential",
                        "PermanentResident"
                    ],
                    "identifier": "{{$randomAlphaNumeric}}",
                    "issuer": "{{issuer-did}}",
                    "issuanceDate": "2020-01-01T12:00:00Z",
                    "credentialSubject": {
                        "type": [
                            "PermanentResident",
                            "Person"
                        ],
                        "givenName": "ALICE",
                        "familyName": "SMITH",
                        "gender": "Female",
                        "birthCountry": "Bahamas",
                        "birthDate": "1958-07-17"
                    }
                },
                "options": {
                    "proofType": "Ed25519Signature2020"
                }
            }
        },
        "holder_did": "{{holder-local-did}}",
      "trace": false
    }
    {
        "contexts": [
            "https://www.w3.org/2018/credentials/v1",
            "https://w3id.org/citizenship/v1"
        ],
        "proof_types": [
            "Ed25519Signature2020"
        ]
    }
    {
        "auto_verify": false,
        "connection_id": "{{issuer-conn-id}}",
        "comment": "Proof request for json-ld credential.",
        "presentation_request": {
            "dif": {
                "options": {
                    "challenge": "{{$randomUUID}}",
                    "domain": "test-citizenship"
                },
                "presentation_definition": {
                    "id": "{{$randomUUID}}",
                    "format": {
                        "ldp_vp": {
                            "proof_type": [
                                "Ed25519Signature2020"
                            ]
                        }
                    },
                    "input_descriptors": [
                        {
                            "id": "citizenship_input_1",
                            "name": "EU Driver's License",
                            "schema": [
                                {
                                    "uri": "https://www.w3.org/2018/credentials#VerifiableCredential"
                                },
                                {
                                    "uri": "https://w3id.org/citizenship#PermanentResident"
                                }
                            ],
                            "constraints": {
                                "fields": [
                                    {
                                        "path": [
                                            "$.credentialSubject.familyName"
                                        ],
                                        "purpose": "The claim must be from one of the specified issuers",
                                        "filter": {
                                            "const": "SMITH"
                                        }
                                    },
                                    {
                                        "path": [
                                            "$.credentialSubject.givenName"
                                        ],
                                        "filter": {
                                            "const": "ALICE"
                                        },
                                        "purpose": "The claim must be from one of the specified issuers"
                                    }
                                ]
                            }
                        }
                    ]
                }
            }
        }
    }
    {
        "dif": {
            "issuer_id": "{{issuer-did}}",
            "presentation_definition": {
                "id": "6d55f3ac-1dae-4306-a4bf-cf4fb93138b7",
                "format": {
                    "ldp_vp": {
                        "proof_type": [
                            "Ed25519Signature2020"
                        ]
                    }
                },
                "input_descriptors": [
                    {
                        "id": "citizenship_input_1",
                        "name": "EU Driver's License",
                        "schema": [
                            {
                                "uri": "https://www.w3.org/2018/credentials#VerifiableCredential"
                            },
                            {
                                "uri": "https://w3id.org/citizenship#PermanentResident"
                            }
                        ],
                        "constraints": {
                            "fields": [
                                {
                                    "path": [
                                        "$.credentialSubject.familyName"
                                    ],
                                    "purpose": "The claim must be from one of the specified issuers",
                                    "filter": {
                                        "const": "SMITH"
                                    }
                                },
                                {
                                    "path": [
                                        "$.credentialSubject.givenName"
                                    ],
                                    "filter": {
                                        "const": "ALICE"
                                    },
                                    "purpose": "The claim must be from one of the specified issuers"
                                }
                            ]
                        }
                    }
                ]
            }
        }
    }

    Issue AnonCreds Credentials

    Issue AnonCreds Credentials signed by cheqd DIDs using ACA-Py.

    Present AnonCreds Credentials

    Present AnonCreds Credentials using ACA-Py.

    Revoke AnonCreds

    Revoke AnonCreds Credentials signed by cheqd DIDs using ACA-Py.

    cheqd AnonCreds Object Method

    Understand how cheqd supports AnonCreds Objects using DID-Linked Resources.

    Universal Registrararrow-up-right
    European Architecture and Reference Framework (ARF)arrow-up-right
    Universal Registrararrow-up-right
    hashtag
    1a: Issuer Creates Connection Invite

    The Issuer agent will create a new connection invite for the Holder. This is needed to securely communicate between the Issuer and the Holder agents.

    hashtag
    Parameters and Request Body

    For automated acceptance, pass the following parameters:

    chevron-rightauto_accepthashtag

    Set this to true

    A simple request body is below:

    hashtag
    1b: Holder receives invitation

    The above request will have an invitation in the response. Holder will have to copy that invitation and pass in the body of the following API call.

    hashtag
    Parameters and Request Body

    chevron-rightauto_accepthashtag

    Set this to true

    chevron-rightaliashashtag

    Pass an alias for the connection

    chevron-rightuse_existing_connectionhashtag

    Set this to true

    The request body should be the invitation value from the /create-invitation call by the Issuer.

    hashtag
    Step 2: Prepare Credential Offer

    Generate a credential offer using the /issue-credential-2.0/send-offer API. This offer is sent to the holder, informing them about the available credential and its attributes.

    hashtag
    Step 3: Holder accepts credential offer

    The Holder has to retrieve the credential exchange id, and call this API to accept the offer.

    hashtag
    Step 4: Issue Credential

    Once the credential request is received and validated, issue the credential using the /issue-credential-2.0/records/<exchange-id>/issue API endpoint.

    hashtag
    Step 5: Holder stores Credential

    The Holder has to store the issued credential into their wallet using the following API.

    out-of-band protocolarrow-up-right
    {
        "comment": "Revoke issued credential",
        "connection_id": "<issuer--to-holder-conn-id>",
        "cred_ex_id": "<issuer-cred-exchange-id>",
        "notify": true,
        "publish": true
    }
    Present a Verifiable Credential

    Issue AnonCreds Credentials

    Issue AnonCreds Credentials signed by cheqd DIDs using ACA-Py.

    Present AnonCreds Credentials

    Present AnonCreds Credentials using ACA-Py.

    Issue JSON-LD Credentials

    Issue JSON-LD Credentials signed by cheqd DIDs using ACA-Py.

    Present JSON-LD Credentials

    Present JSON-LD Credentials signed by cheqd DIDs using ACA-Py.

    Cover

    cheqd Studio

    Our API product enables users to use cheqd's functionality with minimal complexity and easily integrate APIs into existing apps.

    Cover

    Credo

    Credo is an SDK which supports the European Architecture and Reference Framework (ARF) standards as well as AnonCreds with full cheqd support for DIDs.

    Cover

    Veramo

    The Veramo SDK plugin supports JSON, JSON-LD credentials as well as cheqd Credential Payments in an SDK.

    Cover

    Walt.id Community Stack

    Walt.id Community Stack is an SDK that supports the standards for identity, with full cheqd support.

    {
        "alias": "Holder",
        "handshake_protocols": ["https://didcomm.org/didexchange/1.0"],
        "use_public_did": false,
        "my_label": "Invitation to Holder"
    }
    European Architecture and Reference Framework (ARF)arrow-up-right

    Create AnonCreds Credential Definition

    Create a Credential Definition as a DID-Linked Resource (DLR) on cheqd for issuing AnonCreds.

    hashtag
    Create Credential Definition

    The request body must contain the credential_definition object with the Issuer DID and the Schema ID created in the previous steps.

    To enable revocation, the options must contain the revocation flag, and the size of the revocation registry. Also, ensure that a Tails Serverarrow-up-right is configured for the issuer.

    hashtag
    Request Body

    chevron-rightcredential_definition (mandatory)hashtag

    "issuerId": DID of the Issuer.

    "schemaId": The AnonCreds Schema ID created by the Issuer (must be of the same DID).

    "tag": Additional Name to identify the Credential Definition.

    chevron-rightoptions (optional)hashtag

    "support_revocation": Boolean value to indicate that the Credential can be revoked or not. (Tails server must be configured if this is set to `true`)

    "revocation_registry_size": Maximum size of the Revocation Registry.

    hashtag
    Check the new Credential Definition

    hashtag
    Create a schema on the connected datastore

    post
    Body
    Responses
    chevron-right
    200Success
    application/json
    job_idstringOptional
    registration_metadataobjectOptional
    schema_metadataobjectOptional
    post
    /anoncreds/schema
    200Success

    hashtag
    Retrieve an individual schemas details

    get
    Path parameters
    schema_idstringRequired

    Schema identifier

    Example: {"value":"did:(method):2:schema_name:1.0"}
    Responses
    chevron-right
    200Success
    application/json
    resolution_metadataobjectOptional
    schema_idstringOptional

    Schema identifier

    Example: did:(method):2:schema_name:1.0
    schema_metadataobjectOptional
    get
    /anoncreds/schema/{schema_id}
    200Success

    hashtag
    Deactivate a did:cheqd

    post
    Body
    didstringRequired

    DID to deactivate

    Example: did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86Pattern: ^(did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)([?][^#]*)?|did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)/resources/([a-z,0-9,-]{36,36})([?][^#]*)?)$
    optionsobjectOptional

    Additional configuration options

    Example: {"network":"testnet"}
    Responses
    chevron-right
    200Success
    application/json
    didstringOptional

    DID that has been deactivted

    Example: did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86Pattern: ^(did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)([?][^#]*)?|did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)/resources/([a-z,0-9,-]{36,36})([?][^#]*)?)$
    didStatestringRequired

    State of the did update

    Example: {"did":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","didDocument":{"authentication":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"],"controller":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"],"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","verificationMethod":[{"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","type":"Ed25519VerificationKey2020","controller":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","publicKeyMultibase":"z6Mk..."}]},"secret":{"signingResponse":[{"kid":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","signature":"SHFz..."}]},"state":"finished"}
    successbooleanOptional

    Flag to denote if the operation was successful

    Example: true
    post
    /did/cheqd/deactivate
    200Success

    hashtag
    Update a did:cheqd

    post
    Body
    didstringRequired

    DID to update

    Example: did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86Pattern: ^(did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)([?][^#]*)?|did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)/resources/([a-z,0-9,-]{36,36})([?][^#]*)?)$
    optionsobjectOptional

    Additional configuration options

    Example: {"network":"testnet"}
    Responses
    chevron-right
    200Success
    application/json
    didstringOptional

    DID that has been updated

    Example: did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86Pattern: ^(did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)([?][^#]*)?|did:cheqd:(testnet|mainnet):(?:(?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))*:)*((?:[a-zA-Z0-9]{21,22}|([a-z,0-9,-]{36,36}))+)/resources/([a-z,0-9,-]{36,36})([?][^#]*)?)$
    didStatestringRequired

    State of the did update

    Example: {"did":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","didDocument":{"authentication":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"],"controller":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"],"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","verificationMethod":[{"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","type":"Ed25519VerificationKey2020","controller":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","publicKeyMultibase":"z6Mk..."}]},"secret":{"signingResponse":[{"kid":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","signature":"SHFz..."}]},"state":"finished"}
    successbooleanOptional

    Flag to denote if the operation was successful

    Example: true
    post
    /did/cheqd/update
    200Success

    hashtag
    Sends a free presentation request not bound to any proposal

    post
    Body
    auto_removebooleanOptional

    Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    commentstringOptional
    connection_idstringRequired

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Whether to trace event (default false)

    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/send-request

    hashtag
    Sends a proof presentation

    post
    Path parameters
    pres_ex_idstringRequired

    Presentation exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    Body
    auto_removebooleanOptional

    Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)

    tracebooleanOptional

    Record trace information, based on agent configuration

    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/records/{pres_ex_id}/send-presentation

    hashtag
    Verify a received presentation

    post
    Path parameters
    pres_ex_idstringRequired

    Presentation exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/records/{pres_ex_id}/verify-presentation
    200Success

    hashtag
    Create a did:cheqd

    post
    Body
    featuresobjectOptional

    Additional features to enable for the did.

    Example: {}
    optionsobjectOptional

    Additional configuration options

    Example: {"key_type":"ed25519","method_specific_id_algo":"uuid","network":"testnet"}
    Responses
    chevron-right
    200Success
    application/json
    didstringOptional

    DID created

    Example: did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86
    didStateobjectOptional

    The published didState

    Example: {"did":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","didDocument":{"authentication":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"],"controller":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"],"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","verificationMethod":[{"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","type":"Ed25519VerificationKey2020","controller":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","publicKeyMultibase":"z6Mk..."}]},"secret":{"signingResponse":[{"kid":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","signature":"SHFz..."}]},"state":"finished"}
    successbooleanOptional

    Flag to denote if the operation was successful

    Example: true
    verkeystringOptional

    Verification key

    Example: BnSWTUQmdYCewSGFrRUhT6LmKdcCcSzRGqWXMPnEP168
    post
    /did/cheqd/create
    200Success

    hashtag
    List wallet DIDs

    get
    Query parameters
    didstringOptional

    DID of interest

    Example: {"value":"did:peer:WgWxqztrNooG92RXvxSTWv"}Pattern: ^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$|^did:([a-zA-Z0-9_]+)(:[a-zA-Z0-9_.%-]+)?:([a-zA-Z0-9_.%-]+(:[a-zA-Z0-9_.%-]+)*)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)(\/[^#?]*)?([?][^#]*)?(\#.*)?$$
    key_typestring · enumOptional

    Key type to query for.

    Example: {"value":"ed25519"}Possible values:
    methodstringOptional

    DID method to query for. e.g. sov to only fetch indy/sov DIDs

    Example: {"value":"key"}
    posturestring · enumOptional

    Whether DID is current public DID, posted to ledger but current public DID, or local to the wallet

    Example: {"value":"wallet_only"}Possible values:
    verkeystringOptional

    Verification key of interest

    Example: {"value":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"}Pattern: ^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$
    Responses
    chevron-right
    200Success
    application/json
    get
    /wallet/did
    200Success

    hashtag
    Revoke an issued credential

    post
    Body
    commentstringOptional

    Optional comment to include in revocation notification

    connection_idstringOptional

    Connection ID to which the revocation notification will be sent; required if notify is true

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    cred_ex_idstringOptional

    Credential exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    cred_rev_idstringOptional

    Credential revocation identifier

    Example: 12345Pattern: ^[1-9][0-9]*$
    notifybooleanOptional

    Send a notification to the credential recipient

    notify_versionstring · enumOptional

    Specify which version of the revocation notification should be sent

    Possible values:
    publishbooleanOptional

    (True) publish revocation to ledger immediately, or (default, False) mark it pending

    rev_reg_idstringOptional

    Revocation registry identifier

    Example: did:(method):4:did:<method>:3:CL:20:tag:CL_ACCUM:0Pattern: ^(.+$)
    thread_idstringOptional

    Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true

    Responses
    chevron-right
    200Success
    application/json
    objectOptional
    post
    /anoncreds/revocation/revoke
    200Success

    hashtag
    Create a new connection invitation

    post
    Query parameters
    auto_acceptbooleanOptional

    Auto-accept connection (defaults to configuration)

    create_unique_didbooleanOptional

    Create unique DID for this invitation (default false)

    multi_usebooleanOptional

    Create invitation for multiple use (default false)

    Body
    acceptstring[]Optional

    List of mime type in order of preference that should be use in responding to the message

    Example: ["didcomm/aip1","didcomm/aip2;env=rfc19"]
    aliasstringOptional

    Alias for connection

    Example: Barry
    goalstringOptional

    A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message

    Example: To issue a Faber College Graduate credential
    goal_codestringOptional

    A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message

    Example: issue-vc
    handshake_protocolsstring[]Optional

    Handshake protocol to specify in invitation

    mediation_idstringOptional

    Identifier for active mediation record to be used

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    metadataobjectOptional

    Optional metadata to attach to the connection created with the invitation

    my_labelstringOptional

    Label for connection invitation

    Example: Invitation to Barry
    protocol_versionstringOptional

    OOB protocol version

    Example: 1.1
    use_didstringOptional

    DID to use in invitation

    Example: did:example:123
    use_did_methodstring · enumOptional

    DID method to use in invitation

    Example: did:peer:2Possible values:
    use_public_didbooleanOptional

    Whether to use public DID in invitation

    Responses
    chevron-right
    200Success
    application/json
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    invi_msg_idstringOptional

    Invitation message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    invitation_idstringOptional

    Invitation record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    invitation_urlstringOptional

    Invitation message URL

    Example: https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=
    oob_idstringOptional

    Out of band record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    statestringOptional

    Out of band message exchange state

    Example: await_response
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /out-of-band/create-invitation
    200Success

    hashtag
    Receive a new connection invitation

    post
    Query parameters
    aliasstringOptional

    Alias for connection

    Example: {"value":"Barry"}
    auto_acceptbooleanOptional

    Auto-accept connection (defaults to configuration)

    mediation_idstringOptional

    Identifier for active mediation record to be used

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    use_existing_connectionbooleanOptional

    Use an existing connection, if possible

    Body
    @idstringOptional

    Message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    @typestringOptional

    Message type

    Example: https://didcomm.org/my-family/1.0/my-message-type
    acceptstring[]Optional

    List of mime type in order of preference

    Example: ["didcomm/aip1","didcomm/aip2;env=rfc19"]
    goalstringOptional

    A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message

    Example: To issue a Faber College Graduate credential
    goal_codestringOptional

    A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message

    Example: issue-vc
    handshake_protocolsstring[]Optional

    Handshake protocol

    imageUrlstring · urlOptional

    Optional image URL for out-of-band invitation

    Example: http://192.168.56.101/img/logo.jpg
    labelstringOptional

    Optional label

    Example: Bob
    Responses
    chevron-right
    200Success
    application/json
    attach_thread_idstringOptional

    Connection record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    connection_idstringOptional

    Connection record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    invi_msg_idstringRequired

    Invitation message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    multi_usebooleanOptional

    Allow for multiple uses of the oob invitation

    Example: true
    oob_idstringRequired

    Oob record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    our_recipient_keystringOptional

    Recipient key used for oob invitation

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    OOB Role

    Example: receiverPossible values:
    statestring · enumRequired

    Out of band message exchange state

    Example: await-responsePossible values:
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /out-of-band/receive-invitation

    hashtag
    Send holder a credential offer, independent of any proposal

    post
    Body
    auto_issuebooleanOptional

    Whether to respond automatically to credential requests, creating and issuing requested credentials

    auto_removebooleanOptional

    Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)

    commentstringOptional

    Human-readable comment

    connection_idstringRequired

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    replacement_idstringOptional

    Optional identifier used to manage credential replacement

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    Responses
    chevron-right
    200Success
    application/json
    auto_issuebooleanOptional

    Issuer choice to issue to request in this credential exchange

    auto_offerbooleanOptional

    Holder choice to accept offer in this credential exchange

    auto_removebooleanOptional

    Issuer choice to remove this credential exchange record when complete

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    cred_ex_idstringOptional

    Credential exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    error_msgstringOptional

    Error message

    Example: The front fell off
    initiatorstring · enumOptional

    Issue-credential exchange initiator: self or external

    Example: selfPossible values:
    parent_thread_idstringOptional

    Parent thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Issue-credential exchange role: holder or issuer

    Example: issuerPossible values:
    statestring · enumOptional

    Issue-credential exchange state

    Example: donePossible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /issue-credential-2.0/send-offer

    hashtag
    Send issuer a credential request

    post
    Path parameters
    cred_ex_idstringRequired

    Credential exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    Body
    auto_removebooleanOptional

    Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)

    holder_didstringOptional

    Holder DID to substitute for the credentialSubject.id

    Example: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs
    Responses
    chevron-right
    200Success
    application/json
    auto_issuebooleanOptional

    Issuer choice to issue to request in this credential exchange

    auto_offerbooleanOptional

    Holder choice to accept offer in this credential exchange

    auto_removebooleanOptional

    Issuer choice to remove this credential exchange record when complete

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    cred_ex_idstringOptional

    Credential exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    error_msgstringOptional

    Error message

    Example: The front fell off
    initiatorstring · enumOptional

    Issue-credential exchange initiator: self or external

    Example: selfPossible values:
    parent_thread_idstringOptional

    Parent thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Issue-credential exchange role: holder or issuer

    Example: issuerPossible values:
    statestring · enumOptional

    Issue-credential exchange state

    Example: donePossible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /issue-credential-2.0/records/{cred_ex_id}/send-request
    200Success

    hashtag
    Send holder a credential

    post
    Path parameters
    cred_ex_idstringRequired

    Credential exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    Body
    commentstringOptional

    Human-readable comment

    Responses
    chevron-right
    200Success
    application/json
    post
    /issue-credential-2.0/records/{cred_ex_id}/issue
    200Success

    hashtag
    Store a received credential

    post
    Path parameters
    cred_ex_idstringRequired

    Credential exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    Body
    credential_idstringOptional
    Responses
    chevron-right
    200Success
    application/json
    post
    /issue-credential-2.0/records/{cred_ex_id}/store
    200Success

    hashtag
    Create a credential definition on the connected datastore

    post
    Body
    Responses
    chevron-right
    200Success
    application/json
    credential_definition_metadataobjectOptional
    job_idstringOptional
    registration_metadataobjectOptional
    post
    /anoncreds/credential-definition
    200Success

    hashtag
    Retrieve an individual credential definition details

    get
    Path parameters
    cred_def_idstringRequired

    Credential definition identifier

    Example: {"value":"did:(method):3:CL:20:tag"}
    Responses
    chevron-right
    200Success
    application/json
    credential_definition_idstringOptional

    credential definition id

    Example: did:(method):3:CL:20:tag
    credential_definitions_metadataobjectOptional
    resolution_metadataobjectOptional
    get
    /anoncreds/credential-definition/{cred_def_id}
    200Success
    200Success
    200Success
    200Success
    200Success
    POST /anoncreds/schema HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 239
    
    {
      "options": {
        "create_transaction_for_endorser": false,
        "endorser_connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "schema": {
        "attrNames": [
          "score"
        ],
        "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
        "name": "Example schema",
        "version": "1.0"
      }
    }
    {
      "job_id": "text",
      "registration_metadata": {},
      "schema_metadata": {},
      "schema_state": {
        "schema": {
          "attrNames": [
            "score"
          ],
          "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
          "name": "Example schema",
          "version": "1.0"
        },
        "schema_id": "did:(method):2:schema_name:1.0",
        "state": "finished"
      }
    }
    GET /anoncreds/schema/{schema_id} HTTP/1.1
    Accept: */*
    
    {
      "resolution_metadata": {},
      "schema": {
        "attrNames": [
          "score"
        ],
        "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
        "name": "Example schema",
        "version": "1.0"
      },
      "schema_id": "did:(method):2:schema_name:1.0",
      "schema_metadata": {}
    }
    POST /did/cheqd/deactivate HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 96
    
    {
      "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
      "options": {
        "network": "testnet"
      }
    }
    {
      "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
      "didState": {
        "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
        "didDocument": {
          "authentication": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"
          ],
          "controller": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"
          ],
          "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
          "verificationMethod": [
            {
              "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "type": "Ed25519VerificationKey2020",
              "controller": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
              "publicKeyMultibase": "z6Mk..."
            }
          ]
        },
        "secret": {
          "signingResponse": [
            {
              "kid": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "signature": "SHFz..."
            }
          ]
        },
        "state": "finished"
      },
      "success": true
    }
    POST /did/cheqd/update HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 720
    
    {
      "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
      "didDocument": {
        "authentication": [
          "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"
        ],
        "controller": [
          "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"
        ],
        "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
        "service": [
          {
            "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#service-1",
            "type": "MessagingService",
            "serviceEndpoint": [
              "https://example.com/service"
            ]
          }
        ],
        "verificationMethod": [
          {
            "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
            "type": "Ed25519VerificationKey2018",
            "controller": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
            "publicKeyMultibase": "z6Mk..."
          }
        ]
      },
      "options": {
        "network": "testnet"
      }
    }
    {
      "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
      "didState": {
        "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
        "didDocument": {
          "authentication": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"
          ],
          "controller": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"
          ],
          "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
          "verificationMethod": [
            {
              "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "type": "Ed25519VerificationKey2020",
              "controller": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
              "publicKeyMultibase": "z6Mk..."
            }
          ]
        },
        "secret": {
          "signingResponse": [
            {
              "kid": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "signature": "SHFz..."
            }
          ]
        },
        "state": "finished"
      },
      "success": true
    }
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }
    POST /present-proof-2.0/send-request HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 2482
    
    {
      "auto_remove": true,
      "auto_verify": false,
      "comment": "text",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "presentation_request": {
        "anoncreds": {
          "name": "Proof request",
          "non_revoked": {
            "from": 1640995199,
            "to": 1640995199
          },
          "nonce": "1",
          "requested_attributes": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "favouriteDrink",
              "names": [
                "age"
              ],
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "did:(method):3:CL:20:tag"
                }
              ]
            }
          },
          "requested_predicates": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "index",
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "p_type": ">=",
              "p_value": 1,
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "did:(method):3:CL:20:tag"
                }
              ]
            }
          },
          "version": "1.0"
        },
        "dif": {
          "options": {
            "challenge": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "domain": "4jt78h47fh47"
          },
          "presentation_definition": {
            "format": {
              "di_vc": {},
              "jwt": {},
              "jwt_vc": {},
              "jwt_vp": {},
              "ldp": {},
              "ldp_vc": {},
              "ldp_vp": {}
            },
            "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "input_descriptors": [
              {
                "constraints": {
                  "fields": [
                    {
                      "filter": {
                        "const": null,
                        "enum": [],
                        "exclusiveMaximum": null,
                        "exclusiveMinimum": null,
                        "format": "text",
                        "maxLength": 1234,
                        "maximum": null,
                        "minLength": 1234,
                        "minimum": null,
                        "not": false,
                        "pattern": "text",
                        "type": "text"
                      },
                      "id": "text",
                      "path": [
                        "text"
                      ],
                      "predicate": "required",
                      "purpose": "text"
                    }
                  ],
                  "is_holder": [
                    {
                      "directive": "required",
                      "field_id": [
                        "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                      ]
                    }
                  ],
                  "limit_disclosure": "text",
                  "status_active": "required",
                  "status_revoked": "required",
                  "status_suspended": "required",
                  "subject_is_issuer": "required"
                },
                "group": [
                  "text"
                ],
                "id": "text",
                "metadata": {},
                "name": "text",
                "purpose": "text",
                "schema": {
                  "oneof_filter": [
                    [
                      {
                        "uri": "https://www.w3.org/Test1#Test1"
                      },
                      {
                        "uri": "https://www.w3.org/Test2#Test2"
                      }
                    ],
                    {
                      "oneof_filter": [
                        [
                          {
                            "uri": "https://www.w3.org/Test1#Test1"
                          }
                        ],
                        [
                          {
                            "uri": "https://www.w3.org/Test2#Test2"
                          }
                        ]
                      ]
                    }
                  ]
                }
              }
            ],
            "name": "text",
            "purpose": "text",
            "submission_requirements": [
              "[Circular Reference]"
            ]
          },
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "indy": {
          "name": "Proof request",
          "non_revoked": {
            "from": 1640995199,
            "to": 1640995199
          },
          "nonce": "1",
          "requested_attributes": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "favouriteDrink",
              "names": [
                "age"
              ],
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"
                }
              ]
            }
          },
          "requested_predicates": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "index",
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "p_type": ">=",
              "p_value": 1,
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"
                }
              ]
            }
          },
          "version": "1.0"
        }
      },
      "trace": false
    }
    POST /present-proof-2.0/records/{pres_ex_id}/send-presentation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 2418
    
    {
      "anoncreds": {
        "requested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "revealed": true
          }
        },
        "requested_predicates": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "timestamp": 1640995199
          }
        },
        "self_attested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": "self_attested_value"
        },
        "trace": false
      },
      "auto_remove": true,
      "dif": {
        "issuer_id": "text",
        "presentation_definition": {
          "format": {
            "di_vc": {},
            "jwt": {},
            "jwt_vc": {},
            "jwt_vp": {},
            "ldp": {},
            "ldp_vc": {},
            "ldp_vp": {}
          },
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "input_descriptors": [
            {
              "constraints": {
                "fields": [
                  {
                    "filter": {
                      "const": null,
                      "enum": [],
                      "exclusiveMaximum": null,
                      "exclusiveMinimum": null,
                      "format": "text",
                      "maxLength": 1234,
                      "maximum": null,
                      "minLength": 1234,
                      "minimum": null,
                      "not": false,
                      "pattern": "text",
                      "type": "text"
                    },
                    "id": "text",
                    "path": [
                      "text"
                    ],
                    "predicate": "required",
                    "purpose": "text"
                  }
                ],
                "is_holder": [
                  {
                    "directive": "required",
                    "field_id": [
                      "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                    ]
                  }
                ],
                "limit_disclosure": "text",
                "status_active": "required",
                "status_revoked": "required",
                "status_suspended": "required",
                "subject_is_issuer": "required"
              },
              "group": [
                "text"
              ],
              "id": "text",
              "metadata": {},
              "name": "text",
              "purpose": "text",
              "schema": {
                "oneof_filter": [
                  [
                    {
                      "uri": "https://www.w3.org/Test1#Test1"
                    },
                    {
                      "uri": "https://www.w3.org/Test2#Test2"
                    }
                  ],
                  {
                    "oneof_filter": [
                      [
                        {
                          "uri": "https://www.w3.org/Test1#Test1"
                        }
                      ],
                      [
                        {
                          "uri": "https://www.w3.org/Test2#Test2"
                        }
                      ]
                    ]
                  }
                ]
              }
            }
          ],
          "name": "text",
          "purpose": "text",
          "submission_requirements": [
            {
              "count": 1234,
              "from": "text",
              "from_nested": "[Circular Reference]",
              "max": 1234,
              "min": 1234,
              "name": "text",
              "purpose": "text",
              "rule": "all"
            }
          ]
        },
        "record_ids": {
          "<input descriptor id_1>": [
            "<record id_1>",
            "<record id_2>"
          ],
          "<input descriptor id_2>": [
            "<record id>"
          ]
        },
        "reveal_doc": {
          "@context": [
            "https://www.w3.org/2018/credentials/v1",
            "https://w3id.org/security/bbs/v1"
          ],
          "@explicit": true,
          "@requireAll": true,
          "credentialSubject": {
            "@explicit": true,
            "@requireAll": true,
            "Observation": [
              {
                "effectiveDateTime": {},
                "@explicit": true,
                "@requireAll": true
              }
            ]
          },
          "issuanceDate": {},
          "issuer": {},
          "type": [
            "VerifiableCredential",
            "LabReport"
          ]
        }
      },
      "indy": {
        "requested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "revealed": true
          }
        },
        "requested_predicates": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "timestamp": 1640995199
          }
        },
        "self_attested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": "self_attested_value"
        },
        "trace": false
      },
      "trace": true
    }
    POST /present-proof-2.0/records/{pres_ex_id}/verify-presentation HTTP/1.1
    Accept: */*
    
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }
    POST /did/cheqd/create HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 103
    
    {
      "features": "{}",
      "options": {
        "key_type": "ed25519",
        "method_specific_id_algo": "uuid",
        "network": "testnet"
      }
    }
    {
      "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
      "didState": {
        "did": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
        "didDocument": {
          "authentication": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"
          ],
          "controller": [
            "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"
          ],
          "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
          "verificationMethod": [
            {
              "id": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "type": "Ed25519VerificationKey2020",
              "controller": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86",
              "publicKeyMultibase": "z6Mk..."
            }
          ]
        },
        "secret": {
          "signingResponse": [
            {
              "kid": "did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1",
              "signature": "SHFz..."
            }
          ]
        },
        "state": "finished"
      },
      "success": true,
      "verkey": "BnSWTUQmdYCewSGFrRUhT6LmKdcCcSzRGqWXMPnEP168"
    }
    GET /wallet/did HTTP/1.1
    Accept: */*
    
    {
      "results": [
        {
          "did": "did:peer:WgWxqztrNooG92RXvxSTWv",
          "key_type": "ed25519",
          "metadata": {},
          "method": "sov",
          "posture": "wallet_only",
          "verkey": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
        }
      ]
    }
    POST /anoncreds/revocation/revoke HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 285
    
    {
      "comment": "text",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "cred_rev_id": "12345",
      "notify": true,
      "notify_version": "v1_0",
      "publish": true,
      "rev_reg_id": "did:(method):4:did:<method>:3:CL:20:tag:CL_ACCUM:0",
      "thread_id": "text"
    }
    {}
    {
      "created_at": "2021-12-31T23:59:59Z",
      "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "accept": [
          "didcomm/aip1",
          "didcomm/aip2;env=rfc19"
        ],
        "goal": "To issue a Faber College Graduate credential",
        "goal_code": "issue-vc",
        "handshake_protocols": [
          "https://didcomm.org/didexchange/1.0"
        ],
        "imageUrl": "http://192.168.56.101/img/logo.jpg",
        "label": "Bob",
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "services": [
          {
            "did": "WgWxqztrNooG92RXvxSTWv",
            "id": "string",
            "recipientKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "routingKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "serviceEndpoint": "http://192.168.56.101:8020",
            "type": "string"
          },
          "did:sov:WgWxqztrNooG92RXvxSTWv"
        ]
      },
      "invitation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation_url": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=",
      "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "state": "await_response",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    {
      "attach_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "accept": [
          "didcomm/aip1",
          "didcomm/aip2;env=rfc19"
        ],
        "goal": "To issue a Faber College Graduate credential",
        "goal_code": "issue-vc",
        "handshake_protocols": [
          "https://didcomm.org/didexchange/1.0"
        ],
        "imageUrl": "http://192.168.56.101/img/logo.jpg",
        "label": "Bob",
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "services": [
          {
            "did": "WgWxqztrNooG92RXvxSTWv",
            "id": "string",
            "recipientKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "routingKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "serviceEndpoint": "http://192.168.56.101:8020",
            "type": "string"
          },
          "did:sov:WgWxqztrNooG92RXvxSTWv"
        ]
      },
      "multi_use": true,
      "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "our_recipient_key": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "role": "receiver",
      "state": "await-response",
      "their_service": {
        "recipientKeys": [
          "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
        ],
        "routingKeys": [
          "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
        ],
        "serviceEndpoint": "http://192.168.56.101:8020"
      },
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    {
      "auto_issue": false,
      "auto_offer": false,
      "auto_remove": false,
      "by_format": {
        "cred_issue": {},
        "cred_offer": {},
        "cred_proposal": {},
        "cred_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "cred_issue": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credentials~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_offer": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "offers~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_preview": {
        "@type": "issue-credential/2.0/credential-preview",
        "attributes": [
          {
            "mime-type": "image/jpeg",
            "name": "favourite_drink",
            "value": "martini"
          }
        ]
      },
      "cred_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "filters~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ]
      },
      "cred_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "error_msg": "The front fell off",
      "initiator": "self",
      "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "role": "issuer",
      "state": "done",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    POST /out-of-band/create-invitation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 475
    
    {
      "accept": [
        "didcomm/aip1",
        "didcomm/aip2;env=rfc19"
      ],
      "alias": "Barry",
      "attachments": [
        {
          "id": "attachment-0",
          "type": "present-proof"
        }
      ],
      "goal": "To issue a Faber College Graduate credential",
      "goal_code": "issue-vc",
      "handshake_protocols": [
        "https://didcomm.org/didexchange/1.0"
      ],
      "mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "metadata": {},
      "my_label": "Invitation to Barry",
      "protocol_version": "1.1",
      "use_did": "did:example:123",
      "use_did_method": "did:peer:2",
      "use_public_did": false
    }
    POST /out-of-band/receive-invitation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 1305
    
    {
      "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "@type": "https://didcomm.org/my-family/1.0/my-message-type",
      "accept": [
        "didcomm/aip1",
        "didcomm/aip2;env=rfc19"
      ],
      "goal": "To issue a Faber College Graduate credential",
      "goal_code": "issue-vc",
      "handshake_protocols": [
        "https://didcomm.org/didexchange/1.0"
      ],
      "imageUrl": "http://192.168.56.101/img/logo.jpg",
      "label": "Bob",
      "requests~attach": [
        {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "byte_count": 1234,
          "data": {
            "base64": "ey4uLn0=",
            "json": "{\"sample\": \"content\"}",
            "jws": {
              "header": {
                "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
              },
              "protected": "ey4uLn0",
              "signature": "ey4uLn0",
              "signatures": [
                {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0"
                }
              ]
            },
            "links": [
              "https://link.to/data"
            ],
            "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
          },
          "description": "view from doorway, facing east, with lights off",
          "filename": "IMG1092348.png",
          "lastmod_time": "2021-12-31T23:59:59Z",
          "mime-type": "image/png"
        }
      ],
      "services": [
        {
          "did": "WgWxqztrNooG92RXvxSTWv",
          "id": "string",
          "recipientKeys": [
            "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
          ],
          "routingKeys": [
            "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
          ],
          "serviceEndpoint": "http://192.168.56.101:8020",
          "type": "string"
        },
        "did:sov:WgWxqztrNooG92RXvxSTWv"
      ]
    }
    POST /issue-credential-2.0/send-offer HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 1703
    
    {
      "auto_issue": true,
      "auto_remove": true,
      "comment": "text",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "credential_preview": {
        "@type": "issue-credential/2.0/credential-preview",
        "attributes": [
          {
            "mime-type": "image/jpeg",
            "name": "favourite_drink",
            "value": "martini"
          }
        ]
      },
      "filter": {
        "anoncreds": {
          "cred_def_id": "did:(method):3:CL:20:tag",
          "issuer_id": "did:(method):WgWxqztrNooG92RXvxSTWv",
          "schema_id": "did:(method):2:schema_name:1.0",
          "schema_issuer_id": "did:(method):WgWxqztrNooG92RXvxSTWv",
          "schema_name": "preferences",
          "schema_version": "1.0"
        },
        "indy": {
          "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag",
          "issuer_did": "WgWxqztrNooG92RXvxSTWv",
          "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0",
          "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv",
          "schema_name": "preferences",
          "schema_version": "1.0"
        },
        "ld_proof": {
          "credential": {
            "@context": [
              "https://www.w3.org/2018/credentials/v1",
              "https://w3id.org/citizenship/v1"
            ],
            "credentialSubject": {
              "familyName": "SMITH",
              "gender": "Male",
              "givenName": "JOHN",
              "type": [
                "PermanentResident",
                "Person"
              ]
            },
            "description": "Government of Example Permanent Resident Card.",
            "identifier": "83627465",
            "issuanceDate": "2019-12-03T12:19:52Z",
            "issuer": "did:key:z6MkmjY8GnV5i9YTDtPETC2uUAW6ejw3nk5mXF5yci5ab7th",
            "name": "Permanent Resident Card",
            "type": [
              "VerifiableCredential",
              "PermanentResidentCard"
            ]
          },
          "options": {
            "proofType": "Ed25519Signature2018"
          },
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "vc_di": {
          "cred_def_id": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag",
          "issuer_did": "WgWxqztrNooG92RXvxSTWv",
          "schema_id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0",
          "schema_issuer_did": "WgWxqztrNooG92RXvxSTWv",
          "schema_name": "preferences",
          "schema_version": "1.0"
        }
      },
      "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true
    }
    POST /issue-credential-2.0/records/{cred_ex_id}/send-request HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 80
    
    {
      "auto_remove": true,
      "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs"
    }
    {
      "auto_issue": false,
      "auto_offer": false,
      "auto_remove": false,
      "by_format": {
        "cred_issue": {},
        "cred_offer": {},
        "cred_proposal": {},
        "cred_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "cred_issue": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credentials~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_offer": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "offers~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_preview": {
        "@type": "issue-credential/2.0/credential-preview",
        "attributes": [
          {
            "mime-type": "image/jpeg",
            "name": "favourite_drink",
            "value": "martini"
          }
        ]
      },
      "cred_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "filters~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ]
      },
      "cred_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "error_msg": "The front fell off",
      "initiator": "self",
      "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "role": "issuer",
      "state": "done",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    POST /issue-credential-2.0/records/{cred_ex_id}/issue HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 18
    
    {
      "comment": "text"
    }
    {
      "cred_ex_record": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "indy": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_indy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_request_metadata": {},
        "cred_rev_id": "12345",
        "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "ld_proof": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_ld_proof_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "vc_di": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      }
    }
    POST /issue-credential-2.0/records/{cred_ex_id}/store HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 24
    
    {
      "credential_id": "text"
    }
    {
      "cred_ex_record": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "indy": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_indy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_request_metadata": {},
        "cred_rev_id": "12345",
        "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "ld_proof": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_ld_proof_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "vc_di": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      }
    }
    POST /anoncreds/credential-definition HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 310
    
    {
      "credential_definition": {
        "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
        "schemaId": "did:(method):2:schema_name:1.0",
        "tag": "default"
      },
      "options": {
        "create_transaction_for_endorser": false,
        "endorser_connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "revocation_registry_size": 1000,
        "support_revocation": true
      }
    }
    {
      "credential_definition_metadata": {},
      "credential_definition_state": {
        "credential_definition": {
          "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
          "schemaId": "did:(method):2:schema_name:1.0",
          "tag": "default",
          "type": "CL",
          "value": {
            "primary": {
              "n": "0",
              "r": {},
              "rctxt": "0",
              "s": "0",
              "z": "0"
            },
            "revocation": {
              "g": "1 1F14F&ECB578F 2 095E45DDF417D",
              "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D",
              "h": "1 16675DAE54BFAE8 2 095E45DD417D",
              "h0": "1 21E5EF9476EAF18 2 095E45DDF417D",
              "h1": "1 236D1D99236090 2 095E45DDF417D",
              "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D",
              "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000",
              "htilde": "1 1D8549E8C0F8 2 095E45DDF417D",
              "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D",
              "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000",
              "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000"
            }
          }
        },
        "credential_definition_id": "did:(method):3:CL:20:tag",
        "state": "finished"
      },
      "job_id": "text",
      "registration_metadata": {}
    }
    GET /anoncreds/credential-definition/{cred_def_id} HTTP/1.1
    Accept: */*
    
    {
      "credential_definition": {
        "issuerId": "did:(method):WgWxqztrNooG92RXvxSTWv",
        "schemaId": "did:(method):2:schema_name:1.0",
        "tag": "default",
        "type": "CL",
        "value": {
          "primary": {
            "n": "0",
            "r": {},
            "rctxt": "0",
            "s": "0",
            "z": "0"
          },
          "revocation": {
            "g": "1 1F14F&ECB578F 2 095E45DDF417D",
            "g_dash": "1 1D64716fCDC00C 1 0C781960FA66E3D3 2 095E45DDF417D",
            "h": "1 16675DAE54BFAE8 2 095E45DD417D",
            "h0": "1 21E5EF9476EAF18 2 095E45DDF417D",
            "h1": "1 236D1D99236090 2 095E45DDF417D",
            "h2": "1 1C3AE8D1F1E277 2 095E45DDF417D",
            "h_cap": "1 1B2A32CF3167 1 2490FEBF6EE55 1 0000000000000000",
            "htilde": "1 1D8549E8C0F8 2 095E45DDF417D",
            "pk": "1 142CD5E5A7DC 1 153885BD903312 2 095E45DDF417D",
            "u": "1 0C430AAB2B4710 1 1CB3A0932EE7E 1 0000000000000000",
            "y": "1 153558BD903312 2 095E45DDF417D 1 0000000000000000"
          }
        }
      },
      "credential_definition_id": "did:(method):3:CL:20:tag",
      "credential_definitions_metadata": {},
      "resolution_metadata": {}
    }

    hashtag
    Create a new connection invitation

    post
    Query parameters
    auto_acceptanyOptional

    Auto-accept connection (defaults to configuration)

    create_unique_didanyOptional

    Create unique DID for this invitation (default false)

    multi_useanyOptional

    Create invitation for multiple use (default false)

    Body
    acceptstring[]Optional

    List of mime type in order of preference that should be use in responding to the message

    Example: ["didcomm/aip1","didcomm/aip2;env=rfc19"]
    aliasstringOptional

    Alias for connection

    Example: Barry
    goalstringOptional

    A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message

    Example: To issue a Faber College Graduate credential
    goal_codestringOptional

    A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message

    Example: issue-vc
    handshake_protocolsstring[]Optional

    Handshake protocol to specify in invitation

    mediation_idstringOptional

    Identifier for active mediation record to be used

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
    metadataobjectOptional

    Optional metadata to attach to the connection created with the invitation

    my_labelstringOptional

    Label for connection invitation

    Example: Invitation to Barry
    protocol_versionstringOptional

    OOB protocol version

    Example: 1.1
    use_didstringOptional

    DID to use in invitation

    Example: did:example:123
    use_did_methodstring · enumOptional

    DID method to use in invitation

    Example: did:peer:2Possible values:
    use_public_didbooleanOptional

    Whether to use public DID in invitation

    Responses
    chevron-right
    200Success
    application/json
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    invi_msg_idstringOptional

    Invitation message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    invitation_idstringOptional

    Invitation record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    invitation_urlstringOptional

    Invitation message URL

    Example: https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=
    oob_idstringOptional

    Out of band record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    statestringOptional

    Out of band message exchange state

    Example: await_response
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /out-of-band/create-invitation
    200Success

    hashtag
    Receive a new connection invitation

    post
    Query parameters
    aliasanyOptional

    Alias for connection

    Example: {"value":"Barry"}
    auto_acceptanyOptional

    Auto-accept connection (defaults to configuration)

    mediation_idanyOptional

    Identifier for active mediation record to be used

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}
    use_existing_connectionanyOptional

    Use an existing connection, if possible

    Body
    @idstringOptional

    Message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    @typestringOptional

    Message type

    Example: https://didcomm.org/my-family/1.0/my-message-type
    acceptstring[]Optional

    List of mime type in order of preference

    Example: ["didcomm/aip1","didcomm/aip2;env=rfc19"]
    goalstringOptional

    A self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message

    Example: To issue a Faber College Graduate credential
    goal_codestringOptional

    A self-attested code the receiver may want to display to the user or use in automatically deciding what to do with the out-of-band message

    Example: issue-vc
    handshake_protocolsstring[]Optional

    Handshake protocol

    imageUrlstring · urlOptional

    Optional image URL for out-of-band invitation

    Example: http://192.168.56.101/img/logo.jpg
    labelstringOptional

    Optional label

    Example: Bob
    Responses
    chevron-right
    200Success
    application/json
    attach_thread_idstringOptional

    Connection record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    connection_idstringOptional

    Connection record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    invi_msg_idstringRequired

    Invitation message identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    multi_usebooleanOptional

    Allow for multiple uses of the oob invitation

    Example: true
    oob_idstringRequired

    Oob record identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    our_recipient_keystringOptional

    Recipient key used for oob invitation

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    OOB Role

    Example: receiverPossible values:
    statestring · enumRequired

    Out of band message exchange state

    Example: await-responsePossible values:
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /out-of-band/receive-invitation

    hashtag
    Create a local DID

    post
    Body
    methodstringOptional

    Method for the requested DID.Supported methods are 'key', 'sov', and any other registered method.

    Example: sov
    seedstringOptional

    Optional seed to use for DID, Must be enabled in configuration before use.

    Example: 000000000000000000000000Trustee1
    Responses
    chevron-right
    200Success
    application/json
    post
    /wallet/did/create
    200Success

    hashtag
    Send issuer a credential request not bound to an existing thread. Indy credentials cannot start at a request

    post
    Body
    auto_removebooleanOptional

    Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)

    commentstringOptional

    Human-readable comment

    connection_idstringRequired

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    holder_didstringOptional

    Holder DID to substitute for the credentialSubject.id

    Example: did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs
    tracebooleanOptional

    Whether to trace event (default false)

    Responses
    chevron-right
    200Success
    application/json
    auto_issuebooleanOptional

    Issuer choice to issue to request in this credential exchange

    auto_offerbooleanOptional

    Holder choice to accept offer in this credential exchange

    auto_removebooleanOptional

    Issuer choice to remove this credential exchange record when complete

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    cred_ex_idstringOptional

    Credential exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    error_msgstringOptional

    Error message

    Example: The front fell off
    initiatorstring · enumOptional

    Issue-credential exchange initiator: self or external

    Example: selfPossible values:
    parent_thread_idstringOptional

    Parent thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Issue-credential exchange role: holder or issuer

    Example: issuerPossible values:
    statestring · enumOptional

    Issue-credential exchange state

    Example: donePossible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    post
    /issue-credential-2.0/send-request
    200Success

    hashtag
    Send holder a credential

    post
    Path parameters
    cred_ex_idanyRequired

    Credential exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}
    Body
    commentstringOptional

    Human-readable comment

    Responses
    chevron-right
    200Success
    application/json
    post
    /issue-credential-2.0/records/{cred_ex_id}/issue
    200Success

    hashtag
    Store a received credential

    post
    Path parameters
    cred_ex_idanyRequired

    Credential exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}
    Body
    credential_idstringOptional
    Responses
    chevron-right
    200Success
    application/json
    post
    /issue-credential-2.0/records/{cred_ex_id}/store
    200Success

    hashtag
    Fetch W3C credentials from wallet

    post
    Query parameters
    countanyOptional

    Maximum number to retrieve

    Example: {"value":"1"}
    startanyOptional

    Start index

    Example: {"value":"0"}
    wqlanyOptional

    (JSON) WQL query

    Example: {"value":"{\"attr::name::value\": \"Alex\"}"}
    Body
    contextsstring[]Optional

    Credential context to match

    given_idstringOptional

    Given credential id to match

    issuer_idstringOptional

    Credential issuer identifier to match

    max_resultsintegerOptional

    Maximum number of results to return

    proof_typesstring[]Optional

    Signature suite used for proof

    schema_idsstring[]Optional

    Schema identifiers, all of which to match

    subject_idsstring[]Optional

    Subject identifiers, all of which to match

    typesstring[]Optional

    Credential type to match

    Responses
    chevron-right
    200Success
    application/json
    post
    /credentials/w3c
    200Success

    hashtag
    Sends a free presentation request not bound to any proposal

    post
    Body
    auto_removebooleanOptional

    Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    commentstringOptional
    connection_idstringRequired

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Whether to trace event (default false)

    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/send-request

    hashtag
    Sends a proof presentation

    post
    Path parameters
    pres_ex_idanyRequired

    Presentation exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}
    Body
    auto_removebooleanOptional

    Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)

    tracebooleanOptional

    Record trace information, based on agent configuration

    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/records/{pres_ex_id}/send-presentation

    hashtag
    Verify a received presentation

    post
    Path parameters
    pres_ex_idanyRequired

    Presentation exchange identifier

    Example: {"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}
    Responses
    chevron-right
    200Success
    application/json
    auto_presentbooleanOptional

    Prover choice to auto-present proof as verifier requests

    auto_removebooleanOptional

    Verifier choice to remove this presentation exchange record when complete

    auto_verifybooleanOptional

    Verifier choice to auto-verify proof presentation

    connection_idstringOptional

    Connection identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    created_atstringOptional

    Time of record creation

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    error_msgstringOptional

    Error message

    Example: Invalid structure
    initiatorstring · enumOptional

    Present-proof exchange initiator: self or external

    Example: selfPossible values:
    pres_ex_idstringOptional

    Presentation exchange identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    rolestring · enumOptional

    Present-proof exchange role: prover or verifier

    Example: proverPossible values:
    statestring · enumOptional

    Present-proof exchange state

    Possible values:
    thread_idstringOptional

    Thread identifier

    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
    tracebooleanOptional

    Record trace information, based on agent configuration

    updated_atstringOptional

    Time of last record update

    Example: 2021-12-31T23:59:59ZPattern: ^\d{4}-\d\d-\d\d[T ]\d\d:\d\d(?:\:(?:\d\d(?:\.\d{1,6})?))?(?:[+-]\d\d:?\d\d|Z|)$
    verifiedstring · enumOptional

    Whether presentation is verified: 'true' or 'false'

    Example: truePossible values:
    verified_msgsstring[]Optional

    Proof verification warning or error information

    post
    /present-proof-2.0/records/{pres_ex_id}/verify-presentation
    200Success
    200Success
    200Success
    200Success
    {
      "created_at": "2021-12-31T23:59:59Z",
      "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "accept": [
          "didcomm/aip1",
          "didcomm/aip2;env=rfc19"
        ],
        "goal": "To issue a Faber College Graduate credential",
        "goal_code": "issue-vc",
        "handshake_protocols": [
          "https://didcomm.org/didexchange/1.0"
        ],
        "imageUrl": "http://192.168.56.101/img/logo.jpg",
        "label": "Bob",
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "services": [
          {
            "did": "WgWxqztrNooG92RXvxSTWv",
            "id": "string",
            "recipientKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "routingKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "serviceEndpoint": "http://192.168.56.101:8020",
            "type": "string"
          },
          "did:sov:WgWxqztrNooG92RXvxSTWv"
        ]
      },
      "invitation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation_url": "https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=",
      "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "state": "await_response",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    {
      "attach_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "invi_msg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invitation": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "accept": [
          "didcomm/aip1",
          "didcomm/aip2;env=rfc19"
        ],
        "goal": "To issue a Faber College Graduate credential",
        "goal_code": "issue-vc",
        "handshake_protocols": [
          "https://didcomm.org/didexchange/1.0"
        ],
        "imageUrl": "http://192.168.56.101/img/logo.jpg",
        "label": "Bob",
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "services": [
          {
            "did": "WgWxqztrNooG92RXvxSTWv",
            "id": "string",
            "recipientKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "routingKeys": [
              "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
            ],
            "serviceEndpoint": "http://192.168.56.101:8020",
            "type": "string"
          },
          "did:sov:WgWxqztrNooG92RXvxSTWv"
        ]
      },
      "multi_use": true,
      "oob_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "our_recipient_key": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "role": "receiver",
      "state": "await-response",
      "their_service": {
        "recipientKeys": [
          "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
        ],
        "routingKeys": [
          "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
        ],
        "serviceEndpoint": "http://192.168.56.101:8020"
      },
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    POST /out-of-band/create-invitation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 475
    
    {
      "accept": [
        "didcomm/aip1",
        "didcomm/aip2;env=rfc19"
      ],
      "alias": "Barry",
      "attachments": [
        {
          "id": "attachment-0",
          "type": "present-proof"
        }
      ],
      "goal": "To issue a Faber College Graduate credential",
      "goal_code": "issue-vc",
      "handshake_protocols": [
        "https://didcomm.org/didexchange/1.0"
      ],
      "mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "metadata": {},
      "my_label": "Invitation to Barry",
      "protocol_version": "1.1",
      "use_did": "did:example:123",
      "use_did_method": "did:peer:2",
      "use_public_did": false
    }
    POST /out-of-band/receive-invitation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 1305
    
    {
      "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "@type": "https://didcomm.org/my-family/1.0/my-message-type",
      "accept": [
        "didcomm/aip1",
        "didcomm/aip2;env=rfc19"
      ],
      "goal": "To issue a Faber College Graduate credential",
      "goal_code": "issue-vc",
      "handshake_protocols": [
        "https://didcomm.org/didexchange/1.0"
      ],
      "imageUrl": "http://192.168.56.101/img/logo.jpg",
      "label": "Bob",
      "requests~attach": [
        {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "byte_count": 1234,
          "data": {
            "base64": "ey4uLn0=",
            "json": "{\"sample\": \"content\"}",
            "jws": {
              "header": {
                "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
              },
              "protected": "ey4uLn0",
              "signature": "ey4uLn0",
              "signatures": [
                {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0"
                }
              ]
            },
            "links": [
              "https://link.to/data"
            ],
            "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
          },
          "description": "view from doorway, facing east, with lights off",
          "filename": "IMG1092348.png",
          "lastmod_time": "2021-12-31T23:59:59Z",
          "mime-type": "image/png"
        }
      ],
      "services": [
        {
          "did": "WgWxqztrNooG92RXvxSTWv",
          "id": "string",
          "recipientKeys": [
            "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
          ],
          "routingKeys": [
            "did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH"
          ],
          "serviceEndpoint": "http://192.168.56.101:8020",
          "type": "string"
        },
        "did:sov:WgWxqztrNooG92RXvxSTWv"
      ]
    }
    POST /wallet/did/create HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 131
    
    {
      "method": "sov",
      "options": {
        "did": "did:peer:WgWxqztrNooG92RXvxSTWv",
        "key_type": "ed25519"
      },
      "seed": "000000000000000000000000Trustee1"
    }
    {
      "result": {
        "did": "did:peer:WgWxqztrNooG92RXvxSTWv",
        "key_type": "ed25519",
        "metadata": {},
        "method": "sov",
        "posture": "wallet_only",
        "verkey": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
      }
    }
    POST /issue-credential-2.0/send-request HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 775
    
    {
      "auto_remove": true,
      "comment": "text",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "filter": {
        "ld_proof": {
          "credential": {
            "@context": [
              "https://www.w3.org/2018/credentials/v1",
              "https://w3id.org/citizenship/v1"
            ],
            "credentialSubject": {
              "familyName": "SMITH",
              "gender": "Male",
              "givenName": "JOHN",
              "type": [
                "PermanentResident",
                "Person"
              ]
            },
            "description": "Government of Example Permanent Resident Card.",
            "identifier": "83627465",
            "issuanceDate": "2019-12-03T12:19:52Z",
            "issuer": "did:key:z6MkmjY8GnV5i9YTDtPETC2uUAW6ejw3nk5mXF5yci5ab7th",
            "name": "Permanent Resident Card",
            "type": [
              "VerifiableCredential",
              "PermanentResidentCard"
            ]
          },
          "options": {
            "proofType": "Ed25519Signature2018"
          },
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "holder_did": "did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahs",
      "trace": false
    }
    {
      "auto_issue": false,
      "auto_offer": false,
      "auto_remove": false,
      "by_format": {
        "cred_issue": {},
        "cred_offer": {},
        "cred_proposal": {},
        "cred_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "cred_issue": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credentials~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_offer": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "offers~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      },
      "cred_preview": {
        "@type": "issue-credential/2.0/credential-preview",
        "attributes": [
          {
            "mime-type": "image/jpeg",
            "name": "favourite_drink",
            "value": "martini"
          }
        ]
      },
      "cred_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "credential_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "filters~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ]
      },
      "cred_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "aries/[email protected]"
          }
        ],
        "requests~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "error_msg": "The front fell off",
      "initiator": "self",
      "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "role": "issuer",
      "state": "done",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z"
    }
    POST /issue-credential-2.0/records/{cred_ex_id}/issue HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 18
    
    {
      "comment": "text"
    }
    {
      "cred_ex_record": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "indy": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_indy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_request_metadata": {},
        "cred_rev_id": "12345",
        "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "ld_proof": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_ld_proof_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "vc_di": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      }
    }
    POST /issue-credential-2.0/records/{cred_ex_id}/store HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 24
    
    {
      "credential_id": "text"
    }
    {
      "cred_ex_record": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "indy": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_indy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_request_metadata": {},
        "cred_rev_id": "12345",
        "rev_reg_id": "WgWxqztrNooG92RXvxSTWv:4:WgWxqztrNooG92RXvxSTWv:3:CL:20:tag:CL_ACCUM:0",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "ld_proof": {
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_ex_ld_proof_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_id_stored": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "state": "active",
        "updated_at": "2021-12-31T23:59:59Z"
      },
      "vc_di": {
        "auto_issue": false,
        "auto_offer": false,
        "auto_remove": false,
        "by_format": {
          "cred_issue": {},
          "cred_offer": {},
          "cred_proposal": {},
          "cred_request": {}
        },
        "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "created_at": "2021-12-31T23:59:59Z",
        "cred_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "cred_issue": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credentials~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_offer": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "offers~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "replacement_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
        },
        "cred_preview": {
          "@type": "issue-credential/2.0/credential-preview",
          "attributes": [
            {
              "mime-type": "image/jpeg",
              "name": "favourite_drink",
              "value": "martini"
            }
          ]
        },
        "cred_proposal": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "credential_preview": {
            "@type": "issue-credential/2.0/credential-preview",
            "attributes": [
              {
                "mime-type": "image/jpeg",
                "name": "favourite_drink",
                "value": "martini"
              }
            ]
          },
          "filters~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ],
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ]
        },
        "cred_request": {
          "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "@type": "https://didcomm.org/my-family/1.0/my-message-type",
          "comment": "text",
          "formats": [
            {
              "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "format": "aries/[email protected]"
            }
          ],
          "requests~attach": [
            {
              "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
              "byte_count": 1234,
              "data": {
                "base64": "ey4uLn0=",
                "json": "{\"sample\": \"content\"}",
                "jws": {
                  "header": {
                    "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                  },
                  "protected": "ey4uLn0",
                  "signature": "ey4uLn0",
                  "signatures": [
                    {
                      "header": {
                        "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                      },
                      "protected": "ey4uLn0",
                      "signature": "ey4uLn0"
                    }
                  ]
                },
                "links": [
                  "https://link.to/data"
                ],
                "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
              },
              "description": "view from doorway, facing east, with lights off",
              "filename": "IMG1092348.png",
              "lastmod_time": "2021-12-31T23:59:59Z",
              "mime-type": "image/png"
            }
          ]
        },
        "error_msg": "The front fell off",
        "initiator": "self",
        "parent_thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "role": "issuer",
        "state": "done",
        "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "trace": true,
        "updated_at": "2021-12-31T23:59:59Z"
      }
    }
    POST /credentials/w3c HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 267
    
    {
      "contexts": [
        "https://myhost:8021"
      ],
      "given_id": "text",
      "issuer_id": "text",
      "max_results": 1,
      "proof_types": [
        "Ed25519Signature2018"
      ],
      "schema_ids": [
        "https://myhost:8021"
      ],
      "subject_ids": [
        "text"
      ],
      "tag_query": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "types": [
        "https://myhost:8021"
      ]
    }
    {
      "results": [
        {
          "contexts": [
            "https://myhost:8021"
          ],
          "cred_tags": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "cred_value": {},
          "expanded_types": [
            "https://w3id.org/citizenship#PermanentResidentCard"
          ],
          "given_id": "http://example.edu/credentials/3732",
          "issuer_id": "https://example.edu/issuers/14",
          "proof_types": [
            "Ed25519Signature2018"
          ],
          "record_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "schema_ids": [
            "https://example.org/examples/degree.json"
          ],
          "subject_ids": [
            "did:example:ebfeb1f712ebc6f1c276e12ec21"
          ]
        }
      ]
    }
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }
    POST /present-proof-2.0/send-request HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 2482
    
    {
      "auto_remove": true,
      "auto_verify": false,
      "comment": "text",
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "presentation_request": {
        "anoncreds": {
          "name": "Proof request",
          "non_revoked": {
            "from": 1640995199,
            "to": 1640995199
          },
          "nonce": "1",
          "requested_attributes": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "favouriteDrink",
              "names": [
                "age"
              ],
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "did:(method):3:CL:20:tag"
                }
              ]
            }
          },
          "requested_predicates": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "index",
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "p_type": ">=",
              "p_value": 1,
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "did:(method):3:CL:20:tag"
                }
              ]
            }
          },
          "version": "1.0"
        },
        "dif": {
          "options": {
            "challenge": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "domain": "4jt78h47fh47"
          },
          "presentation_definition": {
            "format": {
              "di_vc": {},
              "jwt": {},
              "jwt_vc": {},
              "jwt_vp": {},
              "ldp": {},
              "ldp_vc": {},
              "ldp_vp": {}
            },
            "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "input_descriptors": [
              {
                "constraints": {
                  "fields": [
                    {
                      "filter": {
                        "const": null,
                        "enum": [],
                        "exclusiveMaximum": null,
                        "exclusiveMinimum": null,
                        "format": "text",
                        "maxLength": 1234,
                        "maximum": null,
                        "minLength": 1234,
                        "minimum": null,
                        "not": false,
                        "pattern": "text",
                        "type": "text"
                      },
                      "id": "text",
                      "path": [
                        "text"
                      ],
                      "predicate": "required",
                      "purpose": "text"
                    }
                  ],
                  "is_holder": [
                    {
                      "directive": "required",
                      "field_id": [
                        "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                      ]
                    }
                  ],
                  "limit_disclosure": "text",
                  "status_active": "required",
                  "status_revoked": "required",
                  "status_suspended": "required",
                  "subject_is_issuer": "required"
                },
                "group": [
                  "text"
                ],
                "id": "text",
                "metadata": {},
                "name": "text",
                "purpose": "text",
                "schema": {
                  "oneof_filter": [
                    [
                      {
                        "uri": "https://www.w3.org/Test1#Test1"
                      },
                      {
                        "uri": "https://www.w3.org/Test2#Test2"
                      }
                    ],
                    {
                      "oneof_filter": [
                        [
                          {
                            "uri": "https://www.w3.org/Test1#Test1"
                          }
                        ],
                        [
                          {
                            "uri": "https://www.w3.org/Test2#Test2"
                          }
                        ]
                      ]
                    }
                  ]
                }
              }
            ],
            "name": "text",
            "purpose": "text",
            "submission_requirements": [
              "[Circular Reference]"
            ]
          },
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "indy": {
          "name": "Proof request",
          "non_revoked": {
            "from": 1640995199,
            "to": 1640995199
          },
          "nonce": "1",
          "requested_attributes": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "favouriteDrink",
              "names": [
                "age"
              ],
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"
                }
              ]
            }
          },
          "requested_predicates": {
            "ANY_ADDITIONAL_PROPERTY": {
              "name": "index",
              "non_revoked": {
                "from": 1640995199,
                "to": 1640995199
              },
              "p_type": ">=",
              "p_value": 1,
              "restrictions": [
                {
                  "ANY_ADDITIONAL_PROPERTY": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag"
                }
              ]
            }
          },
          "version": "1.0"
        }
      },
      "trace": false
    }
    POST /present-proof-2.0/records/{pres_ex_id}/send-presentation HTTP/1.1
    Content-Type: application/json
    Accept: */*
    Content-Length: 2418
    
    {
      "anoncreds": {
        "requested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "revealed": true
          }
        },
        "requested_predicates": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "timestamp": 1640995199
          }
        },
        "self_attested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": "self_attested_value"
        },
        "trace": false
      },
      "auto_remove": true,
      "dif": {
        "issuer_id": "text",
        "presentation_definition": {
          "format": {
            "di_vc": {},
            "jwt": {},
            "jwt_vc": {},
            "jwt_vp": {},
            "ldp": {},
            "ldp_vc": {},
            "ldp_vp": {}
          },
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "input_descriptors": [
            {
              "constraints": {
                "fields": [
                  {
                    "filter": {
                      "const": null,
                      "enum": [],
                      "exclusiveMaximum": null,
                      "exclusiveMinimum": null,
                      "format": "text",
                      "maxLength": 1234,
                      "maximum": null,
                      "minLength": 1234,
                      "minimum": null,
                      "not": false,
                      "pattern": "text",
                      "type": "text"
                    },
                    "id": "text",
                    "path": [
                      "text"
                    ],
                    "predicate": "required",
                    "purpose": "text"
                  }
                ],
                "is_holder": [
                  {
                    "directive": "required",
                    "field_id": [
                      "3fa85f64-5717-4562-b3fc-2c963f66afa6"
                    ]
                  }
                ],
                "limit_disclosure": "text",
                "status_active": "required",
                "status_revoked": "required",
                "status_suspended": "required",
                "subject_is_issuer": "required"
              },
              "group": [
                "text"
              ],
              "id": "text",
              "metadata": {},
              "name": "text",
              "purpose": "text",
              "schema": {
                "oneof_filter": [
                  [
                    {
                      "uri": "https://www.w3.org/Test1#Test1"
                    },
                    {
                      "uri": "https://www.w3.org/Test2#Test2"
                    }
                  ],
                  {
                    "oneof_filter": [
                      [
                        {
                          "uri": "https://www.w3.org/Test1#Test1"
                        }
                      ],
                      [
                        {
                          "uri": "https://www.w3.org/Test2#Test2"
                        }
                      ]
                    ]
                  }
                ]
              }
            }
          ],
          "name": "text",
          "purpose": "text",
          "submission_requirements": [
            {
              "count": 1234,
              "from": "text",
              "from_nested": "[Circular Reference]",
              "max": 1234,
              "min": 1234,
              "name": "text",
              "purpose": "text",
              "rule": "all"
            }
          ]
        },
        "record_ids": {
          "<input descriptor id_1>": [
            "<record id_1>",
            "<record id_2>"
          ],
          "<input descriptor id_2>": [
            "<record id>"
          ]
        },
        "reveal_doc": {
          "@context": [
            "https://www.w3.org/2018/credentials/v1",
            "https://w3id.org/security/bbs/v1"
          ],
          "@explicit": true,
          "@requireAll": true,
          "credentialSubject": {
            "@explicit": true,
            "@requireAll": true,
            "Observation": [
              {
                "effectiveDateTime": {},
                "@explicit": true,
                "@requireAll": true
              }
            ]
          },
          "issuanceDate": {},
          "issuer": {},
          "type": [
            "VerifiableCredential",
            "LabReport"
          ]
        }
      },
      "indy": {
        "requested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "revealed": true
          }
        },
        "requested_predicates": {
          "ANY_ADDITIONAL_PROPERTY": {
            "cred_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "timestamp": 1640995199
          }
        },
        "self_attested_attributes": {
          "ANY_ADDITIONAL_PROPERTY": "self_attested_value"
        },
        "trace": false
      },
      "trace": true
    }
    POST /present-proof-2.0/records/{pres_ex_id}/verify-presentation HTTP/1.1
    Accept: */*
    
    {
      "auto_present": false,
      "auto_remove": false,
      "auto_verify": true,
      "by_format": {
        "pres": {},
        "pres_proposal": {},
        "pres_request": {}
      },
      "connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2021-12-31T23:59:59Z",
      "error_msg": "Invalid structure",
      "initiator": "self",
      "pres": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_ex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "pres_proposal": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "proposals~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ]
      },
      "pres_request": {
        "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "@type": "https://didcomm.org/my-family/1.0/my-message-type",
        "comment": "text",
        "formats": [
          {
            "attach_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "format": "dif/presentation-exchange/[email protected]"
          }
        ],
        "request_presentations~attach": [
          {
            "@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "byte_count": 1234,
            "data": {
              "base64": "ey4uLn0=",
              "json": "{\"sample\": \"content\"}",
              "jws": {
                "header": {
                  "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                },
                "protected": "ey4uLn0",
                "signature": "ey4uLn0",
                "signatures": [
                  {
                    "header": {
                      "kid": "did:sov:LjgpST2rjsoxYegQDRm7EL#keys-4"
                    },
                    "protected": "ey4uLn0",
                    "signature": "ey4uLn0"
                  }
                ]
              },
              "links": [
                "https://link.to/data"
              ],
              "sha256": "617a48c7c8afe0521efdc03e5bb0ad9e655893e6b4b51f0e794d70fba132aacb"
            },
            "description": "view from doorway, facing east, with lights off",
            "filename": "IMG1092348.png",
            "lastmod_time": "2021-12-31T23:59:59Z",
            "mime-type": "image/png"
          }
        ],
        "will_confirm": true
      },
      "role": "prover",
      "state": "proposal-sent",
      "thread_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "trace": true,
      "updated_at": "2021-12-31T23:59:59Z",
      "verified": "true",
      "verified_msgs": [
        "text"
      ]
    }