Skip to main content
Version: Next

DIDDocumentDto

@context object
oneOf
string
idstringrequired
Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
alsoKnownAsstring[]
Example: ["https://example.com/profile"]
controller object
oneOf
string
verificationMethod object[]
  • Array [
  • idstringrequired
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    typestringrequired
    Example: Ed25519VerificationKey2020
    controllerstringrequired
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    publicKeyJwk object
    algstring
    Example: RS256
    crvstring
    Example: P-256
    estring
    Example: AQAB
    extboolean
    Example: false
    key_opsstring[]
    Example: ["sign","verify"]
    kidstring
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    ktystringrequired
    Example: RSA
    nstring
    Example: sample_modulus
    usestring
    Example: sig
    xstring
    Example: sample_x_coordinate
    ystring
    Example: sample_y_coordinate
  • ]
  • service object[]
  • Array [
  • idstringrequired
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    typestringrequired
    Example: LinkedDomains
    serviceEndpoint objectrequired
    oneOf
    string
  • ]
  • publicKey object[]
  • Array [
  • idstringrequired
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    typestringrequired
    Example: Ed25519VerificationKey2020
    controllerstringrequired
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    publicKeyJwk object
    algstring
    Example: RS256
    crvstring
    Example: P-256
    estring
    Example: AQAB
    extboolean
    Example: false
    key_opsstring[]
    Example: ["sign","verify"]
    kidstring
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    ktystringrequired
    Example: RSA
    nstring
    Example: sample_modulus
    usestring
    Example: sig
    xstring
    Example: sample_x_coordinate
    ystring
    Example: sample_y_coordinate
  • ]
  • authentication object[]
  • Array [
  • oneOf
    string
  • ]
  • assertionMethod object[]
  • Array [
  • oneOf
    string
  • ]
  • keyAgreement object[]
  • Array [
  • oneOf
    string
  • ]
  • capabilityInvocation object[]
  • Array [
  • oneOf
    string
  • ]
  • capabilityDelegation object[]
  • Array [
  • oneOf
    string
  • ]
  • DIDDocumentDto
    {
    "@context": "string",
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "alsoKnownAs": [
    "https://example.com/profile"
    ],
    "controller": "string",
    "verificationMethod": [
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "kty": "RSA"
    }
    }
    ],
    "service": [
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "LinkedDomains",
    "serviceEndpoint": "https://example.com"
    }
    ],
    "publicKey": [
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "kty": "RSA"
    }
    }
    ],
    "authentication": [
    "string",
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "alg": "RS256",
    "crv": "P-256",
    "e": "AQAB",
    "ext": false,
    "key_ops": [
    "sign",
    "verify"
    ],
    "kid": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "kty": "RSA",
    "n": "sample_modulus",
    "use": "sig",
    "x": "sample_x_coordinate",
    "y": "sample_y_coordinate"
    }
    }
    ],
    "assertionMethod": [
    "string",
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "alg": "RS256",
    "crv": "P-256",
    "e": "AQAB",
    "ext": false,
    "key_ops": [
    "sign",
    "verify"
    ],
    "kid": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "kty": "RSA",
    "n": "sample_modulus",
    "use": "sig",
    "x": "sample_x_coordinate",
    "y": "sample_y_coordinate"
    }
    }
    ],
    "keyAgreement": [
    "string",
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "alg": "RS256",
    "crv": "P-256",
    "e": "AQAB",
    "ext": false,
    "key_ops": [
    "sign",
    "verify"
    ],
    "kid": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "kty": "RSA",
    "n": "sample_modulus",
    "use": "sig",
    "x": "sample_x_coordinate",
    "y": "sample_y_coordinate"
    }
    }
    ],
    "capabilityInvocation": [
    "string",
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "alg": "RS256",
    "crv": "P-256",
    "e": "AQAB",
    "ext": false,
    "key_ops": [
    "sign",
    "verify"
    ],
    "kid": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "kty": "RSA",
    "n": "sample_modulus",
    "use": "sig",
    "x": "sample_x_coordinate",
    "y": "sample_y_coordinate"
    }
    }
    ],
    "capabilityDelegation": [
    "string",
    {
    "id": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "type": "Ed25519VerificationKey2020",
    "controller": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "publicKeyJwk": {
    "alg": "RS256",
    "crv": "P-256",
    "e": "AQAB",
    "ext": false,
    "key_ops": [
    "sign",
    "verify"
    ],
    "kid": "bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d",
    "kty": "RSA",
    "n": "sample_modulus",
    "use": "sig",
    "x": "sample_x_coordinate",
    "y": "sample_y_coordinate"
    }
    }
    ]
    }