{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "TransportationModeClassification",
    "type": "object",
    "additionalProperties": false,
    "description": "To log transportation mode classification",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v4/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": [
                "TRANSPORTATION_MODE_CLASSIFICATION"
            ]
        },
        "schema_definition": {
            "type": "string",
            "enum": [
                "TransportationModeClassification"
            ]
        },
        "transportation_mode": {
            "type": "string",
            "description": "transportation type",
            "enum": [
                "CAR",
                "TRAIN",
                "AIRPLANE",
                "BIKE",
                "BOAT",
                "BUS",
                "MOTORCYCLE",
                "FOOT",
                "OTHER"
            ]
        },
        "confidence": {
            "type": "number",
            "description": "Confidence of the detection result"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "transportation_mode",
        "confidence"
    ]
}