{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "JS Options Schema",
    "description": "Defines how squatch js interacts.",
    "type": "object",
    "properties": {
        "widget": {
            "type": "object",
            "properties": {
                "defaultWidgetType": {
                    "type": "string",
                    "title": "Default Widget Type",
                    "default": "REFERRER_WIDGET"
                }
            }
        },
        "conversionUrls": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "widgetUrlMappings": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string"
                    },
                    "showAsCTA": {
                        "type": "boolean"
                    },
                    "displayOnLoad": {
                        "type": "boolean"
                    },
                    "widgetType": {
                        "type": "string"
                    }
                }
            }
        },
        "fuelTankAutofillUrls": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string"
                    },
                    "formSelector": {
                        "type": "string"
                    }
                }
            }
        }
    }
}