<?xml encoding="UTF-8"?>

<!-- default namespace = "http://ws.slacal.org/schema/REST/uploadImageRequest/2007/10/15" -->

<!-- default namespace = "http://ws.slacal.org/schema/REST/uploadImageRequest/2007/10/15" -->

<!ELEMENT UploadImageRequest (SLA_Broker_Number?,Broker_Batch_Date?,
                              Broker_Batch_Id?,SLA_Batch_Id?,
                              Item_Number?,Tag_Number?,Page_Number?,
                              Page_Count?,Image_Data)>

<!--
Optional: the SLA Broker Number for the image upload.
This may be needed if a brokerage main office is uploading batches
for its branches to properly associate the batch with the correct
branch (when the branch office has its own SLA Broker Number)
-->

<!ELEMENT SLA_Broker_Number (#PCDATA)>

<!--
All uploaded images need to be associated with the corresponding
batch. This can be done either with the Brokers Batch Date and Id
or with the SLA Batch Id (combination of SLA Batch Date and Number).
If both Broker and SLA batch identification are known please enter
both.
-->

<!-- Broker Batch Date and Id -->

<!ELEMENT Broker_Batch_Date (#PCDATA)>

<!ELEMENT Broker_Batch_Id (#PCDATA)>

<!-- SLA Batch Id in the format "YYYY-MM-DD/####". -->

<!ELEMENT SLA_Batch_Id (#PCDATA)>

<!--
The number of the item this image upload belongs to. If the image
upload is not for a particular item and instead relates to the
entire batch please use Item_Number 0 or omit this XML tag.
-->

<!ELEMENT Item_Number (#PCDATA)>

<!-- Tag Number is only used for image uploads in response to a TAG. -->

<!ELEMENT Tag_Number (#PCDATA)>

<!--
Page Number is the number of the page for this Item.
For multi page images enter the number of the first page.
-->

<!ELEMENT Page_Number (#PCDATA)>

<!--
Page Count is the number of pages if this is a multi page image.
Enter 1 or omit this XML tag for single page images.
-->

<!ELEMENT Page_Count (#PCDATA)>

<!-- Base64 encoded image data -->

<!ELEMENT Image_Data (#PCDATA)>
