Skip to content

Commit

Permalink
Change lines for Loop (formula for min & max)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Jun 4, 2021
1 parent 8326afb commit b1f115b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/main/resources/xsd/LunaticModel.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<xs:extension base="ComponentType">
<xs:sequence>
<xs:element name="loopDependencies" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="lines" type="LinesRoster" minOccurs="0"/>
<xs:element name="lines" type="LinesLoop" minOccurs="0"/>
<xs:element name="components" type="ComponentType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="maxPage" type="xs:string"/>
Expand All @@ -76,6 +76,11 @@
</xs:complexContent>
</xs:complexType>

<xs:complexType name="LinesLoop">
<xs:attribute name="min" type="xs:string" use="required"/>
<xs:attribute name="max" type="xs:string" use="required"/>
</xs:complexType>

<xs:complexType name="ConditionFilterType">
<xs:sequence>
<xs:element name="value" type="xs:string"/>
Expand Down
7 changes: 6 additions & 1 deletion src/main/resources/xsd/LunaticModelFlat.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<xs:complexContent>
<xs:extension base="ComponentType">
<xs:sequence>
<xs:element name="lines" type="LinesRoster" minOccurs="0"/>
<xs:element name="loopDependencies" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="lines" type="LinesLoop" minOccurs="0"/>
<xs:element name="components" type="ComponentType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="maxPage" type="xs:string"/>
Expand All @@ -69,6 +69,11 @@
</xs:complexContent>
</xs:complexType>

<xs:complexType name="LinesLoop">
<xs:attribute name="min" type="xs:string" use="required"/>
<xs:attribute name="max" type="xs:string" use="required"/>
</xs:complexType>

<xs:complexType name="ConditionFilterType">
<xs:sequence>
<xs:element name="value" type="xs:string"/>
Expand Down

0 comments on commit b1f115b

Please sign in to comment.