~srushe/cricsheet-xml-converter

30fba5431e9a342064672260bd4358ebfa342210 — Stephen Rushe 11 months ago e4e4be2 master
Support uncontested tosses, and forfeited innings
1 files changed, 4 insertions(+), 1 deletions(-)

M schema.xsd
M schema.xsd => schema.xsd +4 -1
@@ 135,6 135,7 @@
                <xs:complexType>
                  <xs:sequence>
                    <xs:element type="xs:string" name="decision"/>
                    <xs:element type="xs:boolean" name="uncontested" minOccurs="0"/>
                    <xs:element type="xs:string" name="winner"/>
                  </xs:sequence>
                </xs:complexType>


@@ 158,6 159,7 @@
                  <xs:sequence>
                    <xs:element type="xs:int" name="inningsNumber"/>
                    <xs:element type="xs:string" name="team"/>
                    <xs:element type="xs:boolean" name="forfeited" minOccurs="0" maxOccurs="1"/>
                    <xs:element name="penalty_runs" minOccurs="0">
                      <xs:complexType>
                        <xs:sequence>


@@ 166,7 168,7 @@
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="deliveries">
                    <xs:element name="deliveries" minOccurs="0" maxOccurs="1">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="delivery" minOccurs="1" maxOccurs="unbounded">


@@ 263,6 265,7 @@
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element type="xs:boolean" name="declared" minOccurs="0" maxOccurs="1"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>