Variable: IdentifierPrepareAuditPayload
constIdentifierPrepareAuditPayload:TObject<{host:TString;identifierId:TString;instanceId:TOptional<TString>;organizationId:TString;reason:TOptional<TUnsafe<"agent-refused">>;version:TInteger; }>
Defined in: packages/contracts/src/schemas/audit-issuance.ts:126
The identifier.prepare payload (step 3.2d): IdentifierAuditPayload's fields,
and reason on a denied record.
reasonis present on adeniedrecord and absent onsuccess. The schema does not tie the two together, as IdentifierPublishAuditPayloadV2 does not: one member ofAuditRecordedcarries both outcomes, and the producer is what keeps the rule;versionon adeniedrecord is the version that was published when the agent refused, so 0 for a first preparation;instanceIdnames the agent that refused, which is the point of a denied record.
Every record that was valid before reason existed still is: the member is optional
and a success record never carries it.