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
| Field | Type | Description |
|---|---|---|
projectName | string | Name of the project |
shipName | string | Name of the ship associated with the project |
compName | string | Name of the company |
optionalFields | { key: string, label: string }[]? | Optional array of additional node property objects |
versions | Version[] | 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
]
}
]
}
]
}
