DIDDocumentDto
@context object
oneOf
- MOD1
- MOD2
string
Array [
string
]
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
alsoKnownAsstring[]
Example:
["https://example.com/profile"]
controller object
oneOf
- MOD1
- MOD2
string
Array [
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
- MOD1
- MOD2
string
Array [
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 [
- MOD1
- VerificationMethodDto
string
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
]
assertionMethod object[]
Array [
- MOD1
- VerificationMethodDto
string
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
]
keyAgreement object[]
Array [
- MOD1
- VerificationMethodDto
string
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
]
capabilityInvocation object[]
Array [
- MOD1
- VerificationMethodDto
string
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
]
capabilityDelegation object[]
Array [
- MOD1
- VerificationMethodDto
string
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
]
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"
}
}
]
}