DidMethodRegistryEntry

@Serializable
data class DidMethodRegistryEntry(val name: String, val status: String? = null, val specification: String? = null, val contact: ContactInfo? = null, val implementations: List<MethodImplementation> = emptyList(), val additionalProperties: Map<String, JsonObject> = emptyMap())

Data model for DID Method Registry Entry following the official DID Registration specification.

This matches the format used in the DID Method Registry at https://identity.foundation/did-registration/

Official Registry Format:

{
"name": "web",
"status": "implemented",
"specification": "https://w3c-ccg.github.io/did-method-web/",
"contact": {
"name": "W3C CCG",
"email": "contact@example.com",
"url": "https://www.w3.org/community/credentials/"
},
"implementations": [
{
"name": "Universal Resolver",
"driverUrl": "https://dev.uniresolver.io",
"testNet": false
}
]
}

See also

https

://identity.foundation/did-registration/

Constructors

Link copied to clipboard
constructor(name: String, status: String? = null, specification: String? = null, contact: ContactInfo? = null, implementations: List<MethodImplementation> = emptyList(), additionalProperties: Map<String, JsonObject> = emptyMap())

Properties

Link copied to clipboard
val additionalProperties: Map<String, JsonObject>

Additional properties from the registry entry that aren't explicitly defined. This allows the model to accept future registry fields without breaking.

Link copied to clipboard

Contact information for the method maintainers.

Link copied to clipboard

List of implementations available for this DID method. Each implementation typically includes a driverUrl pointing to a resolver service.

Link copied to clipboard

The DID method name (e.g., "web", "key", "ion"). This is the method identifier used in DID strings: did:method:id

Link copied to clipboard

URL to the full DID method specification document.

Link copied to clipboard

Implementation status of the method. Common values: "proposed", "implemented", "deprecated", "withdrawn"