resources/META-INF/galaxy-operator.json
1{"categories": ["Galaxy", "JSON", "Text processing"], "description": "Project a JSON field or array element from each input record.", "documentation": {"example_job": "name: Project a JSON field or array element from each input record.\nsteps:\n- id: read\n operator: item_source@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/jq_path.txt\n view: bytes\n- id: process\n operator: galaxy_jq_path@1.0\n inputs:\n source: read\n params: {}\n- id: client_sink\n operator: client_sink@1.0\n inputs:\n result: process\n", "inputs": {"source": "UTF-8 bytes stream. One complete JSON value per nonblank UTF-8 input line. Supports the jq field/index projection subset via RFC 6901 JSON Pointer. Outputs compact JSON and null for missing paths. Does not evaluate jq programs."}, "outputs": {"result": "Project a JSON field or array element from each input record. One complete JSON value per nonblank UTF-8 input line. Supports the jq field/index projection subset via RFC 6901 JSON Pointer. Outputs compact JSON and null for missing paths. Does not evaluate jq programs."}, "parameters": {"pointer": {"description": "JSON Pointer. Use /key/0 for a nested array element, or an empty string for identity.", "example": "/a/1", "help": "JSON Pointer. Use /key/0 for a nested array element, or an empty string for identity. One complete JSON value per nonblank UTF-8 input line. Supports the jq field/index projection subset via RFC 6901 JSON Pointer. Outputs compact JSON and null for missing paths. Does not evaluate jq programs."}}}, "entrypoint": "xstream.galaxy.JsonPathProjection", "fixture": {"data": "{\"a\":[5,8]}\n{\"a\":[]}\n", "expected": "8\nnull\n", "params": {}}, "icon": {"path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "TabularUtilities", "inputs": {"source": {"formats": [], "representations": ["bytes"]}}, "name": "galaxy_jq_path", "parameters": {"additionalProperties": false, "properties": {"pointer": {"default": "/a/1", "description": "JSON Pointer. Use /key/0 for a nested array element, or an empty string for identity.", "maxLength": 256, "type": "string"}}, "required": [], "type": "object"}, "params": {}, "scope": "One complete JSON value per nonblank UTF-8 input line. Supports the jq field/index projection subset via RFC 6901 JSON Pointer. Outputs compact JSON and null for missing paths. Does not evaluate jq programs.", "upstream": {"path": "tools/jq/jq.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}