User Tools

Site Tools


stats:schema:exercise

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
stats:schema:exercise [2011/11/03 12:29]
Patrick Michel
stats:schema:exercise [2013/07/10 12:49] (current)
Line 6: Line 6:
  
 <code xcend> <code xcend>
-  ​element exercises {                +  element exercise * id { 
-    ​element exercise * id { +    attribute lecture ​          ​{ string } 
-      attribute lecture ​            ​{ string } +    attribute term              { string } 
-      attribute term                { string } +    attribute open              { boolean } 
-      attribute open                { boolean } + 
-  +    element assistant * account {[ exists /​account[./​account]/​assistant[..exercise/​id] ]}
-      element assistant * account ​  ​{[ exists ​//accounts/​account[./​account]/​assistant[..exercise/​id] ]}+
 </​code>​ </​code>​
  
Line 18: Line 17:
  
 <code xcend> <code xcend>
-      element sheets {               +    ​element sheet * id { 
-        ​element sheet * id { +      attribute maxPoints ​      { double [ . >= 0 ]} 
-          attribute maxPoints ​      { double [ . >= 0 ]} +    }                           
-        }                            +
-      }                             +
 </​code>​ </​code>​
  
Line 28: Line 25:
  
 <code xcend> <code xcend>
-    ​}                                +  ​}                               
-  }+
 </​code>​ </​code>​
  
stats/schema/exercise.1320319795.txt.gz · Last modified: 2011/11/03 12:29 by Patrick Michel