Data contoh: data
data.json
{
"_note": "Data contoh (mock), karangan. Bentuk mengikuti contract.md A2, B1, C2. Salin teks dari tabel Enum di contract.",
"vesselType": "LNG Carrier",
"vesselTypes": [ { "label": "LNG Carrier", "value": "lng" }, { "label": "Bulk Carrier", "value": "bulk" }, { "label": "Oil Tanker", "value": "tanker" } ],
"ranks": [ { "label": "Master", "value": "master" }, { "label": "Chief Officer", "value": "chief" }, { "label": "2nd Officer", "value": "second" }, { "label": "3rd Officer", "value": "third" } ],
"requirements": [
{ "rankId": "chief", "rankName": "Chief Officer", "isEnabled": true, "duration": 24, "rows": [ { "key": "c-1", "target": "master", "types": ["bulk"] } ] },
{ "rankId": "second", "rankName": "2nd Officer", "isEnabled": true, "duration": 18, "rows": [ { "key": "s-1", "target": "chief", "types": ["lng"] } ] },
{ "rankId": "third", "rankName": "3rd Officer", "isEnabled": true, "duration": 12, "rows": [ { "key": "t-1", "target": "third", "types": ["bulk"] } ] }
],
"reasons": {
"NO_EXPERIENCE": { "heading": "No Experience Data", "description": "This crew does not have any experience yet." },
"NO_CONFIGURATION": { "heading": "No configuration added", "description": "This crew does not have any promotion settings configured." },
"NO_APPROVAL": { "heading": "Crew not have approval", "description": "This crew does not have supervisor approval for promotion" },
"INSUFFICIENT_SEA_TIME": { "heading": "Seatime not meets promotion criteria", "description": "This crew lacks the necessary experience for promotion." }
},
"groupTitles": { "CURRENT": "Suggestions for the current vessel type.", "OTHER": "Suggestions for other vessel type." },
"crews": [
{ "id": "c1", "name": "Andi Contoh", "rank": "Chief Officer", "seatime": "2y 4m", "reason": null, "status": "Eligible", "latest": { "rank": "Chief Officer", "seaTime": "2y 4m" }, "items": [ { "group": "CURRENT", "rank": "Master", "vessel": "MV Contoh Satu", "type": "LNG Carrier" }, { "group": "OTHER", "rank": "Master", "vessel": "MV Contoh Tiga", "type": "Bulk Carrier" } ] },
{ "id": "c2", "name": "Budi Percobaan", "rank": "2nd Officer", "seatime": "1y 1m", "reason": null, "status": "Eligible", "latest": { "rank": "2nd Officer", "seaTime": "1y 1m" }, "items": [ { "group": "OTHER", "rank": "Chief Officer", "vessel": "MV Contoh Dua", "type": "Bulk Carrier" } ] },
{ "id": "c3", "name": "Citra Fiktif", "rank": "Cook", "seatime": "8m", "reason": "NO_CONFIGURATION", "status": "No Configuration", "latest": { "rank": "Cook", "seaTime": "8m" }, "items": [] },
{ "id": "c4", "name": "Dewi Sampel", "rank": "Able Seaman", "seatime": "1y 6m", "reason": "NO_APPROVAL", "status": "Not Eligible", "latest": { "rank": "Able Seaman", "seaTime": "1y 6m" }, "items": [] },
{ "id": "c5", "name": "Eko Rekaan", "rank": "Oiler", "seatime": "0m", "reason": "INSUFFICIENT_SEA_TIME", "status": "Not Eligible", "latest": { "rank": "Oiler", "seaTime": "" }, "items": [] },
{ "id": "c6", "name": "Fajar Imajiner", "rank": "Ordinary Seaman", "seatime": "-", "reason": "NO_EXPERIENCE", "status": "Not Applicable", "latest": null, "items": [] },
{ "id": "c7", "name": "Gita Rekaan", "rank": "3rd Officer", "seatime": "1y 0m", "reason": null, "status": "Eligible", "latest": { "rank": "3rd Officer", "seaTime": "1y 0m" }, "items": [ { "group": "CURRENT", "rank": "2nd Officer", "vessel": "MV Contoh Satu", "type": "LNG Carrier" }, { "group": "OTHER", "rank": "3rd Officer", "vessel": "MV Contoh Dua", "type": "Bulk Carrier" } ] },
{ "id": "c8", "name": "Hana Percobaan", "rank": "3rd Officer", "seatime": "10m", "reason": "NO_APPROVAL", "status": "Not Eligible", "latest": { "rank": "3rd Officer", "seaTime": "10m" }, "items": [] }
],
"messages": {
"sameRank": "For same-rank promotions, you cannot choose a same vessel type.",
"filterError": "Could not apply the filter. Please check your internet connection.",
"saveFailed": "Failed to save the promotion plan. Please try again.",
"sameRankOff": "Target rank must differ from the current rank."
}
}