e="git"/&gt;
      &lt;xs:enumeration value="svn"/&gt;
      &lt;xs:enumeration value="other"/&gt;
    &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;

  &lt;!-- URL type (optionally describes public repository) --&gt;
  &lt;xs:complexType name="UrlType"&gt;
    &lt;xs:simpleContent&gt;
      &lt;xs:extension base="xs:anyURI"&gt;
        &lt;xs:attribute name="repoType"     type="RepositoryTypeEnum" use="optional" /&gt;
        &lt;xs:attribute name="repoTag"      type="xs:string"          use="optional" /