Revision 1302,
1.5 KB
checked in by wojtekp, 11 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[1302] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
---|
| 3 | elementFormDefault="qualified" attributeFormDefault="unqualified"> |
---|
| 4 | |
---|
| 5 | <xs:complexType name="resourceLoadType"> |
---|
| 6 | <xs:sequence> |
---|
| 7 | <xs:element name="loadCalendar" type="loadCalendarType" maxOccurs="unbounded"/> |
---|
| 8 | </xs:sequence> |
---|
| 9 | <xs:attribute name="name" type="xs:string" use="optional"/> |
---|
| 10 | <xs:attribute name="class" type="xs:string" use="required"/> |
---|
| 11 | </xs:complexType> |
---|
| 12 | |
---|
| 13 | <xs:complexType name="loadCalendarType"> |
---|
| 14 | <xs:choice> |
---|
| 15 | <xs:element name="loadSchedule" type="loadScheduleType" maxOccurs="unbounded"/> |
---|
| 16 | </xs:choice> |
---|
| 17 | </xs:complexType> |
---|
| 18 | |
---|
| 19 | <xs:complexType name="loadScheduleType"> |
---|
| 20 | <xs:sequence> |
---|
| 21 | <xs:element name="loadDistribution" maxOccurs="unbounded"> |
---|
| 22 | <xs:complexType> |
---|
| 23 | <xs:sequence> |
---|
| 24 | <xs:element name="fromTime" type="xs:long"/> |
---|
| 25 | <xs:element name="toTime" type="xs:long"/> |
---|
| 26 | <xs:element name="loadLevel" type="xs:double"/> |
---|
| 27 | </xs:sequence> |
---|
| 28 | </xs:complexType> |
---|
| 29 | </xs:element> |
---|
| 30 | </xs:sequence> |
---|
| 31 | </xs:complexType> |
---|
| 32 | |
---|
| 33 | <xs:element name="resources"> |
---|
| 34 | <xs:annotation> |
---|
| 35 | <xs:documentation>Schema describing background load distribution for the simulated environment</xs:documentation> |
---|
| 36 | </xs:annotation> |
---|
| 37 | <xs:complexType> |
---|
| 38 | <xs:annotation> |
---|
| 39 | <xs:documentation>Description of load levels for particular resources</xs:documentation> |
---|
| 40 | </xs:annotation> |
---|
| 41 | |
---|
| 42 | <xs:sequence> |
---|
| 43 | <xs:element name="computingResource" type="resourceLoadType" maxOccurs="unbounded"/> |
---|
| 44 | </xs:sequence> |
---|
| 45 | </xs:complexType> |
---|
| 46 | </xs:element> |
---|
| 47 | </xs:schema> |
---|
Note: See
TracBrowser
for help on using the repository browser.