{"openapi":"3.1.0","info":{"title":"FeraRender API","version":"1.0.0","contact":{"name":"Feradel API Support","url":"https://www.feradel.com/contact"},"description":"FeraRender's public contract for templates, components, datasets, mappings, and PDF, DOCX, and XML output."},"servers":[{"url":"https://api.render.feradel.com","description":"FeraRender production service"},{"url":"http://localhost:11100","description":"Local service"}],"tags":[{"name":"templates","description":"Owner-scoped FeraRender templates administration, validation, compilation, and resolution operations."},{"name":"template-components","description":"Owner-scoped FeraRender template-components administration, validation, compilation, and resolution operations."},{"name":"datasets","description":"Owner-scoped FeraRender datasets administration, validation, compilation, and resolution operations."},{"name":"field-mappings","description":"Owner-scoped FeraRender field-mappings administration, validation, compilation, and resolution operations."},{"name":"Rendering","description":"Authenticated PDF, DOCX, OpenXML, HTML, and XML transformation operations with bounded inputs."}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"authToken":{"type":"apiKey","in":"header","name":"x-auth-token","description":"FeraAuth JWT followed by managed-product and operation-specific render permissions."}},"schemas":{"RenderError":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Render controllers preserve safe stage, conversion, validation, and upstream diagnostic fields.","properties":{"success":{"type":"boolean","const":false,"description":"Indicates rendering or administration failed."},"code":{"type":["string","null"],"description":"Stable stage or service code when available."},"message":{"type":"string","description":"Safe developer-readable failure."},"error":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Safe errors vary by compiler, converter, renderer, or lifecycle stage.","description":"Structured safe stage details."}}},"RenderCommand":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Template, component, dataset, mapping, and render handlers accept resource-specific fields traced to the named operation.","properties":{"uuid":{"type":"string","format":"uuid","description":"Template, component, dataset, or mapping UUID."},"owner":{"type":"string","format":"uuid","description":"Owner UUID used to scope template lookup and rendering."},"name":{"type":"string","description":"Resource or output filename."},"xml":{"type":"string","description":"XML source data supplied to XSLT/template processing."},"xsl":{"type":"string","description":"XSLT source used only by the direct XML transform operation."},"html":{"type":"string","maxLength":10485760,"description":"Self-contained sanitized HTML; executable/external content is forbidden."},"metadata":{"type":"boolean","description":"When true, DOCX returns JSON/base64 metadata instead of binary attachment."},"package":{"type":"string","maxLength":20971520,"description":"Literal OpenXML package manifest with safe required parts and no executable/external content."}}},"RenderResult":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Administrative and compilation operations return resource-specific template, dataset, mapping, validation, tree, and compilation fields.","properties":{"success":{"type":"boolean","description":"Whether the operation completed."},"uuid":{"type":"string","format":"uuid","description":"Affected render resource UUID."},"name":{"type":"string","description":"Output or resource name."},"contentType":{"type":"string","description":"Media type of the base64 output."},"contentBase64":{"type":"string","format":"byte","description":"Base64-encoded PDF or DOCX bytes."},"Base64":{"type":"string","format":"byte","description":"Legacy base64 PDF field."},"result":{"type":"string","description":"Serialized direct XSLT transformation result."},"items":{"type":"array","items":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Items are source-serialized templates, components, datasets, or mappings."},"description":"Ordered render administration resources."}}},"LifecycleEvent":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"FeraLicense lifecycle version 1 carries event-specific plan, settings, and correlation fields.","required":["eventType","data"],"properties":{"eventType":{"type":"string","description":"Exact lifecycle type."},"eventVersion":{"type":"integer","const":1,"description":"Lifecycle contract version."},"eventId":{"type":"string","format":"uuid","description":"Idempotent event UUID."},"data":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Lifecycle data is owned by FeraLicense and selected by eventType.","description":"FeraRender lifecycle data."}}},"TemplateMutation":{"type":"object","additionalProperties":false,"properties":{"owner":{"type":"string","format":"uuid","description":"Template owner; defaults to the authenticated user/instance context."},"category":{"type":"string","description":"Template category."},"name":{"type":"string","description":"Owner-scoped template name."},"caption":{"type":"string","description":"Display caption."},"fileName":{"type":"string","description":"Suggested output filename."},"meta":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Template metadata is feature-owned and stored as supplied.","description":"Template metadata is feature-owned and stored as supplied."},"output":{"type":"string","description":"Output mode such as PDF or DOCX package."},"content":{"type":"string","description":"Template source content."},"mode":{"type":"string","enum":["FULL","COMPOSITE"],"description":"Full source or component-composed template mode."},"datasetUuid":{"type":["string","null"],"format":"uuid","description":"Optional dataset definition."},"basePackageUuid":{"type":["string","null"],"format":"uuid","description":"Optional base OpenXML package component."},"bodyComponentUuid":{"type":["string","null"],"format":"uuid","description":"Optional body component."}}},"TemplateResourceMutation":{"type":"object","additionalProperties":false,"required":["template","name","content"],"properties":{"template":{"type":"string","format":"uuid","description":"Owning template UUID."},"name":{"type":"string","description":"Resource filename."},"content":{"type":"string","format":"byte","description":"Base64 resource bytes."}}},"TemplateRegisterRequest":{"type":"object","additionalProperties":false,"properties":{"uuid":{"type":"string","format":"uuid","description":"Source template UUID; path UUID takes precedence."},"parentUuid":{"type":"string","format":"uuid","description":"Legacy alias for the source template UUID."},"name":{"type":"string","description":"Unique name for the registered copy."},"caption":{"type":"string","description":"Caption for the registered copy."}}},"TemplateRenderRequest":{"type":"object","additionalProperties":false,"required":["xml"],"properties":{"owner":{"type":"string","format":"uuid","description":"Template owner; defaults to authenticated identity."},"uuid":{"type":"string","format":"uuid","description":"Template UUID; provide UUID or name."},"name":{"type":"string","description":"Template name; provide name or UUID."},"xml":{"type":"string","description":"XML source data."},"metadata":{"type":"boolean","description":"For DOCX, return JSON/base64 metadata instead of binary."},"asPdf":{"type":"boolean","description":"For DOCX, request PDF conversion when supported."}}},"HtmlPdfRequest":{"type":"object","additionalProperties":false,"required":["html"],"properties":{"html":{"type":"string","maxLength":10485760,"description":"Self-contained HTML without executable or external content."},"name":{"type":"string","description":"Sanitized output filename; `.pdf` is added when absent."}}},"XmlTransformRequest":{"type":"object","additionalProperties":false,"required":["xml","xsl"],"properties":{"xml":{"type":"string","description":"XML source document."},"xsl":{"type":"string","description":"XSLT stylesheet compiled for this request."}}},"DocxPackageRequest":{"type":"object","additionalProperties":false,"required":["package"],"properties":{"package":{"type":"string","maxLength":20971520,"description":"Literal OpenXML manifest with 4-80 safe non-executable parts."},"content":{"type":"string","maxLength":20971520,"description":"Legacy alias for package."},"xml":{"type":"string","description":"XML source data; defaults to `<data/>`."},"name":{"type":"string","description":"Sanitized DOCX filename."}}},"DatasetMutation":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Owner-scoped dataset name."},"caption":{"type":"string","description":"Display caption."},"description":{"type":"string","description":"Developer description."},"rootPath":{"type":"string","description":"Root path used by dataset tree consumers."},"active":{"type":"boolean","description":"Whether the dataset is selectable."},"schema":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Dataset schema is user-authored JSON and recursively variable.","description":"Dataset schema is user-authored JSON and recursively variable."},"sampleData":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Sample data follows the user-authored dataset schema.","description":"Sample data follows the user-authored dataset schema."}}},"DatasetInferRequest":{"type":"object","additionalProperties":false,"required":["sampleData"],"properties":{"sampleData":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Inference accepts arbitrary representative JSON data.","description":"Inference accepts arbitrary representative JSON data."}}},"MappingMutation":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"The FieldMapping persistence model accepts stable mapping attributes in addition to placeholder and XPath.","required":["placeholder","xpath"],"properties":{"placeholder":{"type":"string","description":"Source placeholder normalized for owner-scoped lookup."},"xpath":{"type":"string","description":"Absolute XPath or supported function expression."}}},"MappingResolveRequest":{"type":"object","additionalProperties":false,"properties":{"placeholder":{"type":"string","description":"One placeholder to resolve."},"placeholders":{"type":"array","items":{"type":"string"},"description":"Ordered placeholders to resolve."}}},"LifecycleAcknowledgment":{"type":"object","additionalProperties":true,"x-additionalProperties-reason":"Lifecycle result fields differ across provisioning, settings, deprovisioning, and failure outcomes.","required":["eventId","eventType","eventVersion","correlationId","licenseProductId","productInstanceId"],"properties":{"eventId":{"type":"string","format":"uuid","description":"New acknowledgment UUID."},"eventType":{"type":"string","enum":["product.provisioning.completed","product.provisioning.failed","product.settings.applied","product.settings.failed","product.deprovisioning.completed","product.deprovisioning.failed"],"description":"Lifecycle completion or failure type."},"eventVersion":{"type":"integer","const":1,"description":"Acknowledgment version."},"correlationId":{"type":"string","format":"uuid","description":"Source-event correlation UUID."},"licenseProductId":{"type":"string","format":"uuid","description":"Licensed product UUID."},"productInstanceId":{"type":"string","format":"uuid","description":"FeraRender product instance UUID."}}}},"parameters":{"RenderInstance":{"name":"instance","in":"header","required":true,"description":"FeraRender product instance UUID associated with the FeraAuth credentials.","schema":{"type":"string","format":"uuid"}}},"responses":{"RenderDocumentQuotaExceeded":{"description":"The workspace has reached its document limit for the current usage period.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"error":{"code":"product_limit_exceeded"}}}}},"RenderTemplateQuotaExceeded":{"description":"The workspace has reached its saved-template limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"error":{"code":"product_limit_exceeded"}}}}},"RenderEntitlementsUnavailable":{"description":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"error":{"code":"product_entitlements_unavailable"}}}}}}},"paths":{"/api/v1/templates":{"post":{"operationId":"render_post_templates","summary":"POST controller.createOrUpdate","description":"Implements controller.createOrUpdate in routes/api/v1/template/routes.js:8. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateMutation"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","caption":"Invoice","output":"PDF","content":"<xsl:stylesheet version=\"1.0\"/>","mode":"FULL"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderTemplateQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.createOrUpdate"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its saved-template limit.","retryable":false,"developerAction":"Delete a saved template or upgrade the workspace. Editing a saved template does not consume a new slot."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]},"get":{"operationId":"render_get_templates","summary":"GET controller.get","description":"Implements controller.get in routes/api/v1/template/routes.js:21. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.get"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/resource":{"post":{"operationId":"render_post_templatesResource","summary":"POST controller.resourceCreateOrUpdate","description":"Implements controller.resourceCreateOrUpdate in routes/api/v1/template/routes.js:9. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateResourceMutation"},"example":{"template":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"logo.png","content":"iVBORw0KGgo="}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.resourceCreateOrUpdate"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates/resource' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/r/i/{uuid}":{"post":{"operationId":"render_post_templatesRIUuid}","summary":"POST controller.register","description":"Implements controller.register in routes/api/v1/template/routes.js:10. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRegisterRequest"},"example":{"name":"INVOICE_COPY","caption":"Invoice copy"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderTemplateQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.register"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates/r/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its saved-template limit.","retryable":false,"developerAction":"Delete a saved template or upgrade the workspace. Editing a saved template does not consume a new slot."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}/compile":{"post":{"operationId":"render_post_templatesIUuidCompile","summary":"POST controller.compile","description":"Implements controller.compile in routes/api/v1/template/routes.js:11. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRenderRequest"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.compile"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/compile' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}/scan":{"post":{"operationId":"render_post_templatesIUuidScan","summary":"POST controller.scan","description":"Implements controller.scan in routes/api/v1/template/routes.js:12. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRenderRequest"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.scan"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/scan' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}/validate":{"post":{"operationId":"render_post_templatesIUuidValidate","summary":"POST controller.validate","description":"Implements controller.validate in routes/api/v1/template/routes.js:13. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRenderRequest"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.validate"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/validate' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}/assignments":{"put":{"operationId":"render_put_templatesIUuidAssignments","summary":"PUT controller.replaceAssignments","description":"Implements controller.replaceAssignments in routes/api/v1/template/routes.js:14. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Source-traced JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderCommand"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.replaceAssignments"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request PUT \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/assignments' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_get_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]},"get":{"operationId":"render_get_templatesIUuidAssignments","summary":"GET controller.assignments","description":"Implements controller.assignments in routes/api/v1/template/routes.js:18. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.assignments"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/assignments' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesG","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/g":{"get":{"operationId":"render_get_templatesG","summary":"GET controller.global","description":"Implements controller.global in routes/api/v1/template/routes.js:16. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.global"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates/g' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}":{"get":{"operationId":"render_get_templatesIUuid}","summary":"GET controller.get","description":"Implements controller.get in routes/api/v1/template/routes.js:17. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.get"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG"],"x-feradel-webhook-events":[]},"delete":{"operationId":"render_delete_templatesIUuid}","summary":"DELETE controller.destroy","description":"Implements controller.destroy in routes/api/v1/template/routes.js:23. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.destroy"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request DELETE \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG"],"x-feradel-webhook-events":[]}},"/api/v1/templates/i/{uuid}/compilation":{"get":{"operationId":"render_get_templatesIUuidCompilation","summary":"GET controller.compilation","description":"Implements controller.compilation in routes/api/v1/template/routes.js:19. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.compilation"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/compilation' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG"],"x-feradel-webhook-events":[]}},"/api/v1/templates/n/{name}":{"get":{"operationId":"render_get_templatesNName}","summary":"GET controller.get","description":"Implements controller.get in routes/api/v1/template/routes.js:20. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["templates"],"parameters":[{"name":"name","in":"path","required":true,"description":"Exact owner-scoped resource name.","schema":{"type":"string"},"example":"INVOICE"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template/routes.js","handler":"controller.get"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/templates/n/INVOICE' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templates","render_get_templates","render_post_templatesResource","render_post_templatesRIUuid}","render_post_templatesIUuidCompile","render_post_templatesIUuidScan","render_post_templatesIUuidValidate","render_put_templatesIUuidAssignments","render_get_templatesIUuidAssignments","render_get_templatesG"],"x-feradel-webhook-events":[]}},"/api/v1/template-components/validate":{"post":{"operationId":"render_post_templateComponentsValidate","summary":"POST controller.validate","description":"Implements controller.validate in routes/api/v1/template-component/routes.js:6. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Source-traced JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderCommand"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.validate"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/template-components/validate' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE; RENDER.NATIVE for native formats.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponents","render_get_templateComponents","render_get_templateComponentsIUuid}","render_put_templateComponentsIUuid}","render_delete_templateComponentsIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/template-components":{"post":{"operationId":"render_post_templateComponents","summary":"POST controller.create","description":"Implements controller.create in routes/api/v1/template-component/routes.js:7. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Source-traced JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderCommand"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.create"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/template-components' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponentsValidate","render_get_templateComponents","render_get_templateComponentsIUuid}","render_put_templateComponentsIUuid}","render_delete_templateComponentsIUuid}"],"x-feradel-webhook-events":[]},"get":{"operationId":"render_get_templateComponents","summary":"GET controller.list","description":"Implements controller.list in routes/api/v1/template-component/routes.js:8. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.list"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/template-components' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponentsValidate","render_post_templateComponents","render_get_templateComponentsIUuid}","render_put_templateComponentsIUuid}","render_delete_templateComponentsIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/template-components/i/{uuid}":{"get":{"operationId":"render_get_templateComponentsIUuid}","summary":"GET controller.get","description":"Implements controller.get in routes/api/v1/template-component/routes.js:9. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.get"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/template-components/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponentsValidate","render_post_templateComponents","render_get_templateComponents","render_put_templateComponentsIUuid}","render_delete_templateComponentsIUuid}"],"x-feradel-webhook-events":[]},"put":{"operationId":"render_put_templateComponentsIUuid}","summary":"PUT controller.update","description":"Implements controller.update in routes/api/v1/template-component/routes.js:10. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Source-traced JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderCommand"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.update"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request PUT \\\n  --url 'https://api.render.feradel.com/api/v1/template-components/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponentsValidate","render_post_templateComponents","render_get_templateComponents","render_get_templateComponentsIUuid}","render_delete_templateComponentsIUuid}"],"x-feradel-webhook-events":[]},"delete":{"operationId":"render_delete_templateComponentsIUuid}","summary":"DELETE controller.destroy","description":"Implements controller.destroy in routes/api/v1/template-component/routes.js:11. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["template-components"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/template-component/routes.js","handler":"controller.destroy"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request DELETE \\\n  --url 'https://api.render.feradel.com/api/v1/template-components/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_templateComponentsValidate","render_post_templateComponents","render_get_templateComponents","render_get_templateComponentsIUuid}","render_put_templateComponentsIUuid}"],"x-feradel-webhook-events":[]}},"/api/v1/datasets":{"post":{"operationId":"render_post_datasets","summary":"Create or process datasets","description":"Implements s.save in routes/api/v1/dataset/routes.js:3. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetMutation"},"example":{"name":"invoice","rootPath":"/invoice","active":true,"schema":{"type":"object"},"sampleData":{"number":"INV-1001"}}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.save"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/datasets' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]},"get":{"operationId":"render_get_datasets","summary":"Get datasets","description":"Implements s.list in routes/api/v1/dataset/routes.js:3. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.list"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/datasets' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]}},"/api/v1/datasets/i/{uuid}":{"get":{"operationId":"render_get_datasetsIUuid}","summary":"Get datasets i uuid","description":"Implements s.get in routes/api/v1/dataset/routes.js:3. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.get"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]},"put":{"operationId":"render_put_datasetsIUuid}","summary":"Update datasets i uuid","description":"Implements s.save in routes/api/v1/dataset/routes.js:3. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetMutation"},"example":{"name":"invoice","rootPath":"/invoice","active":true,"schema":{"type":"object"},"sampleData":{"number":"INV-1001"}}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.save"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request PUT \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_get_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]},"delete":{"operationId":"render_delete_datasetsIUuid}","summary":"DELETE s.destroy","description":"Implements s.destroy in routes/api/v1/dataset/routes.js:3. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.destroy"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request DELETE \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]}},"/api/v1/datasets/i/{uuid}/tree":{"get":{"operationId":"render_get_datasetsIUuidTree","summary":"Get datasets i uuid tree","description":"Implements s.tree in routes/api/v1/dataset/routes.js:4. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.tree"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/tree' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_post_datasetsIUuidValidate","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]}},"/api/v1/datasets/i/{uuid}/validate":{"post":{"operationId":"render_post_datasetsIUuidValidate","summary":"POST s.validate","description":"Implements s.validate in routes/api/v1/dataset/routes.js:4. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Source-traced JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderCommand"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.validate"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/validate' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidInfer"],"x-feradel-webhook-events":[]}},"/api/v1/datasets/i/{uuid}/infer":{"post":{"operationId":"render_post_datasetsIUuidInfer","summary":"POST s.infer","description":"Implements s.infer in routes/api/v1/dataset/routes.js:4. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["datasets"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetInferRequest"},"example":{"sampleData":{"invoice":{"number":"INV-1001","total":125.5}}}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/dataset/routes.js","handler":"s.infer"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/datasets/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df/infer' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_datasets","render_get_datasets","render_get_datasetsIUuid}","render_put_datasetsIUuid}","render_delete_datasetsIUuid}","render_get_datasetsIUuidTree","render_post_datasetsIUuidValidate"],"x-feradel-webhook-events":[]}},"/api/v1/field-mappings":{"get":{"operationId":"render_get_fieldMappings","summary":"Get field mappings","description":"Implements s.list in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.list"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request GET \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires VIEW.TEMPLATE (some direct dataset lookup/tree methods rely on authenticated owner scoping without a separate permission call).","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_post_fieldMappings","render_put_fieldMappingsIUuid}","render_delete_fieldMappingsIUuid}","render_post_fieldMappingsResolve","render_post_fieldMappingsSuggest"],"x-feradel-webhook-events":[]},"post":{"operationId":"render_post_fieldMappings","summary":"Create or process field mappings","description":"Implements s.save in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingMutation"},"example":{"placeholder":"invoice.number","xpath":"/invoice/number"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.save"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_fieldMappings","render_put_fieldMappingsIUuid}","render_delete_fieldMappingsIUuid}","render_post_fieldMappingsResolve","render_post_fieldMappingsSuggest"],"x-feradel-webhook-events":[]}},"/api/v1/field-mappings/i/{uuid}":{"put":{"operationId":"render_put_fieldMappingsIUuid}","summary":"Update field mappings i uuid","description":"Implements s.save in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingMutation"},"example":{"placeholder":"invoice.number","xpath":"/invoice/number"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.save"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request PUT \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_fieldMappings","render_post_fieldMappings","render_delete_fieldMappingsIUuid}","render_post_fieldMappingsResolve","render_post_fieldMappingsSuggest"],"x-feradel-webhook-events":[]},"delete":{"operationId":"render_delete_fieldMappingsIUuid}","summary":"DELETE s.destroy","description":"Implements s.destroy in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"name":"uuid","in":"path","required":true,"description":"UUID required by the uuid route segment.","schema":{"type":"string","format":"uuid"},"example":"715c9ebb-0470-11f1-a928-0ed2cd1b87df"},{"$ref":"#/components/parameters/RenderInstance"}],"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.destroy"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request DELETE \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings/i/715c9ebb-0470-11f1-a928-0ed2cd1b87df' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\""}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_fieldMappings","render_post_fieldMappings","render_put_fieldMappingsIUuid}","render_post_fieldMappingsResolve","render_post_fieldMappingsSuggest"],"x-feradel-webhook-events":[]}},"/api/v1/field-mappings/resolve":{"post":{"operationId":"render_post_fieldMappingsResolve","summary":"POST s.resolve","description":"Implements s.resolve in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingResolveRequest"},"example":{"placeholders":["invoice.number","invoice.total"]}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.resolve"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings/resolve' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_fieldMappings","render_post_fieldMappings","render_put_fieldMappingsIUuid}","render_delete_fieldMappingsIUuid}","render_post_fieldMappingsSuggest"],"x-feradel-webhook-events":[]}},"/api/v1/field-mappings/suggest":{"post":{"operationId":"render_post_fieldMappingsSuggest","summary":"POST s.resolve","description":"Implements s.resolve in routes/api/v1/field-mapping/routes.js:2. The authenticated administration boundary enforces owner/product permission and maintains source-traced templates, components, datasets, mappings, assignments, validation, and compilation state.","tags":["field-mappings"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingResolveRequest"},"example":{"placeholders":["invoice.number","invoice.total"]}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/field-mapping/routes.js","handler":"s.resolve"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/field-mappings/suggest' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires EDIT.TEMPLATE.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Persistence queries bind records to the instance/owner UUID; identifiers from another owner return not found."},"x-feradel-related-operations":["render_get_fieldMappings","render_post_fieldMappings","render_put_fieldMappingsIUuid}","render_delete_fieldMappingsIUuid}","render_post_fieldMappingsResolve"],"x-feradel-webhook-events":[]}},"/api/v1/pdf/document":{"post":{"operationId":"render_post_pdfDocument","summary":"POST controller.make","description":"Implements controller.make in routes/api/v1/pdf.document/routes.js:9. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"type":"object","required":["owner","xml"],"anyOf":[{"required":["uuid"]},{"required":["name"]}],"properties":{"owner":{"type":"string","format":"uuid"},"uuid":{"type":"string","format":"uuid"},"name":{"type":"string"},"xml":{"type":"string"}}},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"b0086f1f-bad6-4b2d-9c45-5785a0cc4b77","xml":"<invoice><number>INV-1001</number></invoice>"}}}},"responses":{"200":{"description":"Receives a JSON string containing the generated PDF encoded as base64.","content":{"application/json":{"schema":{"type":"string","contentEncoding":"base64","contentMediaType":"application/pdf"},"example":"JVBERi0xLjQKZmljdGlvbmFs"}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"502":{"description":"The PDF renderer did not return a valid document.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"error":{"code":"PDF_RENDERER_FAILURE","message":"The PDF renderer did not return a valid document.","status":502}}}}},"503":{"description":"The PDF renderer did not respond in time. The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"examples":{"serviceUnavailable":{"value":{"success":false,"error":{"code":"PDF_RENDERER_TIMEOUT","message":"The PDF renderer did not respond in time.","status":503}}},"entitlementUnavailable":{"value":{"success":false,"error":{"code":"product_entitlements_unavailable"}}}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/pdf.document/routes.js","handler":"controller.make"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/pdf/document' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"b0086f1f-bad6-4b2d-9c45-5785a0cc4b77\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"Receives a JSON string containing the generated PDF encoded as base64.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":502,"condition":"The PDF renderer did not return a valid document.","retryable":true,"developerAction":"Retry with bounded backoff once the renderer is healthy."},{"status":503,"condition":"The PDF renderer did not respond in time. The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Retry with bounded backoff once the renderer is healthy. For product_entitlements_unavailable, check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/pdf/html":{"post":{"operationId":"render_post_pdfHtml","summary":"POST controller.make","description":"Implements controller.make in routes/api/v1/pdf.html/routes.js:6. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlPdfRequest"},"example":{"html":"<!doctype html><html><body><h1>Quarterly report</h1></body></html>","name":"quarterly-report.pdf"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"502":{"description":"The PDF renderer returned an empty document.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/pdf.html/routes.js","handler":"controller.make"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/pdf/html' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"html\":\"<!doctype html><html><body><h1>Quarterly report</h1></body></html>\",\"name\":\"quarterly-report.pdf\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":502,"condition":"The PDF renderer returned an empty document.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfFormsFields","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/pdf/forms/fields":{"post":{"operationId":"render_post_pdfFormsFields","summary":"POST controller.fields","description":"Implements controller.fields in routes/api/v1/pdf.forms/routes.js:20. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"type":"object","properties":{"owner":{"type":"string","format":"uuid"},"uuid":{"type":"string","format":"uuid"},"name":{"type":"string"},"form":{"type":"string","contentEncoding":"base64"},"pdf":{"type":"string","contentEncoding":"base64"}}},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"INVOICE_FORM"}}}},"responses":{"200":{"description":"Field discovery result. An empty inventory returns success false.","content":{"application/json":{"schema":{"type":"object","required":["success","fields"],"properties":{"success":{"type":"boolean"},"fields":{"description":"Field inventory returned by the PDF form renderer."}}},"example":{"success":false,"fields":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/pdf.forms/routes.js","handler":"controller.fields"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/pdf/forms/fields' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE_FORM\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"Field discovery result. An empty inventory returns success false.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/pdf/forms":{"post":{"operationId":"render_post_pdfForms","summary":"POST controller.make","description":"Implements controller.make in routes/api/v1/pdf.forms/routes.js:33. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"type":"object","required":["owner","xml"],"anyOf":[{"required":["uuid"]},{"required":["name"]}],"properties":{"owner":{"type":"string","format":"uuid","description":"Template owner; defaults to authenticated identity."},"uuid":{"type":"string","format":"uuid","description":"Template UUID; provide UUID or name."},"name":{"type":"string","description":"Template name; provide name or UUID."},"xml":{"type":"string","description":"XML source data."},"contentType":{"type":"string","enum":["application/pdf","application/json"],"default":"application/pdf"}}},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"b0086f1f-bad6-4b2d-9c45-5785a0cc4b77","xml":"<invoice><number>INV-1001</number></invoice>","contentType":"application/json"}}}},"responses":{"200":{"description":"Filled PDF bytes when PDF is requested, otherwise JSON with Base64 PDF.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"Base64":"JVBERi0xLjQKZmljdGlvbmFs"}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"406":{"description":"Requested response content type is unsupported.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"502":{"description":"The PDF fill renderer returned no usable document.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/pdf.forms/routes.js","handler":"controller.make"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/pdf/forms' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"b0086f1f-bad6-4b2d-9c45-5785a0cc4b77\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\",\"contentType\":\"application/json\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"Filled PDF bytes when PDF is requested, otherwise JSON with Base64 PDF.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":406,"condition":"Requested response content type is unsupported.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":502,"condition":"The PDF fill renderer returned no usable document.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/pdf/docx/docx/pdf":{"post":{"operationId":"render_post_pdfDocxDocxPdf","summary":"POST controller.docxToPdf","description":"Implements controller.docxToPdf in routes/api/v1/pdf.docx/routes.js:8. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"DOCX multipart conversion upload.","content":{"multipart/form-data":{"schema":{"type":"object","additionalProperties":false,"required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"DOCX file to convert; global upload middleware limits files to 50 MiB."}}},"example":{"file":"<binary DOCX contents>"}}}},"responses":{"200":{"description":"Converted PDF attachment.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}},"headers":{"Content-Disposition":{"description":"Sanitized PDF output filename.","schema":{"type":"string"},"example":"attachment; filename=\"agreement.pdf\""},"X-Conversion-Engine":{"description":"Converter engine identifier when supplied.","schema":{"type":"string"}},"X-Conversion-Engine-Version":{"description":"Converter engine version when supplied.","schema":{"type":"string"}}}},"400":{"description":"Upload or DOCX validation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"Authentication failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER or product access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"422":{"description":"DOCX conversion input is unsupported or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Unexpected conversion failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"502":{"description":"The isolated conversion process failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/pdf.docx/routes.js","handler":"controller.docxToPdf"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/pdf/docx/docx/pdf' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --form 'file=@./agreement.docx;type=application/vnd.openxmlformats-officedocument.wordprocessingml.document'"}],"x-feradel-status-matrix":[{"status":200,"condition":"Converted PDF attachment.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Upload or DOCX validation failed.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"Authentication failed.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER or product access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":422,"condition":"DOCX conversion input is unsupported or invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Unexpected conversion failure.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":502,"condition":"The isolated conversion process failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfForms","render_post_docxPackage","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/docx/package":{"post":{"operationId":"render_post_docxPackage","summary":"POST controller.makePackage","description":"Implements controller.makePackage in routes/api/v1/docx/routes.js:9. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocxPackageRequest"},"example":{"package":"<root><file name=\"[Content_Types].xml\" folder=\"\" transform=\"false\"><Types xmlns=\"http://schemas.openxmlformats.org/package/2006/content-types\"><Default Extension=\"rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\"/><Default Extension=\"xml\" ContentType=\"application/xml\"/><Override PartName=\"/word/document.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\"/></Types></file>\n<file name=\".rels\" folder=\"_rels\" transform=\"false\"><Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\"><Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"word/document.xml\"/></Relationships></file>\n<file name=\"document.xml\" folder=\"word\" transform=\"false\"><w:document xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"><w:body><w:p><w:r><w:t>Northstar Studio — Alex Rivera — DEMO-1042</w:t></w:r></w:p><w:sectPr/></w:body></w:document></file>\n<file name=\"document.xml.rels\" folder=\"word/_rels\" transform=\"false\"><Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\"/></file></root>","name":"Agreement.docx"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"name":"Agreement.docx","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/docx/routes.js","handler":"controller.makePackage"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/docx/package' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"package\":\"<root><file name=\\\"[Content_Types].xml\\\" folder=\\\"\\\" transform=\\\"false\\\"><Types xmlns=\\\"http://schemas.openxmlformats.org/package/2006/content-types\\\"><Default Extension=\\\"rels\\\" ContentType=\\\"application/vnd.openxmlformats-package.relationships+xml\\\"/><Default Extension=\\\"xml\\\" ContentType=\\\"application/xml\\\"/><Override PartName=\\\"/word/document.xml\\\" ContentType=\\\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\\\"/></Types></file>\\n<file name=\\\".rels\\\" folder=\\\"_rels\\\" transform=\\\"false\\\"><Relationships xmlns=\\\"http://schemas.openxmlformats.org/package/2006/relationships\\\"><Relationship Id=\\\"rId1\\\" Type=\\\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\\\" Target=\\\"word/document.xml\\\"/></Relationships></file>\\n<file name=\\\"document.xml\\\" folder=\\\"word\\\" transform=\\\"false\\\"><w:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"><w:body><w:p><w:r><w:t>Northstar Studio — Alex Rivera — DEMO-1042</w:t></w:r></w:p><w:sectPr/></w:body></w:document></file>\\n<file name=\\\"document.xml.rels\\\" folder=\\\"word/_rels\\\" transform=\\\"false\\\"><Relationships xmlns=\\\"http://schemas.openxmlformats.org/package/2006/relationships\\\"/></file></root>\",\"name\":\"Agreement.docx\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docx","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/docx":{"post":{"operationId":"render_post_docx","summary":"POST controller.make","description":"Implements controller.make in routes/api/v1/docx/routes.js:11. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRenderRequest"},"example":{"owner":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","xml":"<invoice><number>INV-1001</number></invoice>","metadata":true}}}},"responses":{"200":{"description":"DOCX attachment by default, or JSON/base64 metadata when metadata=true.","content":{"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"schema":{"type":"string","format":"binary"}},"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"name":"Agreement.docx","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","contentBase64":"UEsDBBQAAAAIZmljdGlvbmFs"}}},"headers":{"Content-Disposition":{"description":"Attachment filename for binary mode.","schema":{"type":"string"},"example":"attachment; filename=\"Agreement.docx\""}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/docx/routes.js","handler":"controller.make"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/docx' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"owner\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"uuid\":\"715c9ebb-0470-11f1-a928-0ed2cd1b87df\",\"name\":\"INVOICE\",\"xml\":\"<invoice><number>INV-1001</number></invoice>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"DOCX attachment by default, or JSON/base64 metadata when metadata=true.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The handler requires CAN.RENDER.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_xml"],"x-feradel-webhook-events":[]}},"/api/v1/xml":{"post":{"operationId":"render_post_xml","summary":"POST controller.make","description":"Implements controller.make in routes/api/v1/xml/routes.js:8. The authenticated render boundary enforces CAN.RENDER, validates bounded safe source content, and returns only the documented binary or base64 representation without exposing renderer credentials.","tags":["Rendering"],"parameters":[{"$ref":"#/components/parameters/RenderInstance"}],"requestBody":{"required":true,"description":"Operation-specific JSON command.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XmlTransformRequest"},"example":{"xml":"<data><name>Avery</name></data>","xsl":"<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"/>"}}}},"responses":{"200":{"description":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResult"},"example":{"success":true,"uuid":"715c9ebb-0470-11f1-a928-0ed2cd1b87df","name":"report.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQKZmljdGlvbmFs","result":"<result>Avery</result>","items":[]}}}},"400":{"description":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"401":{"description":"The x-auth-token or lifecycle HMAC is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"403":{"description":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"404":{"description":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"429":{"$ref":"#/components/responses/RenderDocumentQuotaExceeded"},"500":{"description":"Compilation, transformation, persistence, archive, or internal processing failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderError"},"example":{"success":false,"message":"The render operation could not be completed.","error":{"stage":"validation"}}}}},"503":{"$ref":"#/components/responses/RenderEntitlementsUnavailable"}},"security":[{"authToken":[]}],"x-feradel-classification":"administrative","x-feradel-source":{"route":"routes/api/v1/xml/routes.js","handler":"controller.make"},"x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl --request POST \\\n  --url 'https://api.render.feradel.com/api/v1/xml' \\\n  --header \"x-auth-token: $FERA_AUTH_TOKEN\" \\\n  --header \"instance: $FERA_RENDER_INSTANCE\" \\\n  --header 'content-type: application/json' \\\n  --data '{\"xml\":\"<data><name>Avery</name></data>\",\"xsl\":\"<xsl:stylesheet version=\\\"1.0\\\" xmlns:xsl=\\\"http://www.w3.org/1999/XSL/Transform\\\"><xsl:template match=\\\"/\\\"><result><xsl:value-of select=\\\"data/name\\\"/></result></xsl:template></xsl:stylesheet>\"}'"}],"x-feradel-status-matrix":[{"status":200,"condition":"The source-traced Render handler completed and returned its resource, validation, compilation, transformation, or base64 document representation.","retryable":false,"developerAction":"Consume the returned resource or document representation."},{"status":400,"condition":"Validation, XML/XSLT/HTML/package safety, mapping, or required-field rules rejected the request.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":401,"condition":"The x-auth-token or lifecycle HMAC is invalid.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":403,"condition":"CAN.RENDER, edit permission, managed-product, owner, or lifecycle sender access is missing.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":404,"condition":"The owner-scoped template, component, dataset, mapping, or compilation was not found.","retryable":false,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":429,"condition":"The workspace has reached its document limit for the current usage period.","retryable":false,"developerAction":"Wait for the next UTC calendar month on Free or the next confirmed billing period on paid plans, or upgrade the workspace."},{"status":500,"condition":"Compilation, transformation, persistence, archive, or internal processing failed.","retryable":true,"developerAction":"Correct input, permission, state, media negotiation, or dependency before retrying."},{"status":503,"condition":"The workspace's current plan allowance could not be verified. This entitlement error does not reserve quota.","retryable":true,"developerAction":"Check that the workspace is Ready and its billing period is current. Retry with backoff. Contact support if the error persists."}],"x-feradel-access":{"authentication":"authenticated","authorization":"The direct XML transform currently verifies the JWT but does not call the imported EDIT.TEMPLATE permission check.","licensing":"If the instance header selects a lifecycle-managed FeraRender tenant, non-Active product state returns 403 before the router executes.","instanceContext":"The instance header scopes FeraAuth permission checks and owner-scoped administration records; rendering lookup may also use the documented owner field.","ownership":"Rendering may locate only a template owned by the requested owner or API-plane candidate; output contains no renderer credentials."},"x-feradel-related-operations":["render_post_pdfDocument","render_post_pdfHtml","render_post_pdfFormsFields","render_post_pdfForms","render_post_pdfDocxDocxPdf","render_post_docxPackage","render_post_docx"],"x-feradel-webhook-events":[]}}},"externalDocs":{"description":"FeraRender API guides, document modes, and endpoint reference","url":"https://help.feradel.com/category/ferarender/ferarender-api/"}}