Type Alias: DidService ​
DidService =
object
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:395
Services are used in DID documents to express ways of communicating with the DID subject or associated entities. A service can be any type of service the DID subject wants to advertise.
See ​
https://www.w3.org/TR/did-core/#services
Extended by ​
Indexable ​
[key: string]: any
Properties ​
id ​
id:
string
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:403
Identifier of the service.
The id property is REQUIRED. It MUST be a URI conforming to RFC3986 and MUST be unique within the DID document.
serviceEndpoint ​
serviceEndpoint:
DidServiceEndpoint|DidServiceEndpoint[]
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:421
A URI that can be used to interact with the DID service.
The value of the serviceEndpoint property MUST be a string, an object containing key/value pairs, or an array composed of strings or objects. All string values MUST be valid URIs conforming to RFC3986.
type ​
type:
string
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:413
The type of service being described.
The type property is REQUIRED. It MUST be a string. To maximize interoperability, the value SHOULD be registered in the DID Specification Registries. Examples of service types can be found in § Service Types.