{
    "source": "mapper.js",
    "method": "modifyObject",
    "input-schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
            "input": {
                "type": "any",
                "description": "An Object which should be modified. The object is not mutated, but a new object is returned."
            },
            "set": {
                "type": "array",
                "description": "Property key and value to add to the object. Can use dot notation to access deep objects.",
                "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "key": {
                            "type": "string"
                        },
                        "value": {
                            "type": "any"
                        }
                    }
                }
            },
            "remove": {
                "type": "array",
                "description": "Property key to be removed from the object. Can use dot notation to access deep objects.",
                "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "key": {
                            "type": "string"
                        }
                    }
                }
            }

        }
    },
    "output-schema": {
        "type": "object"
    },
    "meta": {
        "name": "modifyObject",
        "sort_index": 2,
        "icon": {
            "type": "fa",
            "name": "list-ul",
            "label": "object",
            "color": "#338A8B"
        },
        "description": "Modify an object. The object is not mutated, instead a new copy is returned."
    }
}