Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Creating a Schema Object

Creating a Schema Object

You can import a hierarchical schema file or sample file to create a schema object in the repository.
  1. Select a project or folder in the
    Object Explorer
    view.
  2. Click
    File
    New
    Schema
    .
    The
    New Schema
    dialog box appears.
  3. To import a schema file, select
    Create from schema
    , and then browse to and select a hierarchical schema file.
    You can enter a URI or a location on the file system to browse. The Developer tool validates the schema you choose. Review validation messages. You can select an Avro, Parquet, JSON, or .xsd schema file.
    If the URI contains non-English characters, the import might fail. Copy the URI to the address bar in any browser. Copy the location back from the browser. The Developer tool accepts the encoded URI from the browser.
  4. To create a schema from a sample file, select
    Create from a sample file
    , and then browse to and select a hierarchical file.
    You can select an Avro, Parquet, JSON, or XML file.
    If you select a file with a different extension that contains Avro, Parquet, JSON, or XML content, the wizard recognizes the file content.
  5. Optionally, change the schema name.
  6. Click
    Next
    to view a list of the elements and types in the schema.
  7. Click
    Finish
    to import the schema.
    The schema appears under Schema Objects in the
    Object Explorer
    view. The Developer tool stores the schema as an .xsd file.
  8. To change the generated prefix for a schema namespace, select the namespace in the
    Object Explorer
    view. Change the
    Generated Prefix
    property in the
    Namespace
    view.