Skip to main content

Parser.getLdPrefixesByJSONSchema() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

GetLdPrefixesByJSONSchema return possible credential types for JSON schema

Signature:

static getLdPrefixesByJSONSchema(schema: string): Promise<Map<string, string>>;

Parameters

ParameterTypeDescription
schemastringJSON schema

Returns:

Promise<Map<string, string>>

Promise<Map<string, string>>