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
Parameter | Type | Description |
---|---|---|
schema | string | JSON schema |
Returns:
Promise<Map<string, string>>
Promise<Map<string, string>>