SANITIZE RESPONSETEMPLATE¶
Validates and sanitizes a response-template JSON file, stripping or correcting malformed fields to produce a clean, platform-safe template definition. Use this worker before importing or publishing a response template to ensure structural integrity and prevent downstream processing errors.
When to use¶
Tagged: files, json, response_template, sanitize, validation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Template JSON File | rt_json_id | file | — | ✓ | The response-template JSON file to be sanitized; must be a valid JSON file conforming to the platform’s response-template schema — no default, required. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Sanitized Rt | sanitized_rt | text | The sanitized response-template content returned as a JSON-formatted text string, with malformed or unsafe fields removed or corrected and ready for platform ingestion. |
Disciplines¶
- cae.postprocessing.response
- data.io.file
Auto-generated from platform schema. Worker id: responsetemplate_sanitize. Schema hash: ba0ecec1aeae. Hand-curated docs in workerexamples/ override this page when present.