Create Document Requirement
Headers
Request
Required: The lifecycle gate this rule blocks - must be registered for parent_record_type in DocumentGateRegistry - example: estimate.accept | workorder.complete | workorder.bill | invoice.payment
Required: UUID of the library Document required at this gate - converted by ConvertUuidToId middleware - must exist
Optional: Whether an unsatisfied requirement blocks the gate transition - boolean true|false|1|0 - default: true (false = advisory only)
Required: How the document is dispatched - in: auto|manual - auto = Documents listens to the trigger event and auto-sends; manual = staff dispatch from the UI
Required: Morph type / class string of the consuming record the rule applies to - must match a parent_record_type registered in DocumentGateRegistry - example: Modules\Estimate\Models\Estimate or “invoice”

