{
    "title": "ruleset",
    "type": "object",
    "patternProperties": {
        "^[a-zA-Z0-9\\-\\+]+$": {
            "title": "rule",
            "properties": {
                "url": {
                    "type": "string"
                },
                "forceHTTPS": {
                    "type": "boolean"
                },
                "updater": {
                    "properties": {
                        "x86": {
                            "properties": {
                                "url": {
                                    "type": "string"
                                },
                                "rule_type": {
                                    "type": "string"
                                },
                                "selector": {
                                    "type": "string"
                                },
                                "baselink": {
                                    "type": "string"
                                },
                                "filter": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "rule_type"
                            ]
                        },
                        "x86_64": {
                            "properties": {
                                "url": {
                                    "type": "string"
                                },
                                "rule_type": {
                                    "type": "string"
                                },
                                "selector": {
                                    "type": "string"
                                },
                                "baselink": {
                                    "type": "string"
                                },
                                "filter": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "rule_type"
                            ]
                        }
                    },
                    "required": [
                        "x86"
                    ]
                },
                "version_extractor": {
                    "type": "string"
                },
                "version_source": {
                    "type": "string"
                }
            },
            "required": [
                "updater",
                "version_extractor"
            ]
        }
    }
}