{"name":"script_text_replace","version":"1.0","description":"Replace literal text in bounded UTF-8 lines, preserving line endings.","icon":{"path":"M4 6h9M8.5 6v12M4 18h9M16 9l4 3-4 3"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"find":{"type":"string","description":"Literal text to replace within each line; no CR or LF.","minLength":1,"maxLength":4096},"replacement":{"type":"string","description":"Replacement text; empty text deletes matches.","default":"","maxLength":4096}},"required":["find"],"additionalProperties":false},"source_public":true,"api_version":2,"execution":{"executor":"python","entrypoint":"script_text_replace","config":{}},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"7a28960792e9c501d40eac107c763b775cdb8b6701e053e913df0c57e7a913ae","size":4402,"filename":"script-sources.zip"}},"dependencies":{"provider":"python"},"artifact":{"sha256":"c7ed23a3035030eaf56d2563d4f2a7b47ded15afdaed4e7bf8f04c5e0fa4441f","size":9650,"filename":"operator.zip"},"environment":{"fingerprint":"f268a49bef227062fbf35d40627d5ff6e44d4558cbeaa253359f97651e32828c","image":"sha256:451e7ab496c06cc4198078b0dae8e545f50842c39ea5d23c5eefc6c2ce68e8c2","archive":{"sha256":"e086e3ee88de7f8dba45ca317a0332ced7b55fec45fc8bb43a5934dac7c3204d","size":73827328,"filename":"environment.tar"},"lock":{"provider":"python","version":1,"platform":"linux/amd64","files":[{"path":"python/.lock","sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}],"requirements":""}},"categories":["Text","Streaming"],"documentation":{"inputs":{"source":"UTF-8 text bytes to process."},"outputs":{"result":"Replace literal text in each UTF-8 input line."},"parameters":{"find":{"description":"Literal text to replace within each line; no CR or LF.","help":"Enter nonempty literal text without line breaks; this is not a regular expression.","example":"unknown"},"replacement":{"description":"Replacement text; empty text deletes matches.","help":"Use an empty string to delete matches, or provide replacement text without line breaks.","example":"NA"}},"example_job":"name: Replace literal text in each UTF-8 input line.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/example/source.txt\n    view: bytes\n- id: process\n  operator: script_text_replace@1.0\n  inputs:\n    source: read_source\n  params:\n    find: unknown\n    replacement: NA\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":5,"assessed_by":"administrator","reviewed_at_ms":1793515120126},"publication":{"author":"xstream-script-examples","submitted_at_ms":1793515111710,"approved_at_ms":1793515120126,"last_submitted_at_ms":1795085039374,"last_approved_at_ms":1793515120126},"download_count":1}