summaryrefslogtreecommitdiff
path: root/static/redfish/v1/schema/Schedule_v1.xml
blob: d60813589e7eb08686a6c9c1e41ad184565a7db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################       -->
<!--# Redfish Schema:  Schedule v1.2.1                                                     -->
<!--#                                                                                      -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
<!--# available at http://www.dmtf.org/standards/redfish                                   -->
<!--# Copyright 2018-2019 DMTF.                                                            -->
<!--# Portions Copyright 2015-2018 Storage Networking Industry Association (SNIA), USA.    -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################       -->
<!---->
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">

  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
  </edmx:Reference>
  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
  </edmx:Reference>

  <edmx:DataServices>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>

      <ComplexType Name="Schedule" Abstract="true">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="Schedules a series of occurrences."/>
        <Annotation Term="OData.LongDescription" String="The properties of this type shall schedule a series of occurrences."/>
      </ComplexType>

    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_0">
      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>

      <ComplexType Name="Schedule" BaseType="Schedule.Schedule">
        <Annotation Term="OData.Description" String="Schedule a series of occurrences."/>
        <Annotation Term="OData.LongDescription" String="The properties of this type shall schedule a series of occurrences."/>
        <Property Name="Name" Type="Edm.String">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The schedule name."/>
          <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."/>
        </Property>
        <Property Name="Lifetime" Type="Edm.Duration">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The time after provisioning when the schedule as a whole expires."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain a Redfish Duration that describes the time after provisioning when the schedule expires."/>
        </Property>
        <Property Name="MaxOccurrences" Type="Edm.Int64">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The maximum number of scheduled occurrences."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of scheduled occurrences."/>
        </Property>
        <Property Name="InitialStartTime" Type="Edm.DateTimeOffset">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The date and time when the initial occurrence is scheduled to occur."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the initial occurrence is scheduled to occur."/>
        </Property>
        <Property Name="RecurrenceInterval" Type="Edm.Duration">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="The amount of time until the next occurrence occurs."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain a Redfish Duration that describes the time until the next occurrence."/>
        </Property>
        <Property Name="EnabledDaysOfWeek" Type="Collection(Schedule.v1_0_0.DayOfWeek)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <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."/>
          <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."/>
        </Property>
        <Property Name="EnabledDaysOfMonth" Type="Collection(Edm.Int64)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="Days of the month when scheduled occurrences are enabled.  `0` indicates that every day of the month is enabled."/>
          <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."/>
          <Annotation Term="Validation.Minimum" Int="0"/>
          <Annotation Term="Validation.Maximum" Int="31"/>
        </Property>
        <Property Name="EnabledMonthsOfYear" Type="Collection(Schedule.v1_0_0.MonthOfYear)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <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."/>
          <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."/>
        </Property>
      </ComplexType>

      <EnumType Name="DayOfWeek">
        <Annotation Term="OData.Description" String="Days of the week."/>
        <Annotation Term="OData.LongDescription" String="Days of the week."/>
        <Member Name="Monday">
          <Annotation Term="OData.Description" String="Monday."/>
        </Member>
        <Member Name="Tuesday">
          <Annotation Term="OData.Description" String="Tuesday."/>
        </Member>
        <Member Name="Wednesday">
          <Annotation Term="OData.Description" String="Wednesday."/>
        </Member>
        <Member Name="Thursday">
          <Annotation Term="OData.Description" String="Thursday."/>
        </Member>
        <Member Name="Friday">
          <Annotation Term="OData.Description" String="Friday."/>
        </Member>
        <Member Name="Saturday">
          <Annotation Term="OData.Description" String="Saturday."/>
        </Member>
        <Member Name="Sunday">
          <Annotation Term="OData.Description" String="Sunday."/>
        </Member>
        <Member Name="Every">
          <Annotation Term="OData.Description" String="Every day of the week."/>
          <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."/>
        </Member>
      </EnumType>

      <EnumType Name="MonthOfYear">
        <Annotation Term="OData.Description" String="Months of the year."/>
        <Annotation Term="OData.LongDescription" String="Months of the year."/>
        <Member Name="January">
          <Annotation Term="OData.Description" String="January."/>
        </Member>
        <Member Name="February">
          <Annotation Term="OData.Description" String="February."/>
        </Member>
        <Member Name="March">
          <Annotation Term="OData.Description" String="March."/>
        </Member>
        <Member Name="April">
          <Annotation Term="OData.Description" String="April."/>
        </Member>
        <Member Name="May">
          <Annotation Term="OData.Description" String="May."/>
        </Member>
        <Member Name="June">
          <Annotation Term="OData.Description" String="June."/>
        </Member>
        <Member Name="July">
          <Annotation Term="OData.Description" String="July."/>
        </Member>
        <Member Name="August">
          <Annotation Term="OData.Description" String="August."/>
        </Member>
        <Member Name="September">
          <Annotation Term="OData.Description" String="September."/>
        </Member>
        <Member Name="October">
          <Annotation Term="OData.Description" String="October."/>
        </Member>
        <Member Name="November">
          <Annotation Term="OData.Description" String="November."/>
        </Member>
        <Member Name="December">
          <Annotation Term="OData.Description" String="December."/>
        </Member>
        <Member Name="Every">
          <Annotation Term="OData.Description" String="Every month of the year."/>
          <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."/>
        </Member>
      </EnumType>

    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_0_1">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_0.Schedule"/>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_0">
      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>

      <ComplexType Name="Schedule" BaseType="Schedule.v1_0_0.Schedule">
        <Property Name="EnabledIntervals" Type="Collection(Edm.String)">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
          <Annotation Term="OData.Description" String="Intervals when scheduled occurrences are enabled."/>
          <Annotation Term="OData.LongDescription" String="Each value shall be an ISO 8601 conformant interval specifying when occurences are enabled."/>
        </Property>
      </ComplexType>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_1_1">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_0.Schedule"/>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_0">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="Redfish.Release" String="2018.2"/>
      <Annotation Term="OData.Description" String="This version was created to correcttime and date properties to use DateTimeOffset and Duration formats, add 'Every' enumerations to DayOfWeek and MonthOfYear types, and to incorporate default behavior into descriptions."/>
      <ComplexType Name="Schedule" BaseType="Schedule.v1_1_0.Schedule"/>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Schedule.v1_2_1">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
      <ComplexType Name="Schedule" BaseType="Schedule.v1_2_0.Schedule"/>
    </Schema>

  </edmx:DataServices>
</edmx:Edmx>