DidRegistrationSpec
@Serializable
Data model for DID Method Registration JSON specification.
Based on the DID Registration specification from https://identity.foundation/did-registration/
This allows DID methods to be registered via JSON files, making it easy to add new method support without writing code.
Example JSON:
{
"name": "example",
"status": "implemented",
"specification": "https://example.com/did-method-spec",
"contact": {
"name": "Example Team",
"email": "contact@example.com"
},
"driver": {
"type": "universal-resolver",
"baseUrl": "https://dev.uniresolver.io",
"protocolAdapter": "standard"
},
"capabilities": {
"create": false,
"resolve": true,
"update": false,
"deactivate": false
}
}Content copied to clipboard
Constructors
Link copied to clipboard
constructor(name: String, status: String? = null, specification: String? = null, contact: ContactInfo? = null, driver: DriverConfig? = null, capabilities: MethodCapabilities? = null, additionalProperties: Map<String, JsonObject> = emptyMap())
Properties
Link copied to clipboard
Additional properties not defined in the spec.
Link copied to clipboard
Capabilities supported by this DID method implementation.
Link copied to clipboard
Contact information for the method maintainers.
Link copied to clipboard
Driver configuration for how to interact with this DID method. This determines how resolution, creation, etc. are handled.
Link copied to clipboard
URL to the full DID method specification document.