DIDDocumentDto
@context object
oneOf
- string
- array
string
Array [
string
]
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dalsoKnownAsstring[]
Example:
["https://example.com/profile"]controller object
oneOf
- string
- array
string
Array [
string
]
verificationMethod object[]
Array [
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
service object[]
Array [
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
LinkedDomainsserviceEndpoint objectrequired
oneOf
- string
- array
string
Array [
string
]
]
publicKey object[]
Array [
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
authentication object[]
Array [
- string
- VerificationMethodDto
string
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
assertionMethod object[]
Array [
- string
- VerificationMethodDto
string
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
keyAgreement object[]
Array [
- string
- VerificationMethodDto
string
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
capabilityInvocation object[]
Array [
- string
- VerificationMethodDto
string
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
Example:
sample_y_coordinate]
capabilityDelegation object[]
Array [
- string
- VerificationMethodDto
string
idstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dtypestringrequired
Example:
Ed25519VerificationKey2020controllerstringrequired
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dpublicKeyJwk object
algstring
Example:
RS256crvstring
Example:
P-256estring
Example:
AQABextboolean
Example:
falsekey_opsstring[]
Example:
["sign","verify"]kidstring
Example:
bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99dktystringrequired
Example:
RSAnstring
Example:
sample_modulususestring
Example:
sigxstring
Example:
sample_x_coordinateystring
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"
}
}
]
}