{
    "task": [
        {
            "name": "DijiangRewards",
            "label": "$task.DijiangRewards.label",
            "entry": "DijiangRewards",
            "description": "$task.DijiangRewards.description",
            "option": [
                "AutoStartExchange",
                "StageTaskSetting",
                "ClueSetting",
                "SelectToGrow"
            ],
            "group": [
                "daily"
            ]
        }
    ],
    "option": {
        "AutoStartExchange": {
            "type": "switch",
            "label": "$option.AutoStartExchange.label",
            "description": "$option.AutoStartExchange.description",
            "default_case": "No",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "ReceptionRoomStartExchange": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "ReceptionRoomStartExchange": {
                            "enabled": false
                        }
                    }
                }
            ]
        },
        "StageTaskSetting": {
            "type": "switch",
            "label": "$option.StageTaskSetting.label",
            "description": "$option.StageTaskSetting.description",
            "default_case": "No",
            "cases": [
                {
                    "name": "Yes",
                    "option": [
                        "RecoveryEmotionStage",
                        "ReceptionRoomStage",
                        "ManufacturingStage",
                        "GrowthChamberStage"
                    ]
                },
                {
                    "name": "No"
                }
            ]
        },
        "RecoveryEmotionStage": {
            "type": "switch",
            "label": "$option.RecoveryEmotionStage.label",
            "description": "$option.RecoveryEmotionStage.description",
            "default_case": "Yes",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "RecoveryEmotionMain": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "RecoveryEmotionMain": {
                            "enabled": false
                        }
                    }
                }
            ]
        },
        "ReceptionRoomStage": {
            "type": "switch",
            "label": "$option.ReceptionRoomStage.label",
            "description": "$option.ReceptionRoomStage.description",
            "default_case": "Yes",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "ReceptionRoomMain": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "ReceptionRoomMain": {
                            "enabled": false
                        }
                    }
                }
            ]
        },
        "ManufacturingStage": {
            "type": "switch",
            "label": "$option.ManufacturingStage.label",
            "description": "$option.ManufacturingStage.description",
            "default_case": "Yes",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "MFGCabinMain": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "MFGCabinMain": {
                            "enabled": false
                        }
                    }
                }
            ]
        },
        "GrowthChamberStage": {
            "type": "switch",
            "label": "$option.GrowthChamberStage.label",
            "description": "$option.GrowthChamberStage.description",
            "default_case": "Yes",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "GrowthChamberMain": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "GrowthChamberMain": {
                            "enabled": false
                        }
                    }
                }
            ]
        },
        "ClueSetting": {
            "type": "switch",
            "label": "$option.ClueSetting.label",
            "description": "$option.ClueSetting.description",
            "default_case": "No",
            "cases": [
                {
                    "name": "Yes",
                    "option": [
                        "ClueSend",
                        "ClueStockLimit"
                    ]
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "ReceptionRoomSendCluesSelectClues": {
                            "max_hit": 3
                        },
                        "ClueItemCount": {
                            "expected": "^(?:[3-9]|[1-9]\\d+)$"
                        }
                    }
                }
            ]
        },
        "ClueSend": {
            "type": "input",
            "label": "$option.ClueSend.label",
            "inputs": [
                {
                    "name": "MaxClueSend",
                    "label": "$option.ClueSend.MaxClueSend.label",
                    "pipeline_type": "int",
                    "default": "3"
                }
            ],
            "pipeline_override": {
                "ReceptionRoomSendCluesSelectClues": {
                    "max_hit": "{MaxClueSend}"
                }
            }
        },
        "ClueStockLimit": {
            "type": "select",
            "label": "$option.ClueStockLimit.label",
            "description": "$option.ClueStockLimit.description",
            "default_case": "2",
            "cases": [
                {
                    "name": "1",
                    "label": "$option.ClueStockLimit.cases.1.label",
                    "pipeline_override": {
                        "ClueItemCount": {
                            "expected": "^(?:[2-9]|[1-9]\\d+)$"
                        }
                    }
                },
                {
                    "name": "2",
                    "label": "$option.ClueStockLimit.cases.2.label",
                    "pipeline_override": {
                        "ClueItemCount": {
                            "expected": "^(?:[3-9]|[1-9]\\d+)$"
                        }
                    }
                }
            ]
        },
        "SelectToGrow": {
            "type": "select",
            "label": "$option.SelectToGrow.label",
            "description": "$option.SelectToGrow.description",
            "default_case": "Any",
            "cases": [
                {
                    "name": "DoNothing",
                    "label": "$option.SelectToGrow.cases.DoNothing.label",
                    "pipeline_override": {
                        "GrowthChamberGrow": {
                            "enabled": false
                        }
                    }
                },
                {
                    "name": "GrowAgain",
                    "label": "$option.SelectToGrow.cases.GrowAgain.label",
                    "pipeline_override": {
                        "GrowthChamberGrow": {
                            "enabled": false
                        },
                        "GrowthChamberGrowAgain": {
                            "enabled": true
                        }
                    }
                },
                {
                    "name": "Any",
                    "label": "$option.SelectToGrow.cases.Any.label",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "武陵石",
                                "燎石",
                                "岩天使叶",
                                "受蚀玉化叶",
                                "星门菌",
                                "血菌",
                                "重黯石",
                                "中黯石",
                                "轻黯石",
                                "至晶多齿叶",
                                "纯晶多齿叶",
                                "晶化多齿叶",
                                "重红柱状菌",
                                "中红柱状菌",
                                "轻红柱状菌",
                                "Wulingstone",
                                "Igneosite",
                                "False Aggela",
                                "Blighted Jadeleaf",
                                "Cosmagaric",
                                "Bloodcap",
                                "Umbronyx",
                                "Auronyx",
                                "Kalkonyx",
                                "Vitrodendra",
                                "Chrysodendra",
                                "Kalkodendra",
                                "Ruby Bolete",
                                "Red Bolete",
                                "Pink Bolete",
                                "岩アンゲロス葉",
                                "侵蝕玉化葉",
                                "星門茸",
                                "血潮茸",
                                "重闇石",
                                "中闇石",
                                "軽闇石",
                                "至晶鋭葉",
                                "純晶鋭葉",
                                "晶華鋭葉",
                                "深紅茸",
                                "紅色茸",
                                "薄紅茸",
                                "岩天使葉",
                                "受蝕玉化葉",
                                "星門菌",
                                "輕黯石",
                                "至晶多齒葉",
                                "純晶多齒葉",
                                "晶華多齒葉",
                                "重紅柱狀菌",
                                "中紅柱狀菌",
                                "輕紅柱狀菌"
                            ]
                        }
                    },
                    "option": [
                        "AutoExtractSeed",
                        "SortBy",
                        "SortOrder"
                    ]
                },
                {
                    "name": "Wulingstone",
                    "label": "$item.Wulingstone",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "武陵石",
                                "Wulingstone"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Igneosite",
                    "label": "$item.Igneosite",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "燎石",
                                "Igneosite"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "FalseAggela",
                    "label": "$item.FalseAggela",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "岩天使叶",
                                "False Aggela",
                                "岩アンゲロス葉",
                                "岩天使葉"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "BlightedJadeleaf",
                    "label": "$item.BlightedJadeleaf",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "受蚀玉化叶",
                                "Blighted Jadeleaf",
                                "侵蝕玉化葉",
                                "受蝕玉化葉"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Cosmagaric",
                    "label": "$item.Cosmagaric",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "星门菌",
                                "Cosmagaric",
                                "星門茸",
                                "星門菌"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Bloodcap",
                    "label": "$item.Bloodcap",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "血菌",
                                "Bloodcap",
                                "血潮茸"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Umbronyx",
                    "label": "$item.Umbronyx",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "重黯石",
                                "Umbronyx",
                                "重闇石"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Auronyx",
                    "label": "$item.Auronyx",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "中黯石",
                                "Auronyx",
                                "中闇石"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Kalkonyx",
                    "label": "$item.Kalkonyx",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "轻黯石",
                                "Kalkonyx",
                                "軽闇石",
                                "輕黯石"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Vitrodendra",
                    "label": "$item.Vitrodendra",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "至晶多齿叶",
                                "Vitrodendra",
                                "至晶鋭葉",
                                "至晶多齒葉"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Chrysodendra",
                    "label": "$item.Chrysodendra",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "纯晶多齿叶",
                                "Chrysodendra",
                                "純晶鋭葉",
                                "純晶多齒葉"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "Kalkodendra",
                    "label": "$item.Kalkodendra",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "晶化多齿叶",
                                "Kalkodendra",
                                "晶華鋭葉",
                                "晶華多齒葉"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "RubyBolete",
                    "label": "$item.RubyBolete",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "重红柱状菌",
                                "Ruby Bolete",
                                "深紅茸",
                                "重紅柱狀菌"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "RedBolete",
                    "label": "$item.RedBolete",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "中红柱状菌",
                                "Red Bolete",
                                "紅色茸",
                                "中紅柱狀菌"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                },
                {
                    "name": "PinkBolete",
                    "label": "$item.PinkBolete",
                    "pipeline_override": {
                        "GrowthChamberSelectTarget": {
                            "expected": [
                                "轻红柱状菌",
                                "Pink Bolete",
                                "薄紅茸",
                                "輕紅柱狀菌"
                            ]
                        },
                        "GrowthChamberCheckSeedNotEmpty": {
                            "recognition": {
                                "type": "ColorMatch",
                                "param": {
                                    "roi": "GrowthChamberSelectTarget",
                                    "lower": [
                                        0,
                                        0,
                                        0
                                    ],
                                    "upper": [
                                        255,
                                        255,
                                        255
                                    ],
                                    "order_by": "Vertical"
                                }
                            }
                        }
                    },
                    "option": [
                        "AutoExtractSeed"
                    ]
                }
            ]
        },
        "AutoExtractSeed": {
            "type": "switch",
            "label": "$option.AutoExtrachSeed.label",
            "default_case": "Yes",
            "cases": [
                {
                    "name": "Yes",
                    "pipeline_override": {
                        "GrowthChamberSeedExtract": {
                            "enabled": true
                        },
                        "GrowthChamberGrowExit": {
                            "enabled": false
                        }
                    }
                },
                {
                    "name": "No",
                    "pipeline_override": {
                        "GrowthChamberCheckTargetNotEmpty": {
                            "recognition": {
                                "type": "And",
                                "param": {
                                    "all_of": [
                                        "GrowthChamberCheckSeedNotEmpty"
                                    ]
                                }
                            }
                        },
                        "GrowthChamberSeedExtract": {
                            "enabled": false
                        },
                        "GrowthChamberGrowExit": {
                            "enabled": true
                        }
                    }
                }
            ]
        },
        "SortBy": {
            "type": "select",
            "label": "$option.SortBy.label",
            "default_case": "Default",
            "cases": [
                {
                    "name": "Default",
                    "label": "$option.SortBy.cases.Default.label",
                    "pipeline_override": {
                        "GrowthChamberSortBy": {
                            "enabled": true,
                            "expected": [
                                "拥有数量",
                                "基核数量",
                                "品质",
                                "持有數量",
                                "基核數量",
                                "品質",
                                "総在庫",
                                "基核数",
                                "品質",
                                "Amount Owned",
                                "Amount of Seeds",
                                "Quality"
                            ]
                        },
                        "GrowthChamberSortByChoose": {
                            "expected": [
                                "默认",
                                "預設",
                                "Default",
                                "デフォルト"
                            ]
                        },
                        "GrowthChamberSortBySwipe": {
                            "enabled": false
                        }
                    }
                },
                {
                    "name": "AmountOwned",
                    "label": "$option.SortBy.cases.AmountOwned.label",
                    "pipeline_override": {
                        "GrowthChamberSortBy": {
                            "enabled": true,
                            "expected": [
                                "默认",
                                "基核数量",
                                "品质",
                                "預設",
                                "基核數量",
                                "品質",
                                "デフォルト",
                                "基核数",
                                "品質",
                                "Default",
                                "Amount of Seeds",
                                "Quality"
                            ]
                        },
                        "GrowthChamberSortByChoose": {
                            "expected": [
                                "拥有数量",
                                "持有數量",
                                "総在庫",
                                "Amount Owned"
                            ]
                        }
                    }
                },
                {
                    "name": "AmountOfSeeds",
                    "label": "$option.SortBy.cases.AmountOfSeeds.label",
                    "pipeline_override": {
                        "GrowthChamberSortBy": {
                            "enabled": true,
                            "expected": [
                                "默认",
                                "拥有数量",
                                "品质",
                                "預設",
                                "持有數量",
                                "品質",
                                "デフォルト",
                                "総在庫",
                                "品質",
                                "Default",
                                "Amount Owned",
                                "Quality"
                            ]
                        },
                        "GrowthChamberSortByChoose": {
                            "expected": [
                                "基核数量",
                                "基核數量",
                                "基核数",
                                "Amount of Seeds"
                            ]
                        }
                    }
                },
                {
                    "name": "Quality",
                    "label": "$option.SortBy.cases.Quality.label",
                    "pipeline_override": {
                        "GrowthChamberSortBy": {
                            "enabled": true,
                            "expected": [
                                "默认",
                                "拥有数量",
                                "基核数量",
                                "預設",
                                "持有數量",
                                "基核數量",
                                "デフォルト",
                                "総在庫",
                                "基核数",
                                "Default",
                                "Amount Owned",
                                "Amount of Seeds"
                            ]
                        },
                        "GrowthChamberSortByChoose": {
                            "expected": [
                                "品质",
                                "品質",
                                "品質",
                                "Quality"
                            ]
                        }
                    }
                }
            ]
        },
        "SortOrder": {
            "type": "select",
            "label": "$option.SortOrder.label",
            "default_case": "ASC",
            "cases": [
                {
                    "name": "ASC",
                    "label": "$option.SortOrder.cases.Ascending.label",
                    "pipeline_override": {
                        "GrowthChamberSortOrder": {
                            "enabled": true,
                            "expected": [
                                "降序",
                                "降序",
                                "DESC",
                                "降順"
                            ]
                        }
                    }
                },
                {
                    "name": "DESC",
                    "label": "$option.SortOrder.cases.Descending.label",
                    "pipeline_override": {
                        "GrowthChamberSortOrder": {
                            "enabled": true,
                            "expected": [
                                "升序",
                                "升序",
                                "ASC",
                                "昇順"
                            ]
                        }
                    }
                }
            ]
        }
    }
}
