1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Schedule v1.2.4                                                     -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# Portions Copyright 2015-2018 Storage Networking Industry Association (SNIA), USA.    -->
10<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
11<!--################################################################################       -->
12<!---->
13<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
14
15  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
16    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
17  </edmx:Reference>
18  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
19    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
20    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
21  </edmx:Reference>
22
23  <edmx:DataServices>
24
25    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule">
26      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
27
28      <ComplexType Name="Schedule" Abstract="true">
29        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
30        <Annotation Term="OData.Description" String="Schedules a series of occurrences."/>
31        <Annotation Term="OData.LongDescription" String="The properties of this type shall schedule a series of occurrences."/>
32      </ComplexType>
33    </Schema>
34
35    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_0">
36      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>
37
38      <ComplexType Name="Schedule" BaseType="Schedule.Schedule">
39        <Annotation Term="OData.Description" String="Schedule a series of occurrences."/>
40        <Annotation Term="OData.LongDescription" String="The properties of this type shall schedule a series of occurrences."/>
41        <Property Name="Name" Type="Edm.String">
42          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
43          <Annotation Term="OData.Description" String="The schedule name."/>
44          <Annotation Term="OData.LongDescription" String="The name of the schedule, which is constructed as OrgID:ScheduleName.  Examples include ACME:Daily, ACME:Weekly, and ACME:FirstTuesday."/>
45        </Property>
46        <Property Name="Lifetime" Type="Edm.Duration">
47          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
48          <Annotation Term="OData.Description" String="The time after provisioning when the schedule as a whole expires."/>
49          <Annotation Term="OData.LongDescription" String="This property shall contain a Redfish Duration that describes the time after provisioning when the schedule expires."/>
50        </Property>
51        <Property Name="MaxOccurrences" Type="Edm.Int64">
52          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
53          <Annotation Term="OData.Description" String="The maximum number of scheduled occurrences."/>
54          <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of scheduled occurrences."/>
55        </Property>
56        <Property Name="InitialStartTime" Type="Edm.DateTimeOffset">
57          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
58          <Annotation Term="OData.Description" String="The date and time when the initial occurrence is scheduled to occur."/>
59          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the initial occurrence is scheduled to occur."/>
60        </Property>
61        <Property Name="RecurrenceInterval" Type="Edm.Duration">
62          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
63          <Annotation Term="OData.Description" String="The duration between consecutive occurrences."/>
64          <Annotation Term="OData.LongDescription" String="This property shall contain the duration between consecutive occurrences."/>
65        </Property>
66        <Property Name="EnabledDaysOfWeek" Type="Collection(Schedule.v1_0_0.DayOfWeek)">
67          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
68          <Annotation Term="OData.Description" String="Days of the week when scheduled occurrences are enabled, for enabled days of the month and months of the year.  If not present, all days of the week are enabled."/>
69          <Annotation Term="OData.LongDescription" String="Days of the week when scheduled occurrences are enabled.  If not present, all days of the week shall be enabled."/>
70        </Property>
71        <Property Name="EnabledDaysOfMonth" Type="Collection(Edm.Int64)">
72          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
73          <Annotation Term="OData.Description" String="Days of the month when scheduled occurrences are enabled.  `0` indicates that every day of the month is enabled."/>
74          <Annotation Term="OData.LongDescription" String="This property shall contain the days of the month when scheduled occurrences are enabled, for enabled days of week and months of year.  If the array contains a single value of `0`, or if the property is not present, all days of the month shall be enabled."/>
75          <Annotation Term="Validation.Minimum" Int="0"/>
76          <Annotation Term="Validation.Maximum" Int="31"/>
77        </Property>
78        <Property Name="EnabledMonthsOfYear" Type="Collection(Schedule.v1_0_0.MonthOfYear)">
79          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
80          <Annotation Term="OData.Description" String="The months of the year when scheduled occurrences are enabled.  If not present, all months of the year are enabled."/>
81          <Annotation Term="OData.LongDescription" String="This property shall contain the months of the year when scheduled occurrences are enabled, for enabled days of week and days of month.  If not present, all months of the year shall be enabled."/>
82        </Property>
83      </ComplexType>
84
85      <EnumType Name="DayOfWeek">
86        <Annotation Term="OData.Description" String="Days of the week."/>
87        <Annotation Term="OData.LongDescription" String="Days of the week."/>
88        <Member Name="Monday">
89          <Annotation Term="OData.Description" String="Monday."/>
90        </Member>
91        <Member Name="Tuesday">
92          <Annotation Term="OData.Description" String="Tuesday."/>
93        </Member>
94        <Member Name="Wednesday">
95          <Annotation Term="OData.Description" String="Wednesday."/>
96        </Member>
97        <Member Name="Thursday">
98          <Annotation Term="OData.Description" String="Thursday."/>
99        </Member>
100        <Member Name="Friday">
101          <Annotation Term="OData.Description" String="Friday."/>
102        </Member>
103        <Member Name="Saturday">
104          <Annotation Term="OData.Description" String="Saturday."/>
105        </Member>
106        <Member Name="Sunday">
107          <Annotation Term="OData.Description" String="Sunday."/>
108        </Member>
109        <Member Name="Every">
110          <Annotation Term="OData.Description" String="Every day of the week."/>
111          <Annotation Term="OData.LongDescription" String="This value indicates that every day of the week has been selected.  When used in array properties, such as for enabling a function on certain days, it shall be the only member in the array."/>
112        </Member>
113      </EnumType>
114
115      <EnumType Name="MonthOfYear">
116        <Annotation Term="OData.Description" String="Months of the year."/>
117        <Annotation Term="OData.LongDescription" String="Months of the year."/>
118        <Member Name="January">
119          <Annotation Term="OData.Description" String="January."/>
120        </Member>
121        <Member Name="February">
122          <Annotation Term="OData.Description" String="February."/>
123        </Member>
124        <Member Name="March">
125          <Annotation Term="OData.Description" String="March."/>
126        </Member>
127        <Member Name="April">
128          <Annotation Term="OData.Description" String="April."/>
129        </Member>
130        <Member Name="May">
131          <Annotation Term="OData.Description" String="May."/>
132        </Member>
133        <Member Name="June">
134          <Annotation Term="OData.Description" String="June."/>
135        </Member>
136        <Member Name="July">
137          <Annotation Term="OData.Description" String="July."/>
138        </Member>
139        <Member Name="August">
140          <Annotation Term="OData.Description" String="August."/>
141        </Member>
142        <Member Name="September">
143          <Annotation Term="OData.Description" String="September."/>
144        </Member>
145        <Member Name="October">
146          <Annotation Term="OData.Description" String="October."/>
147        </Member>
148        <Member Name="November">
149          <Annotation Term="OData.Description" String="November."/>
150        </Member>
151        <Member Name="December">
152          <Annotation Term="OData.Description" String="December."/>
153        </Member>
154        <Member Name="Every">
155          <Annotation Term="OData.Description" String="Every month of the year."/>
156          <Annotation Term="OData.LongDescription" String="This value indicates that every month of the year has been selected.  When used in array properties, such as for enabling a function for certain months, it shall be the only member in the array."/>
157        </Member>
158      </EnumType>
159    </Schema>
160
161    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_1">
162      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
163      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
164      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_0.Schedule"/>
165    </Schema>
166
167    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_2">
168      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
169      <Annotation Term="OData.Description" String="This version was created to clarify the usage of the RecurrenceInterval property."/>
170      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_1.Schedule"/>
171    </Schema>
172
173    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_3">
174      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
175      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
176      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_2.Schedule"/>
177    </Schema>
178
179    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_0">
180      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>
181
182      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_0.Schedule">
183        <Property Name="EnabledIntervals" Type="Collection(Edm.String)">
184          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
185          <Annotation Term="OData.Description" String="Intervals when scheduled occurrences are enabled."/>
186          <Annotation Term="OData.LongDescription" String="Each value shall be an ISO 8601 conformant interval specifying when occurrences are enabled."/>
187        </Property>
188      </ComplexType>
189    </Schema>
190
191    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_1">
192      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
193      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
194      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_0.Schedule"/>
195    </Schema>
196
197    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_2">
198      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
199      <Annotation Term="OData.Description" String="This version was created to fix typos in descriptions and long descriptions."/>
200      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_1.Schedule"/>
201    </Schema>
202
203    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_3">
204      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
205      <Annotation Term="OData.Description" String="This version was created to clarify the usage of the RecurrenceInterval property."/>
206      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_2.Schedule"/>
207    </Schema>
208
209    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_4">
210      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
211      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
212      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_3.Schedule"/>
213    </Schema>
214
215    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_0">
216      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
217      <Annotation Term="Redfish.Release" String="2018.2"/>
218      <Annotation Term="OData.Description" String="This version was created to correct time and date properties to use DateTimeOffset and Duration formats, add `Every` enumerations to DayOfWeek and MonthOfYear types, and to incorporate default behavior into descriptions."/>
219
220      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_0.Schedule"/>
221    </Schema>
222
223    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_1">
224      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
225      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
226      <ComplexType Name="Schedule" BaseType="Schedule.v1_2_0.Schedule"/>
227    </Schema>
228
229    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_2">
230      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
231      <Annotation Term="OData.Description" String="This version was created to fix typos in descriptions and long descriptions."/>
232      <ComplexType Name="Schedule" BaseType="Schedule.v1_2_1.Schedule"/>
233    </Schema>
234
235    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_3">
236      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
237      <Annotation Term="OData.Description" String="This version was created to clarify the usage of the RecurrenceInterval property."/>
238      <ComplexType Name="Schedule" BaseType="Schedule.v1_2_2.Schedule"/>
239    </Schema>
240
241    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_4">
242      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
243      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
244      <ComplexType Name="Schedule" BaseType="Schedule.v1_2_3.Schedule"/>
245    </Schema>
246
247  </edmx:DataServices>
248</edmx:Edmx>
249