{
"form_id": 1,
"groups": [
{
"name": "test",
"fields": [
{
"label": "Reason for Leaving",
"type": "checkbox",
"is_required": true,
"order": 1,
"options": [
"Better career opportunity (promotion & role expansion)",
"Salary/Compensation",
"Work-life balance",
"Relationship with supervisor/colleagues",
"Relocation / Family reason"
]
},
{
"label": "Compensation & Benefits",
"type": "range",
"options": {
"min": 1,
"max": 5
},
"is_required": true,
"order": 2,
"metadata": {
"is_note": true
}
},
{
"label": "Work Environment",
"type": "range",
"options": {
"min": 1,
"max": 5
},
"is_required": true,
"order": 3,
"metadata": {
"is_note": true
}
},
{
"label": "Relationship with Supervisor",
"type": "range",
"options": {
"min": 1,
"max": 5
},
"is_required": true,
"order": 4,
"metadata": {
"is_note": true
}
},
{
"label": "Carrer Development",
"type": "range",
"options": {
"min": 1,
"max": 5
},
"is_required": true,
"order": 5,
"metadata": {
"is_note": true
}
},
{
"label": "Company Strengs",
"type": "textarea",
"is_required": true,
"order": 6
},
{
"label": "Company Strengs",
"type": "textarea",
"is_required": true,
"order": 7
},
{
"label": "Suggestion for Improvement",
"type": "textarea",
"is_required": true,
"order": 8
},
{
"label": "Final Comments",
"type": "textarea",
"is_required": true,
"order": 9
},
{
"label": "Contoh Text Biasa",
"type": "text",
"is_required": true,
"order": 10
},
{
"label": "Contoh Select Option (cuman single aja gk multiple)",
"type": "select",
"is_required": true,
"options": [
"A. Benar",
"B. Salah",
"C. Salah Tapi Benar"
],
"order": 11
},
{
"label": "Contoh Radio Button (cuman single aja gk multiple)",
"type": "radio",
"is_required": true,
"options": [
"Visa",
"Master Card"
],
"order": 12
}
]
}
]
}metadata.type harus berupa use_competency_library & custom_aspect{
"form_id": 14,
"groups": [
{
"name": "Hasil", required
"metadata": {
"score_weight":70, required
"score_weight_type": "percent" required
},
"fields": [
{
"label": "Achievement Orientation", // ambil dari nama competency yg dipilih, required
"type": "range",
"options": {
"min": 1, required
"max": 8 required
},
"is_required": true, required
"order": 1,
"metadata": {
"competency_id": 4, required
"dimenssion": "A", required
"level_id": 9, required
"level_value": 5, required
"score_weight":70, required
"score_weight_type": "percent", required
"type": "use_competency_library" required
}
}
]
},
{
"name": "Proses", required
"metadata": {
"score_weight":30, required
"score_weight_type": "percent" required
},
"fields": [
{
"label": "Disiplin", required
"type": "range", required
"options": {
"min": 1, required
"max": 8 required
},
"is_required": true,
"order": 0,
"metadata": {
"type": "custom_aspect", required
"score_weight":30, required
"score_weight_type": "percent" required
}
}
]
},
{
"name": "Catatan",
"metadata": {
"score_weight":0,
"score_weight_type": "percent"
},
"fields": [
{
"label": "Disiplin",
"type": "textarea",
"is_required": true,
"order": 0,
"metadata": {
"type": "custom_aspect",
"score_weight":0,
"score_weight_type": "percent"
}
},
{
"label": "Kelemahan",
"type": "textarea",
"is_required": true,
"order": 0,
"metadata": {
"type": "custom_aspect",
"score_weight":0,
"score_weight_type": "percent"
}
}
]
}
]
}