<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- 
This specification introduces the SET.

A set is like a track, only its elements do not depend on time
(primary tracks) or other elements (singleton or span tracks). A set
is simply a list of object, e.g. persons, real-world objects or
locations. You can view, add and modify set elements by clicking on
the "view > sets" menu in Anvil.
-->

<annotation-spec>
  <head>
    <valuetype-def>
      <valueset name="player_action">
          <value-el>forehand</value-el>
          <value-el>backhand</value-el>
		  <value-el>throw</value-el>
          <value-el>serve</value-el>
          <value-el>smash</value-el>
		  <value-el>forehand-volley</value-el>
		  <value-el>backhand-volley</value-el>
		  <value-el>forehand-dive</value-el>
		  <value-el>backhand-dive</value-el>
		  <value-el>miss</value-el>
      </valueset>
	  
	  <valueset name="ball_action">
		  <value-el>shot</value-el>
          <value-el>bounce</value-el>
          <value-el>cross_net</value-el>
          <value-el>out</value-el>
		  <value-el>hit_net</value-el>
		  <value-el>hit_tape</value-el>
		  <value-el>fault</value-el>
      </valueset>
	  
	  <valueset name="position_height">
          <value-el>low</value-el>
		  <value-el>middle</value-el>
          <value-el>high</value-el>
      </valueset> 
	  
	  <valueset name="position_side">
          <value-el>server</value-el>
          <value-el>reciever</value-el>
      </valueset> 
	  
	  <valueset name="position_lateral">
          <value-el>left</value-el>
          <value-el>middle</value-el>
          <value-el>right</value-el>
      </valueset>

	  <valueset name="position_longitudinal">
          <value-el>net</value-el>
          <value-el>mid-court</value-el>
          <value-el>baseline</value-el>
      </valueset>	  
	  
    </valuetype-def>
  </head>

  <body>

    <track-spec name="ball" type="primary">
      <attribute name="action" valuetype="ball_action" />
	  <attribute name="pos_lat" valuetype="position_lateral" />
	  <attribute name="pos_long" valuetype="position_longitudinal" />
	  <attribute name="pos_side" valuetype="position_side" />
	  <attribute name="pos_height" valuetype="position_height" />
    </track-spec>
	
	<track-spec name="player1" type="primary">
      <attribute name="action" valuetype="player_action" />
	  <attribute name="pos_lat" valuetype="position_lateral" />
	  <attribute name="pos_long" valuetype="position_longitudinal" />
    </track-spec>
	
	<track-spec name="player2" type="primary">
      <attribute name="action" valuetype="player_action" />
	  <attribute name="pos_lat" valuetype="position_lateral" />
	  <attribute name="pos_long" valuetype="position_longitudinal" />
    </track-spec>
	
	<track-spec name="player3" type="primary">
      <attribute name="action" valuetype="player_action" />
	  <attribute name="pos_lat" valuetype="position_lateral" />
	  <attribute name="pos_long" valuetype="position_longitudinal" />
    </track-spec>
	
	<track-spec name="player4" type="primary">
      <attribute name="action" valuetype="player_action" />
	  <attribute name="pos_lat" valuetype="position_lateral" />
	  <attribute name="pos_long" valuetype="position_longitudinal" />
    </track-spec>
	
	<track-spec name="score" type="primary">
      <attribute name="side" valuetype="position_side" />
    </track-spec>

  </body>
</annotation-spec>