Skip to main content
Version: v0.10.0

ComplianceRequest

vcIdstringrequired

Unique identifier for the VC

Example: vc-456
clearingHousestringrequired

Clearing house identifier

Example: clearing-house-02
credentials object[]required

An array of verifiable credentials

  • Array [
  • @contextstring[]required

    Possible values: [https://www.w3.org/2018/credentials/v1, https://www.w3.org/ns/credentials/v2, https://w3id.org/security/suites/jws-2020/v1, https://w3id.org/security/data-integrity/v2, string]

    Example: ["https://www.w3.org/2018/credentials/v1"]
    typestring[]required
    Example: ["VerifiableCredential","TestCredential"]
    idstring
    Example: http://example.edu/credentials/1872
    credentialSubject objectrequired
    idstringrequired
    Example: did:example:subject-1
    issuerstringrequired
    Example: did:example:issuer
    issuanceDatestring
    Example: 2020-01-01T00:00:00Z
    expirationDatestring
    Example: 2030-01-01T00:00:00Z
    validFromstring
    Example: 2020-01-01T00:00:00Z
    validUntilstring
    Example: 2030-01-01T00:00:00Z
    evidence object
    property name*any
    Example: {"type":"DocumentVerification","verifier":"did:example:verifier"}
    credentialStatus object
    oneOf
    @contextstring[]required
    Example: ["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
    typestringrequired
    Example: CredentialStatus
    issuerPidstringrequired
    holderPidstringrequired
    statusstringrequired

    Possible values: [RECEIVED, REJECTED, ISSUED]

    proof object[]required
  • Array [
  • typestringrequired

    Possible values: [JsonWebSignature2020, DataIntegrityProof]

    Example: JsonWebSignature2020
    proofPurposestringrequired
    Example: assertionMethod
  • ]
  • ]
  • notestring

    Additional optional note

    Example: Optional compliance note
    ComplianceRequest
    {
    "vcId": "vc-456",
    "clearingHouse": "clearing-house-02",
    "credentials": [
    {
    "credential": "example-credential-1",
    "issuer": "issuer-1"
    },
    {
    "credential": "example-credential-2",
    "issuer": "issuer-2"
    }
    ],
    "note": "Optional compliance note"
    }