{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#Rule",
    "description": "An operational or configuration compliance rule, often part of a Ruleset.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "category": {
                    "description": "The category of ruleset.",
                    "type": "string",
                    "examples": ["compliance", "config", "password", "other"]
                },
                "content": {
                    "description": "Contents of the rule, if applicable.",
                    "type": "string"
                }
            },
            "required": []
        }
    ]
}
