interface ISigningOpts {
    requireSameFieldsAsSchema: boolean;
}

Properties

requireSameFieldsAsSchema: boolean

Whether the credential should contain exactly the same fields (object keys, array items, literals) as the schema. Providing false for it will result in generation of a new schema to match the credential and that schema will be embedded in the signed credential.