<schema targetNamespace="http://vortex.uio.no" xmlns:vrtx="http://vortex.uio.no" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  <!-- xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" -->
  <element name="schema" type="vrtx:schemaType"/>
  <complexType name="schemaType">
    <choice minOccurs="0" maxOccurs="unbounded">
      <element name="element" type="vrtx:elementType"/>
      <element name="complexType" type="vrtx:complexTypeType"/>
      <element name="simpleType" type="vrtx:simpleTypeType"/>
      <!-- xsd:element name="vrtx:freetextType" type="vrtx:freetextTypeType" /-->
    </choice>
    <!-- xsd:attribute name="xmlns:vrtx" type="xsd:string" fixed="https://vortex.uio.no" use="required"/ -->
  </complexType>
  <complexType name="elementType">
    <choice>
      <element name="complexType" type="vrtx:complexTypeType"/>
    </choice>
    <attribute name="name" type="xsd:string"/>
    <attribute name="type" type="xsd:string"/>
  </complexType>
  <complexType name="complexTypeType">
    <choice minOccurs="0">
      <element name="sequence" type="vrtx:sequenceType"/>
      <element name="choice" type="vrtx:choiceType"/>
      <element name="complexContent" type="vrtx:complexContentType"/>
    </choice>
    <attribute name="name" type="xsd:string"/>
  </complexType>
  <complexType name="simpleTypeType">
    <choice minOccurs="0">
      <element name="restriction" type="vrtx:restrictionType"/>
    </choice>
    <attribute name="name" type="xsd:string" use="required"/>
  </complexType>
  <complexType name="sequenceType">
    <sequence maxOccurs="unbounded">
      <element name="element" type="vrtx:elementType"/>
    </sequence>
    <attribute name="minOccurs" type="xsd:integer" use="required" fixed="1"/>
    <attribute name="maxOccurs" type="xsd:string" use="required" fixed="unbounded"/>
  </complexType>
  <complexType name="choiceType">
    <choice maxOccurs="unbounded">
      <element name="element" type="vrtx:elementType"/>
    </choice>
    <attribute name="minOccurs" type="xsd:integer" use="required" fixed="1"/>
    <attribute name="maxOccurs" type="xsd:string" use="required" fixed="unbounded"/>
  </complexType>
  <complexType name="complexContentType">
    <choice minOccurs="0">
      <element name="restriction" type="vrtx:restrictionType"/>
    </choice>
  </complexType>
  <complexType name="restrictionType">
    <choice>
      <element name="attribute" type="vrtx:attributeType"/>
      <element name="enumeration" type="vrtx:enumerationType"/>
    </choice>
    <attribute name="base" type="xsd:string" use="required" fixed="xsd:anyType"/>
  </complexType>
  <complexType name="attributeType">
    <choice minOccurs="0">
      <element name="simpleType" type="vrtx:simpleTypeType"/>
    </choice>
    <attribute name="name" type="xsd:string" use="required"/>
    <attribute name="type" type="vrtx:attributeValueType" use="required"/>
  </complexType>
  <complexType name="enumerationType">
    <complexContent>
      <restriction base="xsd:anyType">
        <attribute name="value" type="vrtx:attributeValueType"/>
      </restriction>
    </complexContent>
  </complexType>
  <simpleType name="attributeValueType">
    <restriction base="xsd:string">
      <enumeration value="xsd:string"/>
    </restriction>
  </simpleType>
</schema>
