# Writes travel.json as UTF-8 (no BOM). Requires this .ps1 saved as UTF-8 BOM per .editorconfig. # Usage: powershell -NoProfile -ExecutionPolicy Bypass -File write-travel-json.ps1 $path = Join-Path $PSScriptRoot "..\fs-service\src\main\resources\lobster\validation\dialogues\travel.json" $json = @' { "industryType": "travel", "industryLabel": "???????????��", "businessRequirement": "???��???????????????????????????????????????��???????????????????????????��?????????��????????????????", "generateParams": { "companyShortName": "??????????", "advisorName": "��??", "advisorRole": "???????��???", "mainProduct": "????????" }, "stages": { "bookingFunnel": { "label": "????????????????", "description": "E2E ?????????????????????????", "lines": [ "????????????????????", "??????????��?????????????", "???????????", "????7?��????????????5000????", "?????????????????????????��??", "??????��???????????????????????��???????", "?��????????��????????????????", "??????????????????????", "?????????????????????", "????????????" ] }, "postBookingLifecycle": { "label": "??????????��???��?????", "description": "?????????????????????", "lines": [ "???????????????????????????", "????????��??????????", "�ݧ�???????�Q???�?????", "????????????????��????", "?????????????��?????", "??????5???????????", "?????��?????????", "?????????????��???", "?????????????????" ] }, "consultMultiTurn": { "label": "?????��???", "description": "?????????????????????", "lines": [ "??????????", "?????????", "??????????", "????????", "?��????????", "?????????????" ] }, "preTripCareMultiTurn": { "label": "????????????????��???", "description": "T-5 ??????? PRE_TRIP_CARE ???????", "lines": [ "?????��?????????????", "??????????", "??????�ݧ�" ] }, "postBookingPreTripMultiTurn": { "label": "???????????????????????", "description": "?????????????????��? PRE_TRIP ????", "lines": [ "?????????????????", "????????????????", "?????????" ] }, "holidayPromoMultiTurn": { "label": "???????????", "description": "HOLIDAY_PROMO ????????", "lines": [ "?????��??��????", "???????????��", "????????" ] }, "stressMultiTurn": { "label": "?????????", "description": "stress.multiTurn ?????????????", "lines": [ "?????????��?????", "??????????��???????", "????????????", "????��???", "??????????", "????????????" ] } } } '@ $utf8 = New-Object System.Text.UTF8Encoding $false [System.IO.File]::WriteAllText($path, $json.Trim(), $utf8) Write-Host "Wrote UTF-8: $path"