Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Issue and present JSON-LD credentials signed by cheqd Decentralized Identifiers (DIDs), using ACA-Py.
Set up your ACA-Py agent to start using cheqd.
plugin-config.yml:./configs/settings.ymldocker-compose up -ddriver-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 -ddid_registrar:
image: universalregistrar/uni-registrar-web:latest
platform: linux/amd64
ports:
- "9080:9080"
depends_on:
- driver-did-cheqddocker-compose up -dcurl -X GET http://localhost:9080/1.0/propertiesdid_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 -dresolver_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_storagewallet-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.ymlFROM 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 id and the complete didDocumentin the request body. The main field that is updated using this method os the service object of the DID.{
"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.idassertionMethodPOST /did/cheqd/updateverificationMethod.id
{
"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"
}
]
}
}
]
}
}
}{
"comment": "Revoke issued credential",
"connection_id": "<issuer--to-holder-conn-id>",
"cred_ex_id": "<issuer-cred-exchange-id>",
"notify": true,
"publish": true
}{
"alias": "Holder",
"handshake_protocols": ["https://didcomm.org/didexchange/1.0"],
"use_public_did": false,
"my_label": "Invitation to Holder"
}Schema identifier
{"value":"did:(method):2:schema_name:1.0"}Schema identifier
did:(method):2:schema_name:1.0DID to deactivate
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})([?][^#]*)?)$Additional configuration options
{"network":"testnet"}DID that has been deactivted
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})([?][^#]*)?)$State of the did update
{"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"}Flag to denote if the operation was successful
trueDID to update
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})([?][^#]*)?)$Additional configuration options
{"network":"testnet"}DID that has been updated
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})([?][^#]*)?)$State of the did update
{"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"}Flag to denote if the operation was successful
trueWhether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Whether to trace event (default false)
Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
Presentation exchange identifier
{"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}Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
Record trace information, based on agent configuration
Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
Presentation exchange identifier
{"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}Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
Additional features to enable for the did.
{}Additional configuration options
{"key_type":"ed25519","method_specific_id_algo":"uuid","network":"testnet"}DID created
did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86The published 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"}Flag to denote if the operation was successful
trueVerification key
BnSWTUQmdYCewSGFrRUhT6LmKdcCcSzRGqWXMPnEP168DID of interest
{"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 type to query for.
{"value":"ed25519"}Possible values: DID method to query for. e.g. sov to only fetch indy/sov DIDs
{"value":"key"}Whether DID is current public DID, posted to ledger but current public DID, or local to the wallet
{"value":"wallet_only"}Possible values: Verification key of interest
{"value":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"}Pattern: ^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$Optional comment to include in revocation notification
Connection ID to which the revocation notification will be sent; required if notify is true
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}Credential exchange identifier
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}Credential revocation identifier
12345Pattern: ^[1-9][0-9]*$Send a notification to the credential recipient
Specify which version of the revocation notification should be sent
(True) publish revocation to ledger immediately, or (default, False) mark it pending
Revocation registry identifier
did:(method):4:did:<method>:3:CL:20:tag:CL_ACCUM:0Pattern: ^(.+$)Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true
Auto-accept connection (defaults to configuration)
Create unique DID for this invitation (default false)
Create invitation for multiple use (default false)
List of mime type in order of preference that should be use in responding to the message
["didcomm/aip1","didcomm/aip2;env=rfc19"]Alias for connection
BarryA self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message
To issue a Faber College Graduate credentialA 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
issue-vcHandshake protocol to specify in invitation
Identifier for active mediation record to be used
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}Optional metadata to attach to the connection created with the invitation
Label for connection invitation
Invitation to BarryOOB protocol version
1.1DID to use in invitation
did:example:123DID method to use in invitation
did:peer:2Possible values: Whether to use public DID in invitation
Time of record creation
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|)$Invitation message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Invitation record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Invitation message URL
https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=Out of band record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Out of band message exchange state
await_responseRecord trace information, based on agent configuration
Time of last record update
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|)$Alias for connection
{"value":"Barry"}Auto-accept connection (defaults to configuration)
Identifier for active mediation record to be used
{"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 an existing connection, if possible
Message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Message type
https://didcomm.org/my-family/1.0/my-message-typeList of mime type in order of preference
["didcomm/aip1","didcomm/aip2;env=rfc19"]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
To issue a Faber College Graduate credentialA 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
issue-vcHandshake protocol
Optional image URL for out-of-band invitation
http://192.168.56.101/img/logo.jpgOptional label
BobConnection record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Connection record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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|)$Invitation message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Allow for multiple uses of the oob invitation
trueOob record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Recipient key used for oob invitation
3fa85f64-5717-4562-b3fc-2c963f66afa6OOB Role
receiverPossible values: Out of band message exchange state
await-responsePossible values: Record trace information, based on agent configuration
Time of last record update
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|)$Whether to respond automatically to credential requests, creating and issuing requested credentials
Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)
Human-readable comment
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Optional identifier used to manage credential replacement
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Issuer choice to issue to request in this credential exchange
Holder choice to accept offer in this credential exchange
Issuer choice to remove this credential exchange record when complete
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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|)$Credential exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Error message
The front fell offIssue-credential exchange initiator: self or external
selfPossible values: Parent thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Issue-credential exchange role: holder or issuer
issuerPossible values: Issue-credential exchange state
donePossible values: Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Credential exchange identifier
{"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}Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)
Holder DID to substitute for the credentialSubject.id
did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahsIssuer choice to issue to request in this credential exchange
Holder choice to accept offer in this credential exchange
Issuer choice to remove this credential exchange record when complete
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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|)$Credential exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Error message
The front fell offIssue-credential exchange initiator: self or external
selfPossible values: Parent thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Issue-credential exchange role: holder or issuer
issuerPossible values: Issue-credential exchange state
donePossible values: Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Credential exchange identifier
{"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}Human-readable comment
Credential exchange identifier
{"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}Credential definition identifier
{"value":"did:(method):3:CL:20:tag"}credential definition id
did:(method):3:CL:20:tagPOST /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": {}
}Auto-accept connection (defaults to configuration)
Create unique DID for this invitation (default false)
Create invitation for multiple use (default false)
List of mime type in order of preference that should be use in responding to the message
["didcomm/aip1","didcomm/aip2;env=rfc19"]Alias for connection
BarryA self-attested string that the receiver may want to display to the user about the context-specific goal of the out-of-band message
To issue a Faber College Graduate credentialA 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
issue-vcHandshake protocol to specify in invitation
Identifier for active mediation record to be used
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}Optional metadata to attach to the connection created with the invitation
Label for connection invitation
Invitation to BarryOOB protocol version
1.1DID to use in invitation
did:example:123DID method to use in invitation
did:peer:2Possible values: Whether to use public DID in invitation
Time of record creation
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|)$Invitation message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Invitation record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Invitation message URL
https://example.com/endpoint?c_i=eyJAdHlwZSI6ICIuLi4iLCAiLi4uIjogIi4uLiJ9XX0=Out of band record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Out of band message exchange state
await_responseRecord trace information, based on agent configuration
Time of last record update
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|)$Alias for connection
{"value":"Barry"}Auto-accept connection (defaults to configuration)
Identifier for active mediation record to be used
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Use an existing connection, if possible
Message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Message type
https://didcomm.org/my-family/1.0/my-message-typeList of mime type in order of preference
["didcomm/aip1","didcomm/aip2;env=rfc19"]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
To issue a Faber College Graduate credentialA 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
issue-vcHandshake protocol
Optional image URL for out-of-band invitation
http://192.168.56.101/img/logo.jpgOptional label
BobConnection record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Connection record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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|)$Invitation message identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Allow for multiple uses of the oob invitation
trueOob record identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Recipient key used for oob invitation
3fa85f64-5717-4562-b3fc-2c963f66afa6OOB Role
receiverPossible values: Out of band message exchange state
await-responsePossible values: Record trace information, based on agent configuration
Time of last record update
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|)$Method for the requested DID.Supported methods are 'key', 'sov', and any other registered method.
sovOptional seed to use for DID, Must be enabled in configuration before use.
000000000000000000000000Trustee1Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)
Human-readable comment
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Holder DID to substitute for the credentialSubject.id
did:key:ahsdkjahsdkjhaskjdhakjshdkajhsdkjahsWhether to trace event (default false)
Issuer choice to issue to request in this credential exchange
Holder choice to accept offer in this credential exchange
Issuer choice to remove this credential exchange record when complete
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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|)$Credential exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Error message
The front fell offIssue-credential exchange initiator: self or external
selfPossible values: Parent thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Issue-credential exchange role: holder or issuer
issuerPossible values: Issue-credential exchange state
donePossible values: Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Maximum number to retrieve
{"value":"1"}Start index
{"value":"0"}(JSON) WQL query
{"value":"{\"attr::name::value\": \"Alex\"}"}Credential context to match
Given credential id to match
Credential issuer identifier to match
Maximum number of results to return
Signature suite used for proof
Schema identifiers, all of which to match
Subject identifiers, all of which to match
Credential type to match
Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Whether to trace event (default false)
Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Whether to remove the presentation exchange record on completion (overrides --preserve-exchange-records configuration setting)
Record trace information, based on agent configuration
Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
Presentation exchange identifier
{"value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}Prover choice to auto-present proof as verifier requests
Verifier choice to remove this presentation exchange record when complete
Verifier choice to auto-verify proof presentation
Connection identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Time of record creation
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 message
Invalid structurePresent-proof exchange initiator: self or external
selfPossible values: Presentation exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Present-proof exchange role: prover or verifier
proverPossible values: Present-proof exchange state
Thread identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Record trace information, based on agent configuration
Time of last record update
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|)$Whether presentation is verified: 'true' or 'false'
truePossible values: Proof verification warning or error information
{
"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"
]
}