{"api_version":2,"name":"contains_text_sink","version":"1.0","role":"sink","type":"sdk","description":"Fail the Job unless a byte stream contains the specified UTF-8 text.","icon":{"path":"M4 4h16v16H4zM7 12l3 3 7-7"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":256,"description":"Required UTF-8 text."}},"required":["text"],"additionalProperties":false},"documentation":{"inputs":{"source":"UTF-8 byte stream to validate."},"outputs":{},"parameters":{"text":{"description":"Required UTF-8 text.","help":"Match across chunk boundaries; use a nonempty exact string.","example":"success"}},"example_job":"name: Assert text occurs\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/example/input.txt\n    view: bytes\n- id: check\n  operator: contains_text_sink@1.0\n  inputs:\n    source: read\n  params:\n    text: success\n"},"execution":{"executor":"jvm","entrypoint":"xstream.examples.endpoints.ContainsTextSink","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"dependencies":{"provider":"jvm"},"source_public":true,"provenance":{"source_archive":{"sha256":"9d24f871ef4d6cee0f0d6ed8620a3db5dbc65f89bc3b9a95565eec432aca5db1","size":8920,"filename":"scala-endpoints-sources.zip"},"license":"Apache-2.0"},"artifact":{"sha256":"fe6af5f48f26190b50a4cd9140226ec3df6beded2303dca670410b95d22ba75d","size":23911,"filename":"operator.jar"},"environment":{"fingerprint":"374616495cf41f0bc817e7f85324e895572bbc20532ea6c9d015892a092a96e8","image":"sha256:0a4ab138146c0e3c37286a4b9af19a1dad65d2405c85d930f2ed3eca143d9ad2","archive":{"sha256":"c275b53a46f568a668be2a4ea64d897a1231040f5e5e0c3891063a7dda8bcbc2","size":105061376,"filename":"environment.tar"},"lock":{"provider":"jvm","version":1,"platform":"linux/amd64","files":[],"coordinates":[]}},"categories":["Sink","Validation"],"outputs":{},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794623551072},"publication":{"author":"dacp-examples","submitted_at_ms":1794623539070,"approved_at_ms":1794623551072,"last_submitted_at_ms":1794623539070,"last_approved_at_ms":1794623551072},"download_count":1}