Creating Schema Manually
Manually creating a schema is a direct way to create a schema for a certain connector type of data. In this way, you have flexibility to add record types and define the name, data type, and size when adding fields in a record type. Since it involves quite a lot of effort to create a complex schema manually, it is usually used to create simple schemas.
To manually create a schema:
1. Make sure the DataConnect Perspective is selected.
2. Select a DataConnect project and do any of the following:
• Go to File > New > Schema.
• Click the arrow in
and then click
Schema.
• Right-click on the project and then click New > Schema.
The New Schema File page is displayed.
| If v9 compatibility mode is enabled, then when you select any of the preceding option, the Select a Schema Type window is displayed. Select Structured Schema and click Next. |
3. Select the project where you want to create the schema and in the Schema File Name field, type a name for the schema and click Next.
The Select Schema Type and Connector page is displayed.
4. Specify the following:
• Choose Schema Type - Select Source to create a schema for the source data or Target to create a schema for the target data.
• Choose Connector - From the drop-down list, select a connector. Connections determine the data types that will be used to build the schema.
5. Click Next.
The Select Schema Creation Method page is displayed.
6. Select Manually and click Finish.
A new schema file is created with a default empty record type R1 and it opens as a separate editor. For R1, you start adding fields with the required name, data type, and size. You can also add new record type, The file extension for schema is .schema.