Schema Editing through JSON
Schemas can be defined/changed by editing their JSON definitions


Schema JSON definition contains the following editable fields
name β schema name
description β schema description
entity β schema type (NONE, VC, EVC)
fields β schema fields array
key β key (name) of the field
title β field title
description β schema description (visible to the user)
required β field visibility/type (Auto Calculate, Hidden, Required, None)
type β field value tipe (Number, String, Enum, β¦) or the sub-schema reference (#be764ef6-β¦)
isArray β boolean field (true\false) determining whether the field is an array
property β optional field mapping onto the corresponding property from dMRV framework (https://interworkalliance.github.io/TokenTaxonomyFramework/dmrv/spec/)
private β if the field is private (only relevant for βselective disclosureβ EVCs)
enum β array of options, or reference to an array of options
textSize β size of the text (only for Help Text)
textColor β color of the text (only for Help Text)
textBold β if the text is bold (only for Help Text)
pattern β regular expression to format the inputted text (only relevant for Strings)
expression β formula for calculating field values (only for βAuto Calculateβ fields)
unit β fixed Prefix or Postfix (only for Prefix or Postfix)
example β example values for the field
default β default value for the field
suggest β suggested value for the field
conditions β schema name
if β conditions for displaying the fields (only equality is supported)
field β key (name) of the field
value β comparison value for the field value
then β array of fields which is shown when the condition resolves to true (the same format as fields)
else β array of fields which is shown when the condition resolves to false (the same format as fields)
Last updated