<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="APIXML" targetNamespace="http://api.dmds.com/api/v1/schemas/apixml" elementFormDefault="qualified" xmlns="http://api.dmds.com/api/v1/schemas/apixml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:error="http://api.dmds.com/api/v1/schemas/error" xmlns:comment="http://api.dmds.com/api/v1/schemas/comments" xmlns:dests="http://api.dmds.com/api/v1/schemas/destinations" xmlns:files="http://api.dmds.com/api/v1/schemas/files" xmlns:order="http://api.dmds.com/api/v1/schemas/order" xmlns:ordergroup="http://api.dmds.com/api/v1/schemas/ordergroup" xmlns:createorder="http://api.dmds.com/api/v1/schemas/createorder" xmlns:proofofdelivery="http://api.dmds.com/api/v1/schemas/proofofdelivery" xmlns:productionservices="http://api.dmds.com/api/v1/schemas/productionservices" xmlns:services="http://api.dmds.com/api/v1/schemas/services" xmlns:groupedfiles="http://api.dmds.com/api/v1/schemas/groupedfiles" xmlns:groupedhouseid="http://api.dmds.com/api/v1/schemas/groupedhouseid" xmlns:logs="http://api.dmds.com/api/v1/schemas/logs">
  <!-- Import declarations -->
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/error" schemaLocation="http://api.dmds.com/api/v1/schemas/error" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/comments" schemaLocation="http://api.dmds.com/api/v1/schemas/comments" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/destinations" schemaLocation="http://api.dmds.com/api/v1/schemas/destinations" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/files" schemaLocation="http://api.dmds.com/api/v1/schemas/files" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/order" schemaLocation="http://api.dmds.com/api/v1/schemas/order" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/ordergroup" schemaLocation="http://api.dmds.com/api/v1/schemas/ordergroup" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/proofofdelivery" schemaLocation="http://api.dmds.com/api/v1/schemas/proofofdelivery" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/productionservices" schemaLocation="http://api.dmds.com/api/v1/schemas/productionservices" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/services" schemaLocation="http://api.dmds.com/api/v1/schemas/services" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/groupedfiles" schemaLocation="http://api.dmds.com/api/v1/schemas/groupedfiles" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/groupedhouseid" schemaLocation="http://api.dmds.com/api/v1/schemas/groupedhouseid" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/createorder" schemaLocation="http://api.dmds.com/api/v1/schemas/createorder" />
  <xs:import namespace="http://api.dmds.com/api/v1/schemas/logs" schemaLocation="http://api.dmds.com/api/v1/schemas/logs" />
  <!-- API element definition -->
  <xs:element name="APIXML">
    <xs:complexType>
      <xs:choice>
        <xs:element name="Error" type="error:Error" minOccurs="0" maxOccurs="1" />
        <xs:element name="Comments" type="comment:Comments" minOccurs="0" maxOccurs="1" />
        <xs:element name="Destinations" type="dests:Destinations" minOccurs="0" maxOccurs="1" />
        <xs:element name="Files" type="files:Files" minOccurs="0" maxOccurs="1" />
        <xs:element name="Order" type="order:Order" minOccurs="0" maxOccurs="1" />
        <xs:element name="OrderGroup" type="ordergroup:OrderGroup" minOccurs="0" maxOccurs="1" />
        <xs:element name="CreateOrder" type="createorder:CreateOrder" minOccurs="0" maxOccurs="1" />
        <xs:element name="ProofOfDelivery" type="proofofdelivery:proofofdelivery" minOccurs="0" maxOccurs="1" />
        <xs:element name="ProductionServices" type="productionservices:productionservices" minOccurs="0" maxOccurs="1" />
        <xs:element name="Services" type="services:services" minOccurs="0" maxOccurs="1" />
        <xs:element name="GroupedFiles" type="groupedfiles:Assets" minOccurs="0" maxOccurs="1" />
        <xs:element name="GroupedHouseID" type="groupedhouseid:groupedhouseid" minOccurs="0" maxOccurs="1" />
        <xs:element name="Logs" type="logs:logs" minOccurs="0" maxOccurs="1" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>