Defining a schema file

The schema file describes the structure of your incoming data file. The format of the schema determines how the data is translated by the service and should unambiguously determine the parsing of the flat file data.

File schemas are required on a per API per file format basis (for example, you may need to create a positional createOrder schema or a delimited createOrder schema), so you need to write least one unique schema per API you intend to execute. A schema file is written using XML.

The schema file is stored in any location accessible as a CLASSPATH variable. For sample schema files that correspond to the provided sample input files, see the files in the <INSTALL_DIR>/xapidocs/code_examples/flatfile/ directory.

XML to XML translation does not require a schema or XSD file.