specs/vta/shared/v0_2/did_template library

Classes

DidTemplate
Authored template shape: a DID document with {TOKEN} placeholders plus the variable contract the VTA's renderer enforces.
DidTemplateKeysValue
DidTemplateKeysValue, generated from its schema.
DidTemplateRecord
A persisted template. The DidTemplate fields are flattened at the top level alongside the resolved scope and provenance metadata. Same shape returned by get/create/update and carried per-item by list.
DidTemplateRecordKeysValue
DidTemplateRecordKeysValue, generated from its schema.

Extension Types

DidTemplateKeysValueAlgorithmsItem
DidTemplateKeysValueAlgorithmsItem is a closed set of string values defined by this specification's schema.
DidTemplateKeysValuePurpose
What the key is for. Deliberately coarser than DID Core's five verification relationships: the template says what the key is, and the document body says where it appears. Encoding the relationship here as well would let the two disagree.
DidTemplateRecordKeysValueAlgorithmsItem
DidTemplateRecordKeysValueAlgorithmsItem is a closed set of string values defined by this specification's schema.
DidTemplateRecordKeysValuePurpose
What the key is for. Deliberately coarser than DID Core's five verification relationships: the template says what the key is, and the document body says where it appears. Encoding the relationship here as well would let the two disagree.

Typedefs

Scope = Map<String, dynamic>
Where a stored template lives. Tagged by type.