All schema definitions are provided in 3 common formats: Relax NG, XML Schema and Document Type Definition. For Relax NG the compact syntax was chosen since it is much more readable. The Relax NG schema also contains comments for every element. To the extend possible these comments have been preserved while translating the schema into the other two formats.
The schema definition for a batch is available in its entirety (SLACAL_BATCH) as well as broken down into the following components:
Please note that only complete batches should be uploaded to the SLA. Do not upload individual XML forms.
| Description | Relax NG Schema | XML Schema | Document Type Definition |
|---|---|---|---|
| BATCH | batch.rnc | batch.xsd | batch.dtd |
| ITEM | item.rnc | item.xsd | item.dtd |
| SL1 | sl1.rnc | sl1.xsd | sl1.dtd |
| GAP | gap.rnc | gap.xsd | gap.dtd |
| SL2 | sl2.rnc | sl2.xsd | sl2.dtd |
| SLACAL_BATCH | slacal_batch.rnc | slacal_batch.xsd | N/A |
The REST webservices UploadImage and UploadXML expect an XML request document to be posted and will return an XML response document. The schemas for these request and response documents are listed in the table below.
| Description | Relax NG Schema | XML Schema | Document Type Definition |
|---|---|---|---|
| REST UploadImage Request | restimgreq.rnc | restimgreq.xsd | restimgreq.dtd |
| REST UploadImage Response | restimgrsp.rnc | restimgrsp.xsd | restimgrsp.dtd |
| REST UploadXML Response | restxmlrsp.rnc | restxmlrsp.xsd | restxmlrsp.dtd |
There is no separate schema for the UploadXML request REST service. The request document in that case is the SLACAL_BATCH XML data.