Stay organized with collections
Save and categorize content based on your preferences.
Create a type version
This guide describes how to create a new type version for an existing type in
Manufacturing Data Engine (MDE).
Before you begin
Before you begin creating a new type version for an existing type, you need to
read about how to create a type.
Versioning restrictions
When creating new versions of a type, consider the following limitations:
New versions may:
Add new optional fields to the data schema.
Mark a required field optional in the data schema.
Add new metadata bucket references.
New versions may not:
Remove fields from the data schema.
Change data type of existing fields in the data schema.
Mark an an optional attribute required in the data schema.
Remove metadata bucket references.
Create a new type version
You can create a new type version that associates a new metadata bucket to an
existing type that already has an existing metadata bucket association and
applies typical storage specifications using the API or the Console.
TYPE_NAME: Name of the type for which a new version is created.
EXISTING_BUCKET_NAME: Name of the existing bucket already associated
to this type.
EXISTING_BUCKET_VERSION: Version of the existing bucket already
associated to this type.
NEW_BUCKET_NAME: Name of the new bucket.
NEW_BUCKET_VERSION: The version of the new bucket.
Console
To create a new Type Version using the Console open the Types
section tab.
All available types in the MDE instance are listed in this
section. The list exposes the basic configuration of each type, including:
Name: Unique name of the type. All types must have different
unique names.
Storage: Displays the current storage specifications associated to
the type.
Archetype: Shows the name of the archetype defining the type.
Each type is associated to a unique archetype. The archetype
association can't be modified after the type is created.
Version: Version number of the type. A type can be
versioned. The default view in this list only displays the latest
version available for the type. It's possible to show earlier versions
by un-checking the Show Latest check-box.
Metadata: Renders a color-coded badge for each metadata bucket
associated to the type. Tag metadata buckets are differentiated
from record metadata buckets using a specific icon inside the badge.
Transformations: Displays a badge for each transformation type
associated to the type.
Enabled: Displays a true value if the type is enabled and
a false value if it is not. Users can enable or disable types at
any time.
Active: When types are created take a certain time to provision.
While types are being provisioned, their active status is
false. When they are ready they show as true.
To create a new Type Version in this web interface, click the
Actions icon and click Create New Version. The following form will
appear:
The Create New Type Version opens displaying a form to modify
the settings of the selected type:
The top section of the form displays the name and archetype of the
type. Those attributes can't me modified. Only changing the
metadata specification or modifying the data schema will trigger a
new type version. Modifying the rest of the type parameters will
update the type but won't require a new version.
Both metadata specification and data schema can be modified by
adding new elements. However all new type versions need to be backward
compatible. It isn't possible to remove metadata buckets to create a
new version of the type. It's possible to add new metadata buckets
by opening the Metadata Bucket section.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Create a type version\n=====================\n\nThis guide describes how to create a new type version for an existing type in\nManufacturing Data Engine (MDE).\n\nBefore you begin\n----------------\n\nBefore you begin creating a new type version for an existing type, you need to\nread about [how to create a type](/manufacturing-data-engine/docs/guides/model/how-to-create-a-type).\n\nVersioning restrictions\n-----------------------\n\nWhen creating new versions of a type, consider the following limitations:\n\n**New versions may:**\n\n- Add new optional fields to the data schema.\n- Mark a required field optional in the data schema.\n- Add new metadata bucket references.\n\n**New versions may not:**\n\n- Remove fields from the data schema.\n- Change data type of existing fields in the data schema.\n- Mark an an optional attribute required in the data schema.\n- Remove metadata bucket references.\n\nCreate a new type version\n-------------------------\n\nYou can create a new type version that associates a new metadata bucket to an\nexisting type that already has an existing metadata bucket association and\napplies typical storage specifications using the API or the Console. \n\n### REST\n\nExecute the following REST API request:\n\n`POST /configuration/v1/types/`\u003cvar translate=\"no\"\u003eTYPE_NAME\u003c/var\u003e`/versions` \n\n {\n \"metadataBuckets\": [\n {\n \"bucketName\": \"\u003cvar translate=\"no\"\u003eEXISTING_BUCKET_NAME\u003c/var\u003e\",\n \"version\": \"\u003cvar translate=\"no\"\u003eEXISTING_BUCKET_VERSION\u003c/var\u003e\"\n },\n {\n \"bucketName\": \"\u003cvar translate=\"no\"\u003eNEW_BUCKET_NAME\u003c/var\u003e\",\n \"version\": \"\u003cvar translate=\"no\"\u003eNEW_BUCKET_VERSION\u003c/var\u003e\"\n }\n ],\n \"storageSpecs\": [\n {\n \"sink\": \"BIG_QUERY\",\n \"disabled\": \"false\",\n \"materializeCloudMetadata\": \"true\"\n },\n {\n \"sink\": \"BIG_TABLE\",\n \"disabled\": \"false\",\n \"materializeCloudMetadata\": \"false\"\n },\n {\n \"sink\": \"GCS\",\n \"disabled\": \"false\",\n \"materializeCloudMetadata\": \"false\"\n },\n {\n \"sink\": \"PUBSUB_PROTO\",\n \"disabled\": \"false\",\n \"materializeCloudMetadata\": \"false\"\n },\n {\n \"sink\": \"PUBSUB_JSON\",\n \"disabled\": \"false\",\n \"materializeCloudMetadata\": \"false\"\n }\n ]\n }\n\nReplace the following:\n\n- `TYPE_NAME`: Name of the type for which a new version is created.\n- `EXISTING_BUCKET_NAME`: Name of the existing bucket already associated to this type.\n- `EXISTING_BUCKET_VERSION`: Version of the existing bucket already associated to this type.\n- `NEW_BUCKET_NAME`: Name of the new bucket.\n- `NEW_BUCKET_VERSION`: The version of the new bucket.\n\n### Console\n\n1. To create a new **Type Version** using the Console open the **Types**\n section tab.\n\n2. All available types in the MDE instance are listed in this\n section. The list exposes the basic configuration of each type, including:\n\n- **Name**: Unique name of the type. All types must have different unique names.\n- **Storage**: Displays the current storage specifications associated to the type.\n- **Archetype**: Shows the name of the archetype defining the type. Each type is associated to a unique archetype. The archetype association can't be modified after the type is created.\n- **Version** : Version number of the type. A type can be versioned. The default view in this list only displays the latest version available for the type. It's possible to show earlier versions by un-checking the **Show Latest** check-box.\n- **Metadata** : Renders a color-coded badge for each metadata bucket associated to the type. Tag metadata buckets are differentiated from record metadata buckets using a specific icon inside the badge.\n - **Transformations**: Displays a badge for each transformation type associated to the type.\n- **Enabled** : Displays a `true` value if the type is enabled and a `false` value if it is not. Users can enable or disable types at any time.\n- **Active** : When types are created take a certain time to provision. While types are being provisioned, their active status is `false`. When they are ready they show as `true`.\n\n1. To create a new **Type Version** in this web interface, click the\n **Actions** icon and click **Create New Version**. The following form will\n appear:\n\n2. The **Create New Type Version** opens displaying a form to modify\n the settings of the selected **type**:\n\nThe top section of the form displays the name and archetype of the\ntype. Those attributes can't me modified. Only changing the\nmetadata specification or modifying the data schema will trigger a\nnew type version. Modifying the rest of the type parameters will\nupdate the type but won't require a new version.\n\nBoth metadata specification and data schema can be modified by\nadding new elements. However all new type versions need to be backward\ncompatible. It isn't possible to remove metadata buckets to create a\nnew version of the type. It's possible to add new metadata buckets\nby opening the **Metadata Bucket** section."]]