Skip to main content

Project

The Project data type represents the overall structure of a Palito project. It includes metadata such as the project name, ship name, company name, optional node fields, and a list of versions.


Type Definition (TypeScript)

Project = {
projectName: string;
shipName: string;
compName: string;
optionalFields?: {
key: string;
label: string;
}[];
versions: Version[];
};

Field Descriptions

FieldTypeDescription
projectNamestringName of the project
shipNamestringName of the ship associated with the project
compNamestringName of the company
optionalFields{ key: string, label: string }[]?Optional array of additional node property objects
versionsVersion[]List of version objects included in the project

Example

{
"projectName": "Sample Project",
"shipName": "Sample Ship",
"compName": "Sample Company",
"optionalFields": [
{
"key": "Sample1",
"label": "Sample Property1"
}
],
"versions": [
{
"version": 1,
"versionMemo": "Insert Version Memo",
"editTime": "2025-07-22 15:38:45",
"zones": [
{
"id": "zone-1",
"name": "Zone 1",
"nodes": [
// node data here
]
}
]
}
]
}
optional properties 적용 예시