Skip to content

Commit

Permalink
Course: fix export xsd for passwords (43124, 43230)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Dec 13, 2024
1 parent 6827c6a commit 8699fc5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
12 changes: 7 additions & 5 deletions xml/SchemaValidation/ilias_crs_5_0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@
</xs:complexType>

<xs:complexType name="RegistrationAvailabilityStatus">
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:sequence>
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Password" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="registrationType" type="registrationTypes" use="required"/>
<xs:attribute name="notification" type="binaryChoiceString" use="required"/>
<xs:attribute name="waitingList" type="binaryChoiceString" use="required"/>
Expand Down Expand Up @@ -236,4 +238,4 @@
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
</xs:schema>
12 changes: 7 additions & 5 deletions xml/SchemaValidation/ilias_crs_7.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@
</xs:complexType>

<xs:complexType name="RegistrationAvailabilityStatus">
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:sequence>
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Password" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="registrationType" type="registrationTypes" use="required"/>
<xs:attribute name="notification" type="binaryChoiceString" use="required"/>
<xs:attribute name="waitingList" type="binaryChoiceString" use="required"/>
Expand Down Expand Up @@ -236,4 +238,4 @@
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
</xs:schema>
12 changes: 7 additions & 5 deletions xml/SchemaValidation/ilias_crs_9_0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,13 @@
</xs:complexType>

<xs:complexType name="RegistrationAvailabilityStatus">
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:sequence>
<xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Disabled" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="1" name="Password" type="xs:string"/>
<xs:group ref="AvailabilityBaseChoices"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="registrationType" type="registrationTypes" use="required"/>
<xs:attribute name="notification" type="binaryChoiceString" use="required"/>
<xs:attribute name="waitingList" type="binaryChoiceString" use="required"/>
Expand Down Expand Up @@ -236,4 +238,4 @@
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
</xs:schema>

0 comments on commit 8699fc5

Please sign in to comment.