---
# System prepended metadata

title: 'Example: manual diagnosis console'

---

# Example: manual diagnosis console
```
{
        "bike_id": "bike id",
        "name": "manual_diagnosis",
        "status": "FAIL",
        "ctx": {
            "part_type": "console",
            "mid": "mid1",
            "error_code": "00000000001"
        },
        "measurements": [
            {
                "name": "power_key",
                "value": 0,
                "status": "PASS"
            },
            {
                "name": "up_key",
                "value": 0,
                "status": "PASS"
            },
            {
                "name": "down_key",
                "value": 0,
                "status": "PASS"
            },
            {
                "name": "motion_key",
                "value": 0,
                "status": "PASS"
            },
            {
                "name": "light_key",
                "value": 0,
                "status": "PASS"
            },
            {
                "name": "info_key",
                "value": 1,
                "status": "FAIL"
            }
        ],
        "error_code": "00000000001",
        "started_at": "2020-04-22T11:14:22.023080+00:00",
        "ended_at": "2020-04-22T11:14:25.023080+00:00"
    }
```

# Example: manual diagnosis driver
```
{
        "bike_id": "bike id",
        "name": "manual_diagnosis",
        "status": "PASS",
        "ctx": {
            "part_type": "driver",
            "mid": "mid1",
            "speed": 10,
            "temperature": 30,
            "voltage": 5.5,
            "current": 3,
            "pedal_candence": 10,
            "pedal_torque": 10
        },
        "measurements": [],
        "error_code": null,
        "started_at": "2020-04-22T11:14:22.023080+00:00",
        "ended_at": "2020-04-22T11:14:25.023080+00:00"
    }
```

# Example: auto diagnosis driver
```
{
        "bike_id": "bike id",
        "name": "auto_diagnosis",
        "status": "PASS",
        "ctx": {
            "part_type": "driver",
            "mid": "$mid1",
            "error_code": "00000000001",
            "speed": 10,
            "temperature": 30,
            "voltage": 5.5,
            "current": 3,
            "pedal_candence": 10,
            "pedal_torque": 10
        },
        "measurements": [],
        "error_code": null,
        "started_at": "2020-04-22T11:14:22.023080+00:00",
        "ended_at": "2020-04-22T11:14:25.023080+00:00"
    }
```

# Example: auto diagnosis display
```
{
        "bike_id": "bike id",
        "name": "auto_diagnosis",
        "status": "PASS",
        "ctx": {
            "part_type": "display",
            "mid": "$mid1"
        },
        "measurements": [],
        "error_code": null,
        "started_at": "2020-04-22T11:14:22.023080+00:00",
        "ended_at": "2020-04-22T11:14:25.023080+00:00"
    }
```

# Example: auto diagnosis display
```
{
        "bike_id": "bike id",
        "name": "auto_diagnosis",
        "status": "PASS",
        "ctx": {
            "part_type": "console",
            "mid": "$mid1"
        },
        "measurements": [],
        "error_code": null,
        "started_at": "2020-04-22T11:14:22.023080+00:00",
        "ended_at": "2020-04-22T11:14:25.023080+00:00"
    }
```