convert this to below format

// Named Range - Text Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "text",
    "operator": "equals",
    "targetLocation": "xInput_Name",
    "targetValue": "John Doe"
  }
}

// Named Range - Text Contains
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "text",
    "operator": "contains",
    "targetLocation": "xInput_Description",
    "targetValue": "Project"
  }
}

// Named Range - Text Starts With
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "text",
    "operator": "starts_with",
    "targetLocation": "xInput_Code",
    "targetValue": "PRJ"
  }
}

// Named Range - Text Ends With
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "text",
    "operator": "ends_with",
    "targetLocation": "xInput_Email",
    "targetValue": "@company.com"
  }
}

// Cell Address - Text Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "cell_address",
    "dataType": "text",
    "operator": "equals",
    "targetLocation": "Sheet1!A1",
    "targetValue": "Status"
  }
}// Named Range - Number Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "number",
    "operator": "equals",
    "targetLocation": "xInput_Amount",
    "targetValue": "1000"
  }
}

// Named Range - Number Greater Than
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "number",
    "operator": "greater_than",
    "targetLocation": "xInput_Quantity",
    "targetValue": "50"
  }
}

// Named Range - Number Less Than
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "number",
    "operator": "less_than",
    "targetLocation": "xInput_Balance",
    "targetValue": "100"
  }
}

// Named Range - Number Greater Equal
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "number",
    "operator": "greater_equal",
    "targetLocation": "xInput_Score",
    "targetValue": "75"
  }
}

// Named Range - Number Less Equal
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "number",
    "operator": "less_equal",
    "targetLocation": "xInput_Discount",
    "targetValue": "20"
  }
}// Named Range - Boolean Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "boolean",
    "operator": "equals",
    "targetLocation": "xInput_IsActive",
    "targetValue": "true"
  }
}

// Cell Address - Boolean Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "cell_address",
    "dataType": "boolean",
    "operator": "equals",
    "targetLocation": "Sheet1!B1",
    "targetValue": "false"
  }
}// Named Range - Date Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "date",
    "operator": "equals",
    "targetLocation": "xInput_StartDate",
    "targetValue": "2024-03-20"
  }
}

// Named Range - Date Before
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "date",
    "operator": "before",
    "targetLocation": "xInput_EndDate",
    "targetValue": "2024-12-31"
  }
}

// Named Range - Date After
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "named_range",
    "dataType": "date",
    "operator": "after",
    "targetLocation": "xInput_ReviewDate",
    "targetValue": "2024-01-01"
  }
}

// Cell Address - Date Equals
{
  "conditionCode": "cell_value",
  "operator": "equal",
  "payload": {
    "targetType": "cell_address",
    "dataType": "date",
    "operator": "equals",
    "targetLocation": "Sheet1!C1",
    "targetValue": "2024-03-20"
  }
}


in below json format

  "task_conditions": [
                                    {
                                        "object": "task_condition",
                                        "id": "{{PV_TASK_CONDITION_ID_1}}",
                                        "data": {
                                            "target_task_id": null,
                                            "target_id": null,
                                            "target_description": "User is a Group Member",
                                            "sequence": 1,
                                            "condition_code": "role",
                                            "operator": "in_list",
                                            "error_message": "",
                                            "payload": {
                                                "role": "{{PV_MAKER_ROLES}}",
                                                "operator": "",
                                                "target_name": "User is a Group Member"
                                            },
                                            "operator_overridable": false
                                        }
                                    },
                                    {
                                        "object": "task_condition",
                                        "id": "{{PV_TASK_CONDITION_ID_2}}",
                                        "data": {
                                            "target_task_id": null,
                                            "target_id": null,
                                            "target_description": "User is a allowed",
                                            "sequence": 2,
                                            "condition_code": "user",
                                            "error_message": "",
                                            "operator": "in_list",
                                            "payload": {
                                                "usernames": "{{PV_MAKER_USERS}}",
                                                "operator": "",
                                                "target_name": "User is allowed"
                                            },
                                            "operator_overridable": false
                                        }
                                    }
                                ]


ChatGPT