Definition Type: Element
Name: PowerCalendar
Namespace: http://www.pwg.org/schemas/2016/01/sm
Containing Schema: Power.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into CalendarEntryXSD Diagram of PowerCalendar
Collapse XSD Schema Code:
<?xml version="1.0" encoding="utf-16"?>
<xs:element name="PowerCalendar">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="CalendarEntry" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element ref="Id" />
                        <xs:element ref="RequestPowerState" />
                        <xs:element name="CalendarRunOnce" type="xs:boolean" />
                        <xs:sequence>
                            <xs:element name="CalendarDayOfWeek">
                                <xs:simpleType>
                                    <xs:restriction base="xs:NMTOKEN">
                                        <xs:enumeration value="Monday" />
                                        <xs:enumeration value="Tuesday" />
                                        <xs:enumeration value="Wednesday" />
                                        <xs:enumeration value="Thursday" />
                                        <xs:enumeration value="Friday" />
                                        <xs:enumeration value="Saturday" />
                                        <xs:enumeration value="Sunday" />
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:element>
                            <xs:element name="CalendarMonth" type="xs:gMonth" />
                            <xs:element name="CalendarDay" type="xs:gDay" />
                            <xs:element name="CalendarHour">
                                <xs:simpleType>
                                    <xs:restriction base="xs:int">
                                        <xs:minInclusive value="0" />
                                        <xs:maxInclusive value="23" />
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:element>
                            <xs:element name="CalendarMinute">
                                <xs:simpleType>
                                    <xs:restriction base="xs:int">
                                        <xs:minInclusive value="0" />
                                        <xs:maxInclusive value="59" />
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:element>
                        </xs:sequence>
                        <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
CalendarEntry pwg:CalendarEntry 0 unbounded