{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "validator": {
            "type": "object",
            "description": "Validate locales (checking for missing labels)",
            "required": [
                "filePathPattern"
            ],
            "properties": {
                "multiFile": {
                    "type": "boolean",
                    "description": "Each locale is in separate file in the same folder.",
                    "default": "false"
                },
                "filePathPattern": {
                    "type": "string",
                    "description": "Pattern of locale files path",
                    "default": "**/locales.json"
                },
                "fileStructure": {
                    "type": "string",
                    "description": "Structure of locale file content",
                    "default": "polymer",
                    "enum": [
                        "polymer",
                        "angular.flat"
                    ]
                }
            }
        },
        "pseudoLocale": {
            "type": "object",
            "description": "Pseudo localizer settings",
            "properties": {
                "expander": {
                    "type": "number",
                    "description": "Expand factor 0.3 = 30%",
                    "default": 0.3
                },
                "wordexpander": {
                    "type": "number",
                    "description": "Expand factor 0.5 = 50%",
                    "default": 0.5
                },
                "brackets": {
                    "type": "boolean",
                    "description": "Enclose in brackets"
                },
                "exclamations": {
                    "type": "boolean",
                    "description": "Enclose in exclamations"
                },
                "accents": {
                    "type": "boolean",
                    "description": "Convert letter to its accent version"
                },
                "rightToLeft": {
                    "type": "boolean",
                    "description": "Left-to-Right"
                },
                "forceException": {
                    "type": "boolean",
                    "description": "Force throwing syntax exception if any"
                },
                "escapeCharacters": {
                    "type": "boolean",
                    "description": "Escape special characters ('false' for json content)"
                }
            }
        }
    }
}