#pragma once

#include <stdbool.h>

typedef struct {
    int l_ota_status;
    int deviceType;
    int otaType;
    char jobId[64];
    char commitHash[128];
} ota_job_t;

bool rpc_job_parse(const char *json, ota_job_t *job);
