All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemas.schema-form.json Maven / Gradle / Ivy

The newest version!
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "whitelist": {
            "title": "Whitelist",
            "type": "array",
            "items": {
                "title": "Rule",
                "type": "object",
                "properties": {
                    "pattern": {
                        "type": "string",
                        "title": "Path pattern",
                        "description": "Ant-style path patterns"
                    },
                    "methods": {
                        "title": "Methods",
                        "description": "HTTP Methods",
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"]
                        },
                        "uniqueItems": true
                    }
                },
                "required": ["pattern"]
            }
        },
        "blacklist": {
            "title": "Blacklist",
            "type": "array",
            "items": {
                "title": "Rule",
                "type": "object",
                "properties": {
                    "pattern": {
                        "type": "string",
                        "title": "Path pattern",
                        "description": "Ant-style path patterns"
                    },
                    "methods": {
                        "title": "Methods",
                        "description": "HTTP Methods",
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"]
                        },
                        "uniqueItems": true
                    }
                },
                "required": ["pattern"]
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy