{
    "objects": [
        {
            "$find": [
                {
                    "path": "identifier",
                    "value": "fm-flatcar01"
                }
            ],
            "$clone": true,
            "identifier": "PRR-PiggyBack1",
            "metadata": {
                "name": "PRR 1954 Piggyback Trailer",
                "description": "1954 Piggyback Trailer from the PRR"
            },
            "definition": {
                "carType": "PBF",
                "basePrice": 1150,
                "loadSlots": [
    {
        "$find": [
            {
                "path": "loadUnits", 
                "value": "Pounds"
                }
            ],
            "maximumCapacity": 28000.0,
            "loadUnits": "Pounds",
            "requiredLoadIdentifier": ""
        
    }
],
                "components": [
                    {
                        "$find": [
                            {
                                "path": "kind",
                                "value": "LoadModel",
                                "comp": "equals"
                            }
                        ],
                        "models": {
                            "$replace": [
                                {
                                    "assetPackIdentifier": "zsc://EMBPiggyBackBase/SCAssetPacks/PiggyBackAssets",
                                    "assetIdentifier": "EMBPRR26PB"
                                },
                                {
                                  "assetPackIdentifier": "zsc://EMBPiggyBackBase/SCAssetPacks/PiggyBackAssets",
                                    "assetIdentifier": "EMBPRRStands"  
                                }
                            ]
                        },
                        "instances": {
                            "$replace":
                                [
                                {
                                    "position": [0.0,1,0.0],
                                    "rotation": [0,0.0,0.0,1],
                                    "scale": [1.0,1.0,1.0]
                                },
                                {
                                    "position": [0.0,1,0.0],
                                    "rotation": [0,0.0,0.0,1],
                                    "scale": [1.0,1.0,1.0]
                                }
                            ]
                        },
                        "name": "LoadModel 1",
                        "transform": {
                            "$replace":{
                                "position": [0.0,1.145,0.0],
                                "rotation": [0.0,0.0,0.0,1],
                                "scale": [1.0,1.0,1.0]
                            }
                        },
                        "parent": null,
                        "enabled": true
                        
                    },
                    {
                    "$add": {
                            "kind": "DetailModel",
                            "model": {
                                "assetPackIdentifier": "zsc://EMBPiggyBackBase/SCAssetPacks/PiggyBackAssets",
                                "assetIdentifier": "EMBPBSupports"
                            },
                            "offset": [0.0, 0.0, 0.0],
                            "count": 1,
                            "name": "Piggy Back Car Rails/poles",
                            "transform": {
                                "position": [0, 2.231352, 0.0],
                                "rotation": [0.0, 0.0, 0.0, 1.0],
                                "scale": [1.0, 1.0, 1.0]
                            },
                            "parent": null,
                            "enabled": true
                        }
                    }
                ]
            }
        }
    ]
}