<element name="action-baseball-play">
<annotation>
<documentation>Issued when a non-scoring play occurred. | Records a hit, a strikeout, etc.</documentation>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="sportsml:action-baseball-pitch" />
</choice>
<attributeGroup ref="sportsml:globalAttributes" />
<attributeGroup ref="sportsml:eventStateBaseball" />
<attribute name="play-type" type="sportsml:playType.Baseball" use="optional">
<annotation>
<documentation>A description for the play.</documentation>
</annotation>
</attribute>
<attribute name="play-scorekeepers-notation" type="string" use="optional">
<annotation>
<documentation>Denotes which fielders touched the ball during the play. Example: 6-4-3.</documentation>
</annotation>
</attribute>
<attribute name="walk-type" type="sportsml:walkType.Baseball" use="optional">
<annotation>
<documentation>If this play was a base-on-balls, the type of walk.</documentation>
</annotation>
</attribute>
<attribute name="hit-type" type="sportsml:hitType.Baseball" use="optional">
<annotation>
<documentation>A description for the hit.</documentation>
</annotation>
</attribute>
<attribute name="hit-by-pitch-type" type="sportsml:hitByPitchType.Baseball" use="optional">
<annotation>
<documentation>A description for how or why a batter was hit by a pitch.</documentation>
</annotation>
</attribute>
<attribute name="out-type" type="sportsml:outType.Baseball" use="optional">
<annotation>
<documentation>How the out was made.</documentation>
</annotation>
</attribute>
<attribute name="outs-recorded" use="optional">
<annotation>
<documentation>How many outs were recorded on the play. Values are 1, 2, 3.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="none" />
<enumeration value="one" />
<enumeration value="two" />
<enumeration value="three" />
</restriction>
</simpleType>
</attribute>
<attribute name="comment" type="string" use="optional">
<annotation>
<documentation>Textual comment about the action.</documentation>
</annotation>
</attribute>
<attribute name="batter-advance" use="optional">
<annotation>
<documentation>The base to which the batter advanced.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="1" />
<enumeration value="2" />
<enumeration value="3" />
<enumeration value="home" />
</restriction>
</simpleType>
</attribute>
<attribute name="runner-on-first-advance" use="optional">
<annotation>
<documentation>The base to which the runner on first base advanced.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="2" />
<enumeration value="3" />
<enumeration value="home" />
</restriction>
</simpleType>
</attribute>
<attribute name="runner-on-second-advance" use="optional">
<annotation>
<documentation>The base to which the runner on second base advanced.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="3" />
<enumeration value="home" />
</restriction>
</simpleType>
</attribute>
<attribute name="runner-on-third-advance" use="optional">
<annotation>
<documentation>The base to which the runner on third base advanced.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="home" />
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
|