{
"name": "Community Culinary Survey 2021",
"languages": ["en", "id"],
"defaultLanguage": "en",
"translations": [
{
"name": "Komunitas Kuliner Survey 2021",
"language": "id"
}
],
"question_group": [
{
"id": 1,
"name": "Registration",
"order": 1,
"translations": [
{
"name": "Registrasi",
"language": "id"
}
],
"question": [
{
"id": 1,
"name": "Location",
"order": 1,
"type": "cascade",
"option": "administration",
"translations": [
{
"name": "Lokasi",
"language": "id"
}
],
"required": true,
"extra": [
{
"placement": "before",
"content": "Please select your current origin administration",
"translations": [
{
"content": "Silakan pilih Kecamatan anda sekarang",
"language": "id"
}
]
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 2,
"name": "Geolocation",
"order": 2,
"type": "geo",
"center": {
"lat": 9.145,
"lng": 40.4897
},
"required": true,
"tooltip": {
"text": "Please allow browser to access your test",
"translations": [
{
"text": "Mohon izinkan peramban untuk mengakses lokasi saat ini",
"language": "id"
}
]
},
"extra": [
{
"placement": "after",
"content": "Please click on the maps or type it manually",
"translations": [
{
"content": "Silakan Klik peta atau ketik secara manual",
"language": "id"
}
]
}
],
"translations": [
{
"name": "Geolokasi",
"language": "id"
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 66,
"order": 3,
"name": "member_code",
"label": "Member Code",
"short_label": null,
"type": "input",
"tooltip": null,
"required": true,
"meta": false,
"options": null,
"dependency": null,
"meta_uuid": true
},
{
"id": 3,
"name": "Name",
"order": 4,
"type": "input",
"required": true,
"tooltip": {
"text": "Fullname or Nickname",
"translations": [
{
"text": "Nama",
"language": "id"
}
]
},
"meta": true,
"requiredSign": "**"
},
{
"id": 4,
"name": "Phone Number",
"order": 5,
"type": "number",
"required": true,
"translations": [
{
"name": "Nomor Telepon",
"language": "id"
}
],
"addonBefore": "+62",
"extra": [
{
"placement": "before",
"content": "We will not share your phone number to public",
"translations": [
{
"content": "Kita tidak akan mempublikasikan nomor anda",
"language": "id"
}
]
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 5,
"name": "Location (Using API)",
"order": 6,
"type": "cascade",
"api": {
"endpoint": "https://akvo.github.io/akvo-react-form/api/cascade",
"initial": 0,
"list": false
},
"required": true,
"translations": [
{
"name": "Lokasi (Menggunakan API)",
"language": "id"
}
],
"extra": [
{
"placement": "before",
"content": "Please select your current origin administration",
"translations": [
{
"content": "Silakan pilih Kecamatan anda sekarang",
"language": "id"
}
]
}
],
"meta": true,
"requiredSign": "*"
},
{
"id": 67,
"label": "School cascade",
"name": "school_cascade",
"type": "cascade",
"required": false,
"order": 7,
"api": {
"endpoint": "https://akvo.github.io/akvo-react-form/api/entities/1/"
},
"extra": {
"type": "entity",
"name": "School",
"parentId": 5
},
"meta": true
},
{
"id": 68,
"label": "HCF cascade",
"name": "hcf_cascade",
"type": "cascade",
"required": false,
"order": 8,
"api": {
"endpoint": "https://akvo.github.io/akvo-react-form/api/entities/2/"
},
"extra": {
"type": "entity",
"name": "Health Care Facilities",
"parentId": 5
}
},
{
"id": 6,
"name": "Birthdate",
"order": 9,
"type": "date",
"required": true,
"translations": [
{
"name": "Tanggal Lahir",
"language": "id"
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 7,
"name": "Gender",
"order": 10,
"type": "option",
"option": [
{
"label": "Male",
"value": "male",
"order": 1,
"translations": [
{
"name": "Laki-Laki",
"language": "id"
}
]
},
{
"label": "Female",
"value": "female",
"order": 2,
"translations": [
{
"name": "Perempuan",
"language": "id"
}
]
},
{
"label": "Other",
"value": "other",
"order": 3,
"translations": [
{
"name": "Lainnya",
"language": "id"
}
]
}
],
"required": true,
"translations": [
{
"name": "Jenis Kelamin",
"language": "id"
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 8,
"name": "Marital Status",
"dependency": [
{
"id": 7,
"options": ["female", "male"]
}
],
"order": 11,
"type": "option",
"option": [
{
"name": "Single",
"order": 1,
"translations": [
{
"name": "Jomblo",
"language": "id"
}
]
},
{
"name": "Maried",
"order": 2,
"translations": [
{
"name": "Menikah",
"language": "id"
}
]
},
{
"name": "Widowed",
"order": 3,
"translations": [
{
"name": "Janda / Duda",
"language": "id"
}
]
}
],
"required": true,
"translations": [
{
"name": "Status Keluarga",
"language": "id"
}
]
},
{
"id": 9,
"name": "Upload photo",
"order": 12,
"type": "image",
"required": true,
"tooltip": {
"text": "Image for profile photo",
"translations": [
{
"text": "Gambar untuk foto profil",
"language": "id"
}
]
},
"meta": false,
"requiredSign": "**",
"limit": 2
},
{
"id": 74,
"order": 13,
"label": "Password",
"name": "password",
"type": "input",
"required": true,
"meta": false,
"displayOnly": false,
"pre": {},
"hiddenString": true,
"requiredDoubleEntry": true
}
]
},
{
"id": 2,
"name": "Culinary Group",
"description": "Example placeholder description text for Culinary Question Group. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus imperdiet orci in feugiat tincidunt. Donec tempor suscipit accumsan. Vestibulum orci risus, mattis vitae ex et, consectetur consequat augue. Nunc et ante vel massa sollicitudin posuere vel ornare ligula. Ut a mattis massa. Mauris pulvinar congue sem, et venenatis orci vulputate id. Praesent odio purus, ultricies non eros at, iaculis imperdiet turpis. Donec non massa ligula.",
"order": 2,
"translations": [
{
"name": "Pertanyaan Tentang Kuliner",
"description": "Contoh teks pengganti deskripsi untuk Grup Pertanyaan Kuliner. Demikian pula, tidak adakah orang yang mencintai atau mengejar atau ingin mengalami penderitaan, bukan semata-mata karena penderitaan itu sendiri, tetapi karena sesekali terjadi keadaan di mana susah-payah dan penderitaan dapat memberikan kepadanya kesenangan yang besar.",
"language": "id"
}
],
"question": [
{
"id": 10,
"name": "spent_meals_per_day",
"label": "How much do you spent for meals a day?",
"order": 1,
"type": "number",
"required": false,
"translations": [
{
"name": "Berapa biasanya uang yang anda habiskan per hari untuk makanan",
"language": "id"
}
]
},
{
"id": 11,
"name": "eat_times_per_day",
"label": "How many times do you usually eat in a day?",
"order": 2,
"type": "number",
"required": false,
"translations": [
{
"name": "Berapa kali anda biasanya makan dalam sehari",
"language": "id"
}
]
},
{
"id": 12,
"name": "avg_meal_cost",
"label": "Average meal cost",
"order": 3,
"type": "autofield",
"required": false,
"translations": [
{
"name": "Pengeluaran untuk makanan rata-rata",
"language": "id"
}
],
"rule": null,
"fn": {
"multiline": false,
"fnString": "function(){ return #spent_meals_per_day# * #eat_times_per_day#; }",
"fnColor": {
"10": "#38A15A"
}
},
"dataApiUrl": "https://akvo.github.io/akvo-react-form/api/meals"
},
{
"id": 13,
"name": "Favorite Food",
"order": 4,
"type": "multiple_option",
"allowOther": true,
"allowOtherText": "Please input other food if any",
"option": [
{
"name": "Asian",
"order": 1,
"translations": [
{
"name": "Asia",
"language": "id"
}
],
"color": "#DB3B3B"
},
{
"name": "Western",
"order": 2,
"translations": [
{
"name": "Barat",
"language": "id"
}
],
"color": "#38A15A"
},
{
"name": "Vegetarian",
"order": 3,
"color": "#F2C94C"
}
],
"required": true,
"tooltip": {
"text": "Please mention the available options",
"translations": [
{
"text": "Tolong pilih contoh yang ada",
"language": "id"
}
]
},
"translations": [
{
"name": "Makanan Favorit",
"allowOtherText": "Silahkan menambahkan menu lain jika ada",
"language": "id"
}
],
"meta": true,
"requiredSign": "**"
},
{
"id": 14,
"name": "Please specify",
"order": 5,
"type": "input",
"required": true,
"dependency": [
{
"id": 13,
"options": ["Asian", "Western"]
}
],
"tooltip": {
"text": "Desert or snacks are allowed too",
"translations": [
{
"text": "Makanan Penutup dan Makanan Ringan juga diperbolehkan",
"language": "id"
}
]
},
"translations": [
{
"name": "Tolong sebutkan",
"language": "id"
}
]
},
{
"id": 15,
"name": "Do you know beef rendang?",
"order": 6,
"type": "option",
"allowOtherText": "Other Option",
"allowOther": true,
"option": [
{
"name": "Yes",
"order": 1,
"translations": [
{
"name": "Ya",
"language": "id"
}
]
},
{
"name": "No",
"order": 2,
"translations": [
{
"name": "Tidak",
"language": "id"
}
],
"color": "#DB3B3B"
}
],
"required": false,
"translations": [
{
"name": "Apakah anda tahu Rendang Daging?",
"allowOtherText": "Jawaban Lain",
"language": "id"
}
]
},
{
"id": 16,
"name": "Weight",
"order": 7,
"type": "number",
"required": true,
"rule": {
"min": 5,
"max": 10
},
"translations": [
{
"name": "Berat Badan",
"language": "id"
}
],
"addonAfter": "Kilograms"
},
{
"id": 17,
"name": "Where do you usually order Rendang from ?",
"dependency": [
{
"id": 15,
"options": ["Yes"]
},
{
"id": 16,
"min": 8
}
],
"order": 8,
"type": "option",
"option": [
{
"name": "Pagi Sore",
"order": 1
},
{
"name": "Any Rendang Restaurant",
"order": 2,
"translations": [
{
"name": "Restoran Rendang Manapun",
"language": "id"
}
]
}
],
"required": true,
"translations": [
{
"name": "Dimana anda biasanya membeli Rendang?",
"language": "id"
}
]
},
{
"id": 18,
"name": "Do you want to order Rendang from Pagi Sore now?",
"dependency": [
{
"id": 17,
"options": ["Pagi Sore"]
}
],
"order": 9,
"type": "option",
"option": [
{
"name": "Yes",
"order": 1,
"translations": [
{
"name": "Ya",
"language": "id"
}
]
},
{
"name": "No",
"order": 2,
"translations": [
{
"name": "Tidak",
"language": "id"
}
]
}
],
"required": true,
"translations": [
{
"name": "Apakah anda ingin memesan Rendang dari Pagi Sore?",
"language": "id"
}
]
},
{
"id": 19,
"name": "Order List",
"dependency": [
{
"id": 18,
"options": ["Yes"]
}
],
"order": 10,
"type": "table",
"columns": [
{
"name": "items",
"label": "Items",
"type": "option",
"options": [
{
"name": "Rendang",
"order": 1
},
{
"name": "Ayam Pop",
"order": 2
},
{
"name": "Paru Goreng",
"order": 3
},
{
"name": "Baluik Goreng",
"order": 4
}
]
},
{
"name": "amount",
"label": "Amount",
"type": "number"
},
{
"name": "note",
"label": "Note",
"type": "input"
}
],
"required": true,
"translations": [
{
"name": "Daftar Pesanan",
"language": "id"
}
],
"extra": [
{
"placement": "before",
"content": "Price: Rendang (IDR 5000), Ayam Pop (IDR 8000)",
"translations": [
{
"content": "Harga: Rendang (Rp 5000), Ayam Pop (Rp 8000)",
"language": "id"
}
]
}
],
"requiredSign": "**"
}
]
},
{
"id": 3,
"name": "Asian Food Details",
"description": "This section is only for those who selected Asian food as their favorite food",
"order": 3,
"translations": [
{
"name": "Detail Makanan Asia",
"description": "Bagian ini hanya untuk mereka yang memilih makanan Asia sebagai makanan favorit mereka",
"language": "id"
}
],
"repeatable": true,
"repeatText": "Add another Asian Food Details",
"question": [
{
"id": 50,
"name": "favorite_asian_food",
"label": "What is your favorite Asian food?",
"order": 1,
"type": "input",
"required": true,
"translations": [
{
"label": "Apa makanan Asia favorit anda?",
"language": "id"
}
],
"dependency": [
{
"id": 13,
"options": ["Asian"]
}
]
},
{
"id": 51,
"name": "asian_food_spicy_level",
"label": "How spicy do you like your Asian food?",
"order": 2,
"type": "number",
"required": true,
"rule": {
"min": 1,
"max": 10
},
"translations": [
{
"label": "Seberapa pedas anda menyukai makanan Asia anda?",
"language": "id"
}
],
"addonAfter": "Level of spiciness from 1 to 10",
"dependency": [
{
"id": 13,
"options": ["Asian"]
}
]
},
{
"id": 52,
"name": "favorite_asian_food_restaurant_location",
"label": "Where is your favorite Asian food restaurant located?",
"order": 3,
"type": "geo",
"required": false,
"translations": [
{
"label": "Dimana lokasi restoran makanan Asia favorit anda?",
"language": "id"
}
],
"dependency": [
{
"id": 13,
"options": ["Asian"]
}
],
"center": [-18.1236015, 178.3805867]
}
]
},
{
"id": 4,
"name": "Other Questions",
"description": "This is an example of repeat group question",
"order": 4,
"repeatable": true,
"repeatText": "Repeat text",
"translations": [
{
"name": "Pertanyaan Lain",
"repeatText": "Isi lagi",
"description": "Ini contoh dari pertanyaan berulang",
"language": "id"
}
],
"question": [
{
"id": 20,
"name": "Comment",
"order": 1,
"type": "text",
"required": true,
"translations": [
{
"name": "Komentar",
"language": "id"
}
],
"extra": [
{
"placement": "after",
"content": "Please write at least 10 words",
"translations": [
{
"content": "Tolong tulis minimal 10 kata",
"language": "id"
}
]
}
]
},
{
"id": 21,
"name": "Job title",
"order": 2,
"type": "option",
"option": [
{
"name": "Director",
"order": 1,
"translations": [
{
"name": "Direktur",
"language": "id"
}
],
"color": "#FFD966"
},
{
"name": "Manager",
"order": 2,
"translations": [
{
"name": "Manajer",
"language": "id"
}
],
"color": "#38A15A"
},
{
"name": "Staff",
"order": 3,
"translations": [
{
"name": "Staf",
"language": "id"
}
],
"color": "#DB3B3B"
},
{
"name": "Consultant",
"order": 3,
"translations": [
{
"name": "Staf",
"language": "id"
}
],
"color": "#A64D79"
}
],
"required": true,
"translations": [
{
"name": "Titel Pekerjaan",
"language": "id"
}
]
},
{
"id": 23,
"name": "Dependency on Job Title Staff",
"dependency": [
{
"id": 21,
"options": ["Staff"]
}
],
"order": 4,
"type": "option",
"option": [
{
"name": "Contract",
"order": 1
},
{
"name": "Internship",
"order": 2
}
],
"required": true
},
{
"id": 24,
"name": "Tree Select",
"order": 5,
"type": "tree",
"option": "administration",
"checkStrategy": "children",
"expandAll": true,
"required": true
},
{
"id": 25,
"name": "Please input any number start from 0 (no decimal)",
"order": 6,
"type": "number",
"required": true,
"translations": [
{
"name": "Masukkan angka berapapun, dimulai dari 0 (selain decimal)",
"language": "id"
}
]
},
{
"id": 26,
"name": "Please input any number start from 0 to 10 (allow decimal)",
"order": 7,
"type": "number",
"required": true,
"rule": {
"min": 0,
"max": 10,
"allowDecimal": true
},
"translations": [
{
"name": "Masukkan angka berapapun, dimulai dari 1 sampai 10 (boleh decimal)",
"language": "id"
}
]
},
{
"id": 27,
"name": "Please input any number start from 0 to 5 (allow decimal)",
"order": 8,
"type": "number",
"required": false,
"rule": {
"min": 0,
"max": 5,
"allowDecimal": true
},
"translations": [
{
"name": "Masukkan angka berapapun, dimulai dari 0 sampai 5 (boleh decimal)",
"language": "id"
}
]
},
{
"id": 29,
"name": "year_of_experience",
"label": "How many years of experience do you have?",
"tooltip": {
"text": "Your experience in years"
},
"short_label": "Years of experience",
"meta": false,
"order": 9,
"type": "number",
"required": true,
"fn": {
"fnColor": "#year_of_experience# == 0 ? \"#DB3B3B\" : #year_of_experience# > 0 && #year_of_experience# < 5 ? \"#FFCC00\" : #year_of_experience# > 4 && #year_of_experience# < 10 ? \"blue\" : \"#38A15A\""
},
"rule": {
"min": 0,
"max": 20
},
"translations": [
{
"label": "Berapa lama pengalaman anda?",
"language": "id"
}
]
},
{
"id": 30,
"name": "seniority_level",
"label": "Your seniority level",
"tooltip": {
"text": "Your seniority level based on your years of experience"
},
"short_label": "Seniority level",
"meta": false,
"order": 10,
"type": "autofield",
"required": false,
"fn": {
"fnString": "#year_of_experience# == 0 ? \"No experience\" : #year_of_experience# > 0 && #year_of_experience# < 5 ? \"Junior\" : #year_of_experience# > 4 && #year_of_experience# < 10 ? \"Mid\" : \"Senior\"",
"fnColor": "#year_of_experience# == 0 ? \"#DB3B3B\" : #year_of_experience# > 0 && #year_of_experience# < 5 ? \"#FFCC00\" : #year_of_experience# > 4 && #year_of_experience# < 10 ? \"blue\" : \"#38A15A\""
},
"translations": [
{
"label": "Tingkat senioritas anda",
"language": "id"
}
]
},
{
"id": 31,
"name": "Are you qualified for this job?",
"order": 11,
"type": "option",
"option": [
{
"name": "Yes",
"order": 1
},
{
"name": "No",
"order": 2
}
],
"required": true,
"dependency": [
{
"id": 30,
"options": ["Senior", "Mid"]
}
],
"translations": [
{
"name": "Apakah anda memenuhi syarat untuk pekerjaan ini?",
"language": "id"
}
]
},
{
"id": 32,
"name": "Why are you not qualified?",
"order": 12,
"type": "text",
"required": true,
"dependency": [
{
"id": 31,
"options": ["No"]
}
],
"translations": [
{
"name": "Mengapa anda tidak memenuhi syarat?",
"language": "id"
}
]
}
]
},
{
"id": 5,
"name": "Repeat Question",
"description": "This is an example of repeat group question",
"order": 5,
"repeatable": true,
"repeatText": "Add another Repeat Question",
"repeatButtonPlacement": "bottom",
"translations": [
{
"name": "Pertanyaan Berulang",
"repeatText": "Tambahkan Pertanyaan Berulang",
"description": "Ini contoh dari pertanyaan berulang",
"language": "id"
}
],
"question": [
{
"id": 28,
"name": "Cascade with Partial Required",
"order": 1,
"type": "cascade",
"api": {
"endpoint": "https://akvo.github.io/akvo-react-form/api/cascade",
"initial": 0,
"list": false
},
"required": true,
"partialRequired": true,
"translations": [
{
"name": "Cascade dengan Partial Required",
"language": "id"
}
],
"meta": false
}
]
},
{
"id": 6,
"name": "autofield_new_version",
"label": "Autofield New version",
"order": 6,
"repeatable": true,
"translations": [
{
"label": "Bidang Otomatis Versi baru",
"language": "id"
}
],
"question": [
{
"id": 61,
"label": "Male head",
"name": "male_head",
"order": 1,
"type": "number",
"required": true,
"translations": [
{
"label": "Jumlah Pria",
"language": "id"
}
]
},
{
"id": 62,
"label": "Female head",
"name": "female_head",
"order": 2,
"type": "number",
"required": true,
"translations": [
{
"label": "Jumlah Wanita",
"language": "id"
}
]
},
{
"id": 63,
"label": "Number of Household",
"name": "number_of_household",
"order": 3,
"type": "autofield",
"required": false,
"translations": [
{
"label": "Jumlah rumah tangga",
"language": "id"
}
],
"rule": null,
"fn": {
"multiline": false,
"fnString": "#male_head# + #female_head#"
},
"displayOnly": true
},
{
"id": 64,
"name": "functional_toilet",
"label": "Functional toilet",
"order": 4,
"type": "option",
"required": true,
"translations": [
{
"label": "Toilet fungsional",
"language": "id"
}
],
"meta": false,
"option": [
{
"id": 641,
"order": 1,
"name": "G0 No toilet",
"label": "G0 No toilet",
"value": "g0_no_toilet",
"color": "#DB3B3B",
"translations": [
{
"label": "Tidak ada toilet",
"language": "id"
}
]
},
{
"id": 642,
"order": 2,
"name": "G0 Non-functional toilet",
"label": "G0 Non-functional toilet",
"value": "g0_nonfunctional_toilet",
"color": "#DB3B3B",
"translations": [
{
"label": "Toilet tidak berfungsi",
"language": "id"
}
]
},
{
"id": 643,
"order": 3,
"name": "G0+ Partly functional toilet",
"label": "G0+ Partly functional toilet",
"value": "g0_partly_functional_toilet",
"color": "#ffa57d",
"translations": [
{
"label": "Toilet sebagian berfungsi",
"language": "id"
}
]
},
{
"id": 644,
"order": 4,
"name": "G1 Fully functional toilet",
"label": "G1 Fully functional toilet",
"value": "g1_fully_functional_toilet",
"color": "#38A15A",
"translations": [
{
"label": "Toilet yang berfungsi penuh",
"language": "id"
}
]
}
]
},
{
"id": 65,
"label": "Outcome result - functional toilet",
"name": "outcome_result_functional_toilet",
"order": 5,
"type": "autofield",
"required": false,
"translations": [
{
"label": "Hasil akhir - toilet fungsional",
"language": "id"
}
],
"rule": null,
"fn": {
"multiline": false,
"fnString": "!#functional_toilet# || #functional_toilet#.includes(\"g0\") ? \"Bad\" : \"Good\"",
"fnColor": {
"Bad": "#DB3B3B",
"Good": "#38A15A"
}
}
}
]
},
{
"id": 7,
"name": "prefilled_example",
"label": "Pre-filled example",
"order": 7,
"repeatable": false,
"translations": [
{
"label": "Contoh penggunaan pre-filled",
"language": "id"
}
],
"question": [
{
"id": 71,
"name": "new_or_update",
"label": "New/Update data",
"order": 1,
"type": "option",
"required": true,
"translations": [
{
"label": "Data baru/memperbarui",
"language": "id"
}
],
"option": [
{
"order": 1,
"label": "New",
"value": "new",
"translations": [
{
"label": "Baru",
"language": "id"
}
]
},
{
"order": 2,
"label": "Update",
"value": "update",
"translations": [
{
"label": "Memperbarui",
"language": "id"
}
]
}
]
},
{
"id": 72,
"name": "resp_position",
"label": "Respondent position in household",
"order": 2,
"type": "option",
"required": true,
"translations": [
{
"label": "Posisi responden dalam rumah tangga",
"language": "id"
}
],
"option": [
{
"order": 1,
"label": "Household head",
"value": "hh_head",
"translations": [
{
"label": "Kepala rumah tangga",
"language": "id"
}
]
},
{
"order": 2,
"label": "Spouse of household head",
"value": "spouse_of_hh_head",
"translations": [
{
"label": "Pasangan dari kepala rumah tangga",
"language": "id"
}
]
},
{
"order": 3,
"label": "Parent of household head",
"value": "parent_of_hh_head",
"translations": [
{
"label": "Orang tua dari kepala rumah tangga",
"language": "id"
}
]
}
],
"rule": null,
"fn": null,
"pre": {
"new_or_update": {
"new": ["hh_head"]
}
}
},
{
"id": 73,
"name": "resp_feedback",
"label": "How would you describe your overall experience at the culinary fair?",
"order": 3,
"type": "multiple_option",
"required": true,
"translations": [
{
"label": "Bagaimana Anda menggambarkan keseluruhan pengalaman Anda di pameran kuliner?",
"language": "id"
}
],
"option": [
{
"order": 1,
"label": "Fun!",
"value": "fun",
"translations": [
{
"label": "Seru!",
"language": "id"
}
]
},
{
"order": 2,
"label": "Insightful",
"value": "insightful",
"translations": [
{
"label": "Berwawasan luas",
"language": "id"
}
]
},
{
"order": 3,
"label": "Memorable",
"value": "memorable",
"translations": [
{
"label": "Berkesan",
"language": "id"
}
]
}
],
"rule": null,
"fn": null,
"pre": {
"new_or_update": {
"new": ["fun"]
},
"resp_position": {
"hh_head": ["insightful"]
}
}
}
]
},
{
"id": 8,
"order": 8,
"name": "attachments",
"label": "Attachments",
"question": [
{
"id": 75,
"name": "upload_screenshot_proof",
"label": "Upload a screenshot proving you have followed",
"short_label": "Upload a screenshot",
"translations": [
{
"label": "Unggah tangkapan layar yang membuktikan anda telah mengikuti",
"language": "id"
}
],
"meta": false,
"type": "attachment",
"rule": {
"allowedFileTypes": ["jpeg", "jpg", "png"]
},
"required": true
},
{
"id": 76,
"name": "upload_work",
"label": "Upload your work to get a chance to win a prize",
"short_label": "Upload your work",
"translations": [
{
"label": "Unggah pekerjaan anda untuk mendapatkan kesempatan memenangkan hadiah",
"language": "id"
}
],
"meta": false,
"type": "attachment",
"rule": {
"allowedFileTypes": []
},
"api": {
"endpoint": "https://api.escuelajs.co/api/v1/files/upload",
"response_key": "location"
},
"required": true
},
{
"id": 77,
"name": "letter_of_application",
"label": "Letter of application",
"translations": [
{
"label": "Surat permohonan",
"language": "id"
}
],
"meta": false,
"type": "attachment",
"rule": {
"allowedFileTypes": ["pdf", "doc", "docx", "odt"]
},
"api": {
"endpoint": "https://api.escuelajs.co/api/v1/files/upload",
"query_params": "?allowedFileTypes=pdf&allowedFileTypes=doc&allowedFileTypes=docx&allowedFileTypes=odt",
"response_key": "location"
},
"required": false
}
]
},
{
"id": 9,
"order": 9,
"name": "signature",
"label": "Signature",
"question": [
{
"id": 78,
"name": "signature",
"label": "Please sign here",
"short_label": "Signature",
"translations": [
{
"label": "Mohon tanda tangan disini",
"language": "id"
}
],
"meta": false,
"type": "signature",
"required": true
},
{
"id": 79,
"name": "satisfaction_level",
"label": "From 1 to 10, how satisfied are you with this form?",
"short_label": "Satisfaction level",
"translations": [
{
"label": "1 sampai 10, seberapa puas anda dengan formulir ini?",
"language": "id"
}
],
"meta": false,
"type": "number",
"rule": {
"min": 1,
"max": 10
},
"required": true,
"fn": {
"fnColor": "#satisfaction_level# > 5 ? \"#38A15A\" : \"#DB3B3B\""
}
},
{
"id": 80,
"name": "satisfaction_level_results",
"label": "Satisfaction level results",
"short_label": "Satisfaction level results",
"translations": [
{
"label": "Hasil kepuasan",
"language": "id"
}
],
"meta": false,
"type": "autofield",
"fn": {
"multiline": false,
"fnString": "#satisfaction_level# > 5 ? \"Good\" : \"Bad\"",
"fnColor": "#satisfaction_level# > 5 ? \"#38A15A\" : \"#DB3B3B\""
},
"required": false
}
]
},
{
"order": 10,
"name": "dependency_rule_example",
"label": "Dependency Rule Example (OR/AND Logic)",
"description": "This section demonstrates the new dependency_rule feature with OR and AND logic",
"translations": [
{
"label": "Contoh Aturan Ketergantungan (Logika OR/AND)",
"description": "Bagian ini mendemonstrasikan fitur baru dependency_rule dengan logika OR dan AND",
"language": "id"
}
],
"question": [
{
"id": 81,
"name": "dietary_preferences",
"label": "Do you have any dietary preferences or restrictions?",
"order": 1,
"type": "multiple_option",
"required": true,
"translations": [
{
"label": "Apakah anda memiliki preferensi atau batasan makanan?",
"language": "id"
}
],
"option": [
{
"order": 1,
"label": "Vegetarian",
"value": "vegetarian",
"translations": [
{
"label": "Vegetarian",
"language": "id"
}
]
},
{
"order": 2,
"label": "Vegan",
"value": "vegan",
"translations": [
{
"label": "Vegan",
"language": "id"
}
]
},
{
"order": 3,
"label": "Gluten-free",
"value": "gluten_free",
"translations": [
{
"label": "Bebas gluten",
"language": "id"
}
]
},
{
"order": 4,
"label": "Dairy-free",
"value": "dairy_free",
"translations": [
{
"label": "Bebas susu",
"language": "id"
}
]
},
{
"order": 5,
"label": "None",
"value": "none",
"translations": [
{
"label": "Tidak ada",
"language": "id"
}
]
}
]
},
{
"id": 82,
"name": "food_allergies",
"label": "Do you have any food allergies?",
"order": 2,
"type": "multiple_option",
"required": true,
"translations": [
{
"label": "Apakah anda memiliki alergi makanan?",
"language": "id"
}
],
"option": [
{
"order": 1,
"label": "Peanuts",
"value": "peanuts",
"translations": [
{
"label": "Kacang tanah",
"language": "id"
}
]
},
{
"order": 2,
"label": "Seafood",
"value": "seafood",
"translations": [
{
"label": "Makanan laut",
"language": "id"
}
]
},
{
"order": 3,
"label": "Eggs",
"value": "eggs",
"translations": [
{
"label": "Telur",
"language": "id"
}
]
},
{
"order": 4,
"label": "Soy",
"value": "soy",
"translations": [
{
"label": "Kedelai",
"language": "id"
}
]
},
{
"order": 5,
"label": "None",
"value": "none",
"translations": [
{
"label": "Tidak ada",
"language": "id"
}
]
}
]
},
{
"id": 83,
"name": "special_menu_required",
"label": "Would you like us to prepare a special menu for you?",
"order": 3,
"type": "option",
"required": true,
"translations": [
{
"label": "Apakah anda ingin kami mempersiapkan menu khusus untuk anda?",
"language": "id"
}
],
"dependency_rule": "OR",
"dependency": [
{
"id": 81,
"options": ["vegetarian", "vegan", "gluten_free", "dairy_free"]
},
{
"id": 82,
"options": ["peanuts", "seafood", "eggs", "soy"]
}
],
"option": [
{
"order": 1,
"label": "Yes, please",
"value": "yes",
"translations": [
{
"label": "Ya, tolong",
"language": "id"
}
]
},
{
"order": 2,
"label": "No, thank you",
"value": "no",
"translations": [
{
"label": "Tidak, terima kasih",
"language": "id"
}
]
}
],
"tooltip": {
"text": "This question appears if you have ANY dietary preferences OR ANY food allergies (OR logic)",
"translations": [
{
"text": "Pertanyaan ini muncul jika anda memiliki preferensi makanan ATAU alergi makanan (logika OR)",
"language": "id"
}
]
},
"extra": [
{
"placement": "before",
"content": "🔍 OR Logic Example: This question is visible because you selected dietary preferences OR food allergies (at least one condition is met)",
"translations": [
{
"content": "🔍 Contoh Logika OR: Pertanyaan ini terlihat karena anda memilih preferensi makanan ATAU alergi makanan (setidaknya satu kondisi terpenuhi)",
"language": "id"
}
]
}
]
},
{
"id": 84,
"name": "menu_customization_level",
"label": "How much customization do you need?",
"order": 4,
"type": "option",
"required": true,
"translations": [
{
"label": "Seberapa banyak kustomisasi yang anda butuhkan?",
"language": "id"
}
],
"dependency": [
{
"id": 83,
"options": ["yes"]
}
],
"option": [
{
"order": 1,
"label": "Minor adjustments",
"value": "minor",
"translations": [
{
"label": "Penyesuaian kecil",
"language": "id"
}
]
},
{
"order": 2,
"label": "Significant changes",
"value": "significant",
"translations": [
{
"label": "Perubahan signifikan",
"language": "id"
}
]
},
{
"order": 3,
"label": "Complete custom menu",
"value": "complete",
"translations": [
{
"label": "Menu khusus lengkap",
"language": "id"
}
]
}
]
},
{
"id": 85,
"name": "chef_consultation_required",
"label": "Would you like a consultation with our chef?",
"order": 5,
"type": "option",
"required": true,
"translations": [
{
"label": "Apakah anda ingin konsultasi dengan chef kami?",
"language": "id"
}
],
"dependency_rule": "AND",
"dependency": [
{
"id": 83,
"options": ["yes"]
},
{
"id": 84,
"options": ["significant", "complete"]
}
],
"option": [
{
"order": 1,
"label": "Yes, I would like that",
"value": "yes",
"translations": [
{
"label": "Ya, saya ingin itu",
"language": "id"
}
]
},
{
"order": 2,
"label": "No, not necessary",
"value": "no",
"translations": [
{
"label": "Tidak, tidak perlu",
"language": "id"
}
]
}
],
"tooltip": {
"text": "This question appears only if you want special menu AND need significant/complete customization (AND logic)",
"translations": [
{
"text": "Pertanyaan ini muncul hanya jika anda ingin menu khusus DAN membutuhkan kustomisasi signifikan/lengkap (logika AND)",
"language": "id"
}
]
},
"extra": [
{
"placement": "before",
"content": "🔍 AND Logic Example: This question is visible because BOTH conditions are met: you want a special menu AND you need significant/complete customization",
"translations": [
{
"content": "🔍 Contoh Logika AND: Pertanyaan ini terlihat karena KEDUA kondisi terpenuhi: anda ingin menu khusus DAN anda membutuhkan kustomisasi signifikan/lengkap",
"language": "id"
}
]
}
]
},
{
"id": 86,
"name": "consultation_preferred_time",
"label": "When would you prefer the consultation?",
"order": 6,
"type": "option",
"required": false,
"translations": [
{
"label": "Kapan anda lebih suka untuk konsultasi?",
"language": "id"
}
],
"dependency": [
{
"id": 85,
"options": ["yes"]
}
],
"option": [
{
"order": 1,
"label": "Morning (9 AM - 12 PM)",
"value": "morning",
"translations": [
{
"label": "Pagi (9 - 12)",
"language": "id"
}
]
},
{
"order": 2,
"label": "Afternoon (1 PM - 5 PM)",
"value": "afternoon",
"translations": [
{
"label": "Siang (13 - 17)",
"language": "id"
}
]
},
{
"order": 3,
"label": "Evening (6 PM - 8 PM)",
"value": "evening",
"translations": [
{
"label": "Sore (18 - 20)",
"language": "id"
}
]
}
]
},
{
"id": 87,
"name": "additional_notes",
"label": "Any additional notes about your dietary needs?",
"order": 7,
"type": "text",
"required": false,
"translations": [
{
"label": "Ada catatan tambahan tentang kebutuhan makanan anda?",
"language": "id"
}
],
"dependency_rule": "OR",
"dependency": [
{
"id": 81,
"options": ["vegetarian", "vegan", "gluten_free", "dairy_free"]
},
{
"id": 82,
"options": ["peanuts", "seafood", "eggs", "soy"]
}
],
"extra": [
{
"placement": "after",
"content": "Please provide any additional information that would help us better accommodate your dietary needs",
"translations": [
{
"content": "Silakan berikan informasi tambahan yang akan membantu kami lebih baik mengakomodasi kebutuhan makanan anda",
"language": "id"
}
]
}
]
}
]
},
{
"id": 11,
"order": 11,
"name": "Report by Province (Leading Question Example for Repeat Groups at Question Level)",
"question": [
{
"id": 88,
"name": "Select Provinces that you want to report",
"translations": [
{
"label": "Pilih Provinsi yang ingin anda laporkan",
"language": "id"
}
],
"meta": false,
"type": "multiple_option",
"required": true,
"lead_repeat_group": [12],
"option": [
{
"name": "Bali",
"order": 1,
"translations": [
{
"name": "Bali",
"language": "id"
}
]
},
{
"name": "Jakarta",
"order": 2,
"translations": [
{
"name": "Jakarta",
"language": "id"
}
]
},
{
"name": "Yogyakarta",
"order": 3,
"translations": [
{
"name": "Yogyakarta",
"language": "id"
}
]
}
]
}
]
},
{
"id": 12,
"order": 12,
"name": "Reported Provinces (Example of Repeatable Group at Question Level lead by 'Report by Province' Question)",
"repeatable": true,
"leading_question": 88,
"show_repeat_in_question_level": true,
"question": [
{
"id": 89,
"name": "Province",
"translations": [
{
"label": "Provinsi",
"language": "id"
}
],
"meta": false,
"type": "input",
"required": true,
"is_repeat_identifier": true
},
{
"id": 90,
"name": "What culinary dish or food item do you want to report in this province?",
"translations": [
{
"label": "Hidangan kuliner atau makanan apa yang ingin anda laporkan di provinsi ini?",
"language": "id"
}
],
"meta": false,
"type": "text",
"required": true
},
{
"id": 91,
"name": "Is this a signature/iconic dish of the province?",
"translations": [
{
"label": "Apakah ini merupakan hidangan khas/ikonik dari provinsi ini?",
"language": "id"
}
],
"meta": false,
"type": "option",
"required": true,
"option": [
{
"name": "Yes",
"order": 1,
"translations": [
{
"name": "Ya",
"language": "id"
}
]
},
{
"name": "No",
"order": 2,
"translations": [
{
"name": "Tidak",
"language": "id"
}
]
}
]
},
{
"id": 92,
"name": "Describe why this is a signature dish (ingredients, history, cultural significance)",
"translations": [
{
"label": "Jelaskan mengapa ini merupakan hidangan khas (bahan-bahan, sejarah, makna budaya)",
"language": "id"
}
],
"meta": false,
"type": "text",
"required": true,
"dependency": [
{
"id": 91,
"options": ["Yes"]
}
]
},
{
"id": 93,
"name": "Add additional information about this dish?",
"translations": [
{
"label": "Tambahkan informasi tambahan tentang hidangan ini?",
"language": "id"
}
],
"meta": false,
"type": "option",
"required": true,
"option": [
{
"name": "Yes",
"order": 1,
"translations": [
{
"name": "Ya",
"language": "id"
}
]
},
{
"name": "No",
"order": 2,
"translations": [
{
"name": "Tidak",
"language": "id"
}
]
}
]
},
{
"id": 94,
"name": "additional_comment",
"label": "Additional comment",
"type": "text",
"required": false,
"translations": [
{
"label": "Komentar tambahan",
"language": "id"
}
],
"dependency_rule": "OR",
"dependency": [
{
"id": 91,
"options": ["No"]
},
{
"id": 93,
"options": ["Yes"]
}
],
"extra": [
{
"placement": "before",
"content": "🔍 OR Logic Example: This question is visible because AT LEAST ONE condition is met: this is NOT a signature dish OR you want to add additional information",
"translations": [
{
"content": "🔍 Contoh Logika OR: Pertanyaan ini terlihat karena SETIDAKNYA SATU kondisi terpenuhi: ini BUKAN hidangan khas ATAU anda ingin menambahkan informasi tambahan",
"language": "id"
}
]
}
]
},
{
"id": 95,
"name": "Is this dish commonly available in local restaurants?",
"translations": [
{
"label": "Apakah hidangan ini umum tersedia di restoran lokal?",
"language": "id"
}
],
"meta": false,
"type": "option",
"required": true,
"option": [
{
"name": "Yes",
"order": 1,
"translations": [
{
"name": "Ya",
"language": "id"
}
]
},
{
"name": "No",
"order": 2,
"translations": [
{
"name": "Tidak",
"language": "id"
}
]
}
]
},
{
"id": 96,
"name": "Provide details about where this dish can be found and its availability",
"translations": [
{
"label": "Berikan detail tentang di mana hidangan ini dapat ditemukan dan ketersediaannya",
"language": "id"
}
],
"meta": false,
"type": "text",
"required": true,
"dependency_rule": "AND",
"dependency": [
{
"id": 91,
"options": ["Yes"]
},
{
"id": 95,
"options": ["Yes"]
}
],
"extra": [
{
"placement": "before",
"content": "🔍 AND Logic Example: This question is visible because BOTH conditions are met: this is a signature dish AND it is commonly available in local restaurants",
"translations": [
{
"content": "🔍 Contoh Logika AND: Pertanyaan ini terlihat karena KEDUA kondisi terpenuhi: ini adalah hidangan khas DAN umum tersedia di restoran lokal",
"language": "id"
}
]
}
]
}
]
}
]
}