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

de.elide-model-config.7.0.0-pr2.source-code.elideSecuritySchema.json Maven / Gradle / Ivy

There is a newer version: 7.1.2
Show newest version
{
    "$schema": "https://json-schema.org/draft-04/schema#",
    "description": "Elide Security config json/hjson schema",
    "type": "object",
    "properties": {
        "roles": {
            "title": "Security Roles",
            "description": "List of Roles that will map to security checks",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "type": "string",
                "format": "elideRole"
            }
        },
        "rules": {
            "title": "Security Rules",
            "description": "List of RSQL filter expression templates",
            "type": "array",
            "uniqueItems": true,
            "items": {
                "properties": {
                    "type": {
                        "title": "Rule Type",
                        "description": "Type of security rule",
                        "type": "string",
                        "enum": [
                            "filter"
                        ]
                    },
                    "filter": {
                        "title": "Rule Filter",
                        "description": "Rule filter expression",
                        "type": "string",
                        "enum": [
                            "filter"
                        ]
                    },
                    "name": {
                        "title": "Rule Name",
                        "description": "Name of the security rule",
                        "type": "string"
                    }
                },
                "required": [
                    "filter",
                    "name"
                ],
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy