{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "TransportationModeLabeling",
    "type": "object",
    "additionalProperties": false,
    "description": "To log transportation mode labeled by user",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v4/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": [
                "TRANSPORTATION_MODE_LABELING"
            ]
        },
        "schema_definition": {
            "type": "string",
            "enum": [
                "TransportationModeLabeling"
            ]
        },
         "transportation_mode": {
            "type": "string",
            "description": "Transportation mode as labeled by user",
            "enum": [
                "DRIVER",
                "PASSENGER",
                "TRAIN",
                "AIRPLANE",
                "BIKE",
                "BOAT",
                "BUS",
                "MOTORCYCLE",
                "FOOT",
                "OTHER"
            ]
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "transportation_mode"
    ]
}