> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.adid.dev/llms.txt.
> For full documentation content, see https://docs.adid.dev/llms-full.txt.

# DID Document Anatomy

**Used in:** §3.1.3 The DID Document Explained, §12.2
**Audience:** Holder (curious), Backend Developer, SC Developer
**IA ID:** D3

```mermaid
graph LR
  classDef root fill:#ede9fe,stroke:#6d28d9
  classDef field fill:#dbeafe,stroke:#1d4ed8
  classDef value fill:#dcfce7,stroke:#15803d

  Root["DID Document"]:::root
  Ctx["@context"]:::field
  ID["id (did:adi:...)"]:::field
  VM["verificationMethod[]"]:::field
  Auth["authentication[]"]:::field
  AM["assertionMethod[]"]:::field
  KA["keyAgreement[]"]:::field
  Svc["service[]"]:::field

  Root --> Ctx
  Root --> ID
  Root --> VM
  Root --> Auth
  Root --> AM
  Root --> KA
  Root --> Svc

  VM --> VMItem["{ id, type=Ed25519VerificationKey2020, controller, publicKeyMultibase }"]:::value
  Svc --> SvcItem["{ id, type=DIDCommMessaging, serviceEndpoint }"]:::value
```

**Reading guide:** This is a structural overview. doc-writer should pair it with an annotated JSON example block in §3.1.3.

***