{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "TenantModuleDescriptor",
    "description": "Module transitions",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "id": {
            "description": "Module ID (or just product part)",
            "type": "string"
        },
        "from": {
            "description": "Original Module ID when transitioning from one module to another",
            "type": "string"
        },
        "action": {
            "description": "Module action",
            "type": "string",
            "enum": [
                "enable",
                "disable",
                "uptodate",
                "suggest",
                "conflict"
            ]
        },
        "message": {
            "description": "Diagnostic Message",
            "type": "string"
        }
    },
    "required": [
        "id"
    ]
}