<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="resourceType">
    <xs:complexType>
      <xs:element ref="childResourceType1" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="childResourceTypeN" minOccurs="0" maxOccurs="unbounded"/>
      <xs:complexType>
        <xs:element ref="collectionResource1" minOccurs="0" maxOccurs="unbounded"/>
      </xs:complexType>
      <xs:complexType>
        <xs:element ref="collectionResourceTypeN" minOccurs="0" maxOccurs="unbounded"/>
      </xs:complexType>
      <xs:element name="Name of resource specific attribute1" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
      <xs:element name="Name of resource specici attributeN" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
    </xs:complexType>
  </xs:element>
</xs:schema>
