{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "SelectWordPrediction",
    "type": "object",
    "additionalProperties": false,
    "description": "Select Word Prediction result",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v4/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": [
                "SELECT_WORD_PREDICTION"
            ]
        },
        "schema_definition": {
            "type": "string",
            "enum": [
                "SelectWordPrediction"
            ]
        },
        "reference_id": {
            "type": "string",
            "description": "The reference id of word prediction from which this word was generated"
        },
        "selected_word": {
            "type": "string",
            "description": "Selected word in word prediction result"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "reference_id",
        "selected_word"
    ]
}