Interface: BeaconService ​
Defined in: packages/method/src/interfaces/beacon.ts:60
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
Extends ​
Extended by ​
Indexable ​
[key: string]: any
Properties ​
casType? ​
optionalcasType:string
Defined in: packages/method/src/interfaces/beacon.ts:62
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.
Inherited from ​
DidService.id
serviceEndpoint ​
serviceEndpoint:
DidServiceEndpoint
Defined in: packages/method/src/interfaces/beacon.ts:61
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.
Overrides ​
DidService.serviceEndpoint
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.
Inherited from ​
DidService.type