{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "RotationVectorItem",
    "description": "SensorDataCollector.RotationVectorItem",
    "type": "object",
    "properties": {
        "timestamp": {
            "type": "integer",
            "description": "UTC timestamp in milliseconds"
        },
        "x": {
            "type": "number",
            "precision": 6,
            "description": "Rotation along the X axis. Equals x * sin(θ/2)"
        },
        "y": {
            "type": "number",
            "precision": 6,
            "description": "Rotation along the Y axis. Equals y * sin(θ/2)"
        },
        "z": {
            "type": "number",
            "precision": 6,
            "description": "Rotation along the Z axis. Equals z * sin(θ/2)"
        },
        "unit_quaternion_real_part": {
            "type": "number",
            "description": "The real part of the quaternion. Equals cos(θ/2)"
        },
        "heading_accuracy": {
            "type": "number",
            "description": "The estimated heading accuracy in radians. -1 if unavailable"
        }
    },
    "required": [
        "timestamp",
        "x",
        "y",
        "z"
    ]
}