Working with libraries and resources
Use the Schema Library Manager to import resources, such as JSON files, and to create and manage libraries of resources.
Libraries are stored in the metadata repository and are available for use in any job that uses the Hierarchical Data stage. In the metadata repository, a contract library is represented by the library name.
|Refreshing library lists||Click the Refresh icon at the top of the Libraries pane.|
|Removing libraries||Select a library, and click Remove.|
|Opening libraries||Select a library, and click Open. You can open a library only if it has been validated and has no errors. The Types tab displays a list of namespaces and the belonging types. To view the schema for a type, select a type from the Types tab. To view the facets and attributes for a node, select the node from the Schema tab.|
|Recategorizing libraries||To move a library to a different category, edit the Category field in the library details.|
|Displaying the types in schemas||Double-click the name of a library to display the Types and Schema tabs. On the Types tab, click the plus sign beside a namespace to display a list of types that belong to the namespace. Click a type to display the schema for the type on the Schemas tab. Browsing the types and their structures is useful for a variety of reasons. You can determine which type corresponds to a specific document instance by matching the top-level element name with the type name. You can determine which pieces of information are optional but could be included in similar documents. You can view the characteristics of the data, so that you can understand how to set transformation options.|
|Exporting resources||Select the resource, and then click Export to save a copy of the resource on the local computer.|
|Updating resources||If you modify a resource and want to update it in the library, select the resource, and then click Replace Selected Resource. The updated resource has no effect on jobs that used the earlier version of the resource. To use the updated version in an existing job, you must edit the assembly.|
|Deleting resources||Click the Delete icon that displays beside the resource name. Deleting a resource has no effect on existing jobs that use the resource.|
|Displaying the resources in a library||Click the name of a library. For the Hierarchical Data stage, the Resources view displays a file location and a namespace for each schema in the library. Click the name of a schema to display additional details about each schema.|
|Editing resource details||Only the File Location and Description fields can be updated. After you update the file location, the library is automatically validated.|