This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Transformation Rules

DRAFT; incomplete

Format

{
    <target path>: [{ // array is optional
        transform: {
            type: <transform name>,
            <properties as required by particular transform>
        }
    }, {
        ...
    }]
}

 

Examples

{
    "dog": {
        "transform": {
            "type": "fluid.transforms.linearScale",
            "value": 3,
            "factor": 2,
            "offset": 5
        }
    }
}
 {
    "dog": {
        "transform": [
            {
                "type": "fluid.transforms.linearScale",
                "value": 3,
                "factor": 2,
                "offset": 5
            },
            {
                "type": "fluid.transforms.literalValue",
                "value": "ooooops"
            }
        ]
    }
}