You can import a hierarchical schema file or sample file to create a schema object in the repository.
Select a project or folder in the
Object Explorer
view.
Click
File
New
Schema
.
The
New Schema
dialog box appears.
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.
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.
Optionally, change the schema name.
Click
Next
to view a list of the elements and types in the schema.
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.
To change the generated prefix for a schema namespace, select the namespace in the