Data contoh: data
data.json
{
"_note": "Data contoh (mock), karangan. Bentuk mengikuti contract.md C1/C2.",
"vessel": { "id": "v1", "name": "MV Contoh Satu" },
"revision": 4,
"defaultColumns": [
{ "key": "CREW_NAME", "label": "Crew Name", "position": "LEADING", "frozen": true },
{ "key": "MOVEMENT", "label": "Movement", "position": "LEADING", "frozen": true },
{ "key": "REMARKS", "label": "Remarks", "position": "TRAILING", "frozen": false }
],
"columns": [
{ "measurementId": "m1", "name": "Sea Day", "visible": true },
{ "measurementId": "m2", "name": "Distance", "visible": false },
{ "measurementId": "m3", "name": "Port Day", "visible": true },
{ "measurementId": "m4", "name": "Standby Day", "visible": true },
{ "measurementId": "m5", "name": "Cargo Hours", "visible": false }
],
"crews": [
{ "id": "c1", "name": "Andi Contoh", "rank": "Master", "movement": "On board", "remarks": "-", "values": { "m1": 24, "m2": 3120, "m3": 4, "m4": 2, "m5": 18 } },
{ "id": "c2", "name": "Budi Percobaan", "rank": "Chief Officer", "movement": "Sign on 12 Jan", "remarks": "Relief", "values": { "m1": 24, "m2": 3120, "m3": 4, "m4": 0, "m5": 12 } },
{ "id": "c3", "name": "Citra Fiktif", "rank": "2nd Officer", "movement": "On board", "remarks": "-", "values": { "m1": 22, "m2": 2890, "m3": 3, "m4": 1, "m5": 9 } },
{ "id": "c4", "name": "Dewi Sampel", "rank": "Bosun", "movement": "Sign off 20 Jan", "remarks": "-", "values": { "m1": 20, "m2": 2600, "m3": 2, "m4": 3, "m5": 0 } }
],
"messages": {
"saveError": "Failed to manage table. Please check your internet connection and try again.",
"conflict": "The table layout was changed by someone else. Reload to see the latest layout.",
"denied": "You do not have access to change this table layout.",
"deleteError": "Delete failed; the table must have at least one item to function properly.",
"leaveTitle": "Leave Without Saving?",
"leaveBody": "Your progress will not be saved if you leave this page."
}
}