{"id":"json-array-rename-keys","version":"1.0.0","description":"Rename specific keys in each object in a JSON array.","supported_operations":["json array rename keys","remap json keys in array","rename json fields"],"unsupported_operations":["deep renaming"],"semantics":["Applies a key mapping to each object in the array.","If a key exists in the object and is in the mapping, it is renamed to the new key.","If the new key already exists in the object, the old key's value overwrites it.","The order of keys in the output object is not guaranteed to be identical to the input."],"limits":{"max_array_items":10000,"max_output_items":10000,"max_keys":32},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["array","mapping"],"properties":{"array":{"type":"array","maxItems":10000,"items":{"type":"object"}},"mapping":{"type":"object","maxProperties":32,"additionalProperties":{"type":"string","minLength":1}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["result","count"],"properties":{"result":{"type":"array","items":{"type":"object"}},"count":{"type":"integer"}}},"examples":[{"input":{"array":[{"a":1,"b":2},{"a":3,"c":4}],"mapping":{"a":"id","b":"value"}},"output":{"result":[{"id":1,"value":2},{"id":3,"c":4}],"count":2}}],"execute_url":"/v1/tools/json-array-rename-keys/versions/1.0.0/execute"}