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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

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.

0 COMMENTS

We’d like to hear from you!