{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "SubscriptionWarning",
    "type": "object",
    "additionalProperties": false,
    "description": "TAnalytics-v3 .. Subscription Warning",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v3/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": ["SUBSCRIPTION_WARNING"]
        },
        "schema_definition": {
            "type": "string",
            "enum": ["SubscriptionWarning"]
        },
        "sdcard_cid": {
            "type": "string",
            "description": "SD card CID"
        },
        "time_left": {
            "type": "number",
            "description": "Time left before subscription ends"
        },
        "action": {
            "type": "string",
            "description": "User accepts or ignores"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "action",
        "sdcard_cid",
        "time_left"
    ]
}