--- title: "Custom type definitions" slug: "custom-custom-type-definition" status: "update" updated: 2026-11-25T14:36:35Z published: 2026-11-25T14:36:35Z canonical: "docs.lobstersoftware.com/custom-custom-type-definition" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom type definitions The **Custom type definitions** menu item is located in the main menu under **Orchestration > Custom type definitions**. It opens an overview of all created type definitions. A type definition is of one of the following types: - [Custom entity type](/v1/docs/en/custom-custom-entity-type) - [Custom attribute](/v1/docs/en/custom-attributes) - [Custom referenced entity](/v1/docs/en/custom-custom-referenced-entity-type) - [Custom enum configuration](/v1/docs/en/custom-custom-dynamic-enum-configuration-type) - [Custom client object structure](/v1/docs/en/custom-custom-client-structure-type) Within a type definition, you define its components: - [Custom fields](/v1/docs/en/custom-field-types) - [Extensions](/v1/docs/en/custom-custom-type-extension) - [Indexes](/v1/docs/en/custom-type-indexes) ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-DE28JCXM.png) *Overview of the custom type definitions.* ## Prerequisites - Changing and creating custom type definitions requires basic knowledge of relational databases. Training on the subject is recommended. - Creating and editing custom type definitions requires the Create, Read, Update, and Delete permissions, which are managed in the [Roles](/v1/docs/en/base-role) menu. ## Effects on the database Custom type definitions determine how custom data structures for persistable data objects are built. When you save a type definition, the system therefore checks whether this requires changes to existing database structures: - A progress indicator appears during the check because it can take some time. - If changes are required, the system lists them in a dialog window and submits them to you for confirmation. You can only confirm or reject the listed changes as a whole. ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-4DRXNXNZ.png) > [!CAUTION] > **CAUTION****:** > > Changes to table columns that already contain data may require existing content to be deleted. Only confirm database changes when you can ensure that no other user and no Import interface accesses the system until the changes are complete. Depending on the situation, it can help to announce system maintenance. ## Creating a type definition There are two ways to create a new type definition: - **Manually** – you create the type definition yourself and define its components step by step. - **AI-assisted with** Pathfinder – Pathfinder generates the type definition from a description or an uploaded document. ### Creating manually The **New** button opens a window for creating a new type definition. **Namespace** and **Name** are required fields. Translations and a description are optional. ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-QRE8NPZQ.png) *Creating a new type definition using the* ***New*** *button.* ### Creating with Pathfinder The **Pathfinder** tab contains the **Build with AI** button. Pathfinder uses it to generate a type definition with AI. For detailed instructions, see [Creating custom type definitions with Pathfinder](/v1/docs/en/pathfinder-custom-type-definitions). ## Create import profile The **Create import profile** button essentially aims to facilitate the import of data for suitable **custom type definitions**. - A new Profile with a batch import target structure is created at the touch of a button. The *object structure* for the selected type definition is automatically inserted into its `batch` node. - Phase 3 (see screenshot below) is thus prepared so that the Mapping can start immediately, depending on a specific *source structure*. - Typical settings for a batch import are also assigned for Phase 5 and Phase 6. **Example:** *type definition* *Custom entity type* *"Tour"* ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-45KJTX52.png) **Example:** *automatically created profile* *Batch Import* ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-9Q55N2AM.png) ## Cyclical definitions A cyclical definition occurs when a type definition refers back to its own type, either directly or through a chain of fields or attributes. Such a self-reference is useful when objects of the same type are linked to each other, for example, a shipment that refers to a previous shipment. Cycles are structurally permitted; you can create a type definition that refers to its own type. In the **data**, however, cycles are not permitted. A specific object must not contain itself, either directly or through a chain of other objects. For example: - Shipment1 → CustomAttribute → Shipment1 - not permitted - Shipment1 → CustomAttribute → Shipment2 - permitted A reference to the same entity is only possible if the target object is only referenced and not embedded. To achieve this, enable the **Reference only** option for the [Linked entity](/v1/docs/en/custom-custom-many-to-one-field). Only the ID of the target object is then stored, so that no infinitely nested object is created. Lobster Data Platform's AI helper that answers questions based on product documentation and can generate content such as cron expressions, SQL queries, and regular expressions (regex). The range of functions is continuously expanded. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. Mapping: Rules transfer the data from the source structure to the target structure. This is the core of the profile. The core task of Phase 3. Mapping transfers data from the source structure to the target structure according to defined rules. In the process, fields can be transformed, functions can be called, and values can be calculated. Integration Units: Optional downstream transformations, such as conversion to XML format. Responses: The profile stores the source data or sends it, for example, via FTP, HTTP, or e-mail. ## Related - [Creating custom type definitions with Pathfinder](/pathfinder-custom-type-definitions.md)