<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://crown.esrd.net/crown"
  targetNamespace="http://crown.esrd.net/crown" xmlns:crown="http://crown.esrd.net/crown"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <xsd:include schemaLocation="crown-form2728.xsd" />
  <xsd:include schemaLocation="crown-form2746.xsd" />

  <xsd:complexType name="Form">
    <xsd:sequence>
      <xsd:element name="orgFacilityCode" type="xsd:string" />
      <xsd:element name="formAction" type="FormAction" />
      <xsd:choice>
        <xsd:element name="form2728" type="Form2728" minOccurs="0" />
        <xsd:element name="form2746" type="Form2746" minOccurs="0" />
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>

  <xsd:simpleType name="FormAction">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Save" />
      <xsd:enumeration value="Submit" />
    </xsd:restriction>
  </xsd:simpleType>

</xsd:schema>
