Skip to main content

Importing Structure Definitions

Typically, you create a structure by importing a definition file. The Editor supports the following import formats:
  • XML Schema (XSD) - This can create many structures that are described by the XML schema definition.

  • Web Services Definition Language (WSDL) - Uses the XSD portion of the WSDL file to create the structures.

  • EDI gXML 1.0 - The Edifecs format for describing structures with EDI representations. The root element of a gXML document is a gXML element that contains a DocumentType attribute. EDI documents must have the DocumentType EDI.

  • XML Sample document - You can import an XML document to create a structure containing all of the elements of that document.

  • JSON Sample document - You can import a JSON document to create a structure containing all of the elements of that document.

  • CSV - You can import a CSV file that contains the field names in the first line to create a structure where each row contains all of the specified fields.

  • COBOL Copybook - A COBOL record definition (or set of definitions). This creates a structure for each top-level record definition.

  • Avro schema - You can import an Avro schema to create structures described by the schema definition.

  • SAP IDocs - You can connect to an SAP system and import an IDoc file, then create a structure based on the content of the IDoc file.

  • OpenAPI Specifications files - You can import Swagger files, which include the descriptions of interactions between a client and a server using the REST API and the definitions for the input and output data structures. The import feature extracts these data structure definitions and creates a Talend Data Mapper Structure with a default JSON representation.
  • Database (deprecated) - When connecting to the database, you import the database definition and create the connection properties using the database import mechanism. This creates the structures that correspond to the database tables.

  • Java class file or JAR file (deprecated) - Used to create structure(s) based on a single class or set of classes contained in folders or a JAR file.

  • XML DTD (deprecated) - This can create many structures that are described by the XML data type definition.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!