{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://chaosinitiative.com/cas/schemas/subsystems/fgdbuild.json",

    "type": "object",
    "title": "FGD Builder",
    "description": "Builds game FGDs from HammerAddons.",
    
    "required": ["branch", "source"],
    "properties": {
        "branch": {
            "type": "string",
            "title": "Branch",
            "description": "The engine branch to build for, as defined in HammerAddons"
        },
        "source": {
            "type": "string",
            "title": "Source Folder",
            "description": "The source folder where HammerAddons is located"
        },
        "dest": {
            "type": "string",
            "title": "Destination Folder",
            "description": "The destination folder to copy the build outputs to",
            "default": "$(path.game)"
        }
    }
}