Create document template draft
Creates a new DRAFT credit-instrument document template version for a loan product.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Owning loan product identifier.
Body
Document kind. A loan product owns the CCB clausulado and nothing else: the registry's kind and scope form one closed domain, and the assignment endorsement term is published per fund under /api/v1/assignment/funds/{fundId}/document-templates.
ccb Ordered clauses.
1Signature block text.
Template title.
Placeholder field names this template declares it needs; unioned with the jurisdiction's own minimum catalog at render time (Task 4.5.2).
Response
Created
Whether this is the currently active published version.
Creation timestamp (RFC3339, UTC).
Template version identifier (uuid).
Document kind.
Declared placeholder field names.
Owner identifier (uuid): the loan product or the assignment fund.
Owner kind this template hangs off (loan_product|assignment_fund).
Ordered clauses.
Signature block text.
Lifecycle status (draft|published).
Template title.
Last-update timestamp (RFC3339, UTC).
Sequential version number within (tenant, product, kind).
Owning loan product identifier (uuid); absent on a fund-scoped template.
Publication timestamp (RFC3339, UTC); absent while draft.

