This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stats:schema:exercise [2011/10/15 20:33] Patrick Michel [Student Management] |
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 { # 2.6 | + | 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] ]} # 1.4, 2.7 | + | |
</code> | </code> | ||
Line 18: | Line 17: | ||
<code xcend> | <code xcend> | ||
- | element sheets { | + | element sheet * id { |
- | element sheet * id { # 2.10 | + | attribute maxPoints { double [ . >= 0 ]} |
- | attribute maxPoints { double [ . >= 0 ]} # 3.2 | + | } |
- | } | + | |
- | } | + | |
</code> | </code> | ||
Line 28: | Line 25: | ||
<code xcend> | <code xcend> | ||
- | } | + | } |
- | } | + | |
</code> | </code> | ||