Skip to main content
Version: v0.13.0

PresentationResponseMessage

@contextstring[]required
Example: ["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
typestringrequired
Example: PresentationResponseMessage
presentation object[]required
  • Array [
  • oneOf
    string
  • ]
  • presentationSubmission object
    idstringrequired
    Example: submission-id
    definition_idstringrequired
    Example: definition-id
    descriptor_map object[]required
  • Array [
  • idstringrequired
    Example: desc1
    formatstringrequired
    Example: jwt
    pathstringrequired
    Example: $.credential
    path_nested
    Example: {"id":"desc-nested","format":"jwt","path":"$.nested"}
  • ]
  • PresentationResponseMessage
    {
    "@context": [
    "https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"
    ],
    "type": "PresentationResponseMessage",
    "presentation": [
    "string",
    {
    "@context": {
    "@context": "https://www.w3.org/ns/credentials/v2"
    },
    "type": [
    "VerifiablePresentation"
    ],
    "id": "3f2592da-ffc9-40cb-a336-a9daa9343ce8",
    "verifiableCredential": {
    "@context": [
    "https://www.w3.org/ns/credentials/v2"
    ],
    "type": [
    "VerifiableCredential",
    "TestCredential"
    ],
    "id": "http://example.edu/credentials/1872",
    "credentialSubject": {
    "id": "did:example:subject-1",
    "customProp": "value"
    },
    "issuer": "did:example:issuer",
    "issuanceDate": "2020-01-01T00:00:00Z",
    "expirationDate": "2030-01-01T00:00:00Z",
    "validFrom": "2020-01-01T00:00:00Z",
    "validUntil": "2030-01-01T00:00:00Z",
    "evidence": {
    "type": "DocumentVerification",
    "verifier": "did:example:verifier"
    },
    "credentialStatus": {
    "id": "did:example:credential-status",
    "type": "BitstringStatusListEntry",
    "statusPurpose": "suspension",
    "statusListIndex": "0",
    "statusListCredential": "did:example:status-credential",
    "statusSize": "10",
    "statusMessage": [
    {
    "status": "deadbeef",
    "message": "Status message detail"
    }
    ],
    "statusReference": "https://example.com/status"
    },
    "proof": [
    {
    "type": "DataIntegrityProof",
    "created": "2020-01-01T00:00:00Z",
    "proofPurpose": "assertionMethod",
    "cryptosuite": "eddsa-jcs-2022",
    "proofValue": "",
    "verificationMethod": "did:example:123456#key-1"
    }
    ]
    },
    "proof": [
    {
    "id": "did:example:xyz#proof-1",
    "type": "DataIntegrityProof",
    "proofPurpose": "assertionMethod",
    "verificationMethod": "did:example:author#verificationKey",
    "cryptosuite": "ecdsa-2019",
    "created": "2021-01-01T00:00:00Z",
    "expires": "2022-01-01T00:00:00Z",
    "domain": [
    "example.com"
    ],
    "challenge": "1234567890",
    "proofValue": "ProofValueString",
    "previousProof": [
    "PreviousProof1",
    "PreviousProof2"
    ],
    "nonce": "nonce-string"
    }
    ]
    }
    ],
    "presentationSubmission": {
    "id": "submission-id",
    "definition_id": "definition-id",
    "descriptor_map": []
    }
    }