{"api_version":2,"name":"piflow_phone_number_clean","version":"1.0","role":"transform","type":"sdk","description":"Normalize digits, remove separators and keep only mainland mobile numbers with upstream prefixes 13–15, 17 or 18. Replace the selected string columns while preserving other fields.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{"source":{"representations":["records"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"columnName":{"type":"string","description":"Comma-separated names of existing string columns.","minLength":1}},"required":["columnName"],"additionalProperties":false},"documentation":{"inputs":{"source":"Arrow records. The example uses value, id."},"outputs":{"result":"Records stream. Normalize digits, remove separators and keep only mainland mobile numbers with upstream prefixes 13–15, 17 or 18. Replace the selected string columns while preserving other fields."},"parameters":{"columnName":{"description":"Comma-separated names of existing string columns.","help":"Comma-separated names of existing string columns.","example":"value"}},"example_job":"name: Mobile number cleaning\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/example.jsonl\n    view: records\n- id: process\n  operator: piflow_phone_number_clean@1.0\n  inputs:\n    source: read\n  params:\n    columnName: value\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_phone_number_clean","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"777361c4e72b2c5457479683916b7c8e635289ff","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"3d29ed9627f9343dddb614d840afe5c9aa2006eadc3647a9f1610c41b551e2ce","size":14798,"filename":"piflow_phone_number_clean-sources.zip"},"license_file":{"sha256":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","size":11357,"filename":"LICENSE.txt"}},"artifact":{"sha256":"9e329ca2c11ef0309627e2e5f115279a43d38b5aa6ef7f6f94e8b19a663cc239","size":12930,"filename":"operator.zip"},"categories":["PiFlow","Data cleaning"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795079244871},"publication":{"author":"dacp-examples","submitted_at_ms":1795079237874,"approved_at_ms":1795079244871,"last_submitted_at_ms":1795079237874,"last_approved_at_ms":1795079244871},"download_count":5}