DID Document
A DID Document is a set of machine readable metadata like this:
{
"id": "did:example:123456789abcdefghi",
"authentication": [{
"id": "did:example:123456789abcdefghi#keys-1",
"type": "Ed25519VerificationKey2018",
"controller": "did:example:123456789abcdefghi",
"publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
}]
}
This is a super basic example. It calls out the DID subject with the "id" property, and then the DID controller with the "controller" property. In order to obtain this document you would need to resolve the DID URL.
It is best practice to use the minimum amount of information in a DID Document and to remember that the DID Document is a public document. This means it is a bad idea to put sensitive information in the DID Document.