Skip to main content
Version: v4 (next)

Render JSON Schema

MOD-CS-QRY-3

Render the full JSON schema definition for a credential schema. The response contains the schema with all template variables (VPR_CREDENTIAL_SCHEMA_ID, VPR_CHAIN_ID) replaced with actual values.

Query Parameters

NameDescriptionMandatory
idID of the credential schema to renderyes

Execute the Query

Usage

veranad q cs render-json-schema [id] --node $NODE_RPC --output json

Example

SCHEMA_ID=1
veranad q cs render-json-schema $SCHEMA_ID --node $NODE_RPC --output json