{
    "id": "FM_MedievalCastle",
    "name": "FM_MedievalCastle",
    "features": {
        "Archers": {
            "name": "Archers",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Assault": {
            "name": "Assault",
            "optional": true,
            "type": "OR",
            "note": ""
        },
        "BasicCastle": {
            "name": "BasicCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Castle": {
            "name": "Castle",
            "optional": false,
            "type": "XOR",
            "note": ""
        },
        "CombatCar": {
            "name": "CombatCar",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "CompleteCastle": {
            "name": "CompleteCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Dragon": {
            "name": "Dragon",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Drawbridge": {
            "name": "Drawbridge",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "FantasyCastle": {
            "name": "FantasyCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Knights": {
            "name": "Knights",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "MedievalCastle": {
            "name": "MedievalCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "MediumCastle": {
            "name": "MediumCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Prison": {
            "name": "Prison",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "RealisticCastle": {
            "name": "RealisticCastle",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        },
        "Style": {
            "name": "Style",
            "optional": false,
            "type": "XOR",
            "note": ""
        },
        "Wizard": {
            "name": "Wizard",
            "optional": true,
            "type": "FEATURE",
            "note": ""
        }
    },
    "tree": {
        "id": "MedievalCastle",
        "children": [
            {
                "id": "Assault",
                "children": [
                    {
                        "id": "Archers"
                    },
                    {
                        "id": "CombatCar"
                    }
                ]
            },
            {
                "id": "Castle",
                "children": [
                    {
                        "id": "BasicCastle"
                    },
                    {
                        "id": "CompleteCastle"
                    },
                    {
                        "id": "MediumCastle"
                    }
                ]
            },
            {
                "id": "Style",
                "children": [
                    {
                        "id": "FantasyCastle",
                        "children": [
                            {
                                "id": "Dragon"
                            },
                            {
                                "id": "Wizard"
                            }
                        ]
                    },
                    {
                        "id": "RealisticCastle",
                        "children": [
                            {
                                "id": "Drawbridge"
                            },
                            {
                                "id": "Knights"
                            },
                            {
                                "id": "Prison"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "constraints": {
        "Constraint 0": {
            "type": "ImpliesTerm",
            "operands": [
                {
                    "type": "FeatureTerm",
                    "operands": [
                        "RealisticCastle"
                    ]
                },
                {
                    "type": "NotTerm",
                    "operands": [
                        {
                            "type": "FeatureTerm",
                            "operands": [
                                "Dragon"
                            ]
                        }
                    ]
                }
            ]
        },
        "Constraint 1": {
            "type": "ImpliesTerm",
            "operands": [
                {
                    "type": "FeatureTerm",
                    "operands": [
                        "Assault"
                    ]
                },
                {
                    "type": "NotTerm",
                    "operands": [
                        {
                            "type": "FeatureTerm",
                            "operands": [
                                "BasicCastle"
                            ]
                        }
                    ]
                }
            ]
        }
    }
}