{
    "title": "Role",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.roles.Role",
    "type": "object",
    "required": [
        "identityServiceName",
        "roleName"
    ],
    "properties": {
        "identityServiceName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "roleName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "ordering": {
            "type": "integer",
            "minimum": 0
        },
        "controllers": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "auditLog": {
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "timeSpent": {
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            }
        },
        "additionalProperties": false
    },
    "additionalProperties": false
}