Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 3 | "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 4 | "definitions": { |
| 5 | "DayOfWeek": { |
| 6 | "description": "Days of the Week.", |
| 7 | "enum": [ |
| 8 | "Monday", |
| 9 | "Tuesday", |
| 10 | "Wednesday", |
| 11 | "Thursday", |
| 12 | "Friday", |
| 13 | "Saturday", |
| 14 | "Sunday", |
| 15 | "Every" |
| 16 | ], |
| 17 | "enumDescriptions": { |
| 18 | "Every": "Every day of the week.", |
| 19 | "Friday": "Friday.", |
| 20 | "Monday": "Monday.", |
| 21 | "Saturday": "Saturday.", |
| 22 | "Sunday": "Sunday.", |
| 23 | "Thursday": "Thursday.", |
| 24 | "Tuesday": "Tuesday.", |
| 25 | "Wednesday": "Wednesday." |
| 26 | }, |
| 27 | "enumLongDescriptions": { |
| 28 | "Every": "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." |
| 29 | }, |
| 30 | "longDescription": "Days of the Week.", |
| 31 | "type": "string" |
| 32 | }, |
| 33 | "MonthOfYear": { |
| 34 | "description": "Months of the year.", |
| 35 | "enum": [ |
| 36 | "January", |
| 37 | "February", |
| 38 | "March", |
| 39 | "April", |
| 40 | "May", |
| 41 | "June", |
| 42 | "July", |
| 43 | "August", |
| 44 | "September", |
| 45 | "October", |
| 46 | "November", |
| 47 | "December", |
| 48 | "Every" |
| 49 | ], |
| 50 | "enumDescriptions": { |
| 51 | "April": "April.", |
| 52 | "August": "August.", |
| 53 | "December": "December.", |
| 54 | "Every": "Every month of the year.", |
| 55 | "February": "February.", |
| 56 | "January": "January.", |
| 57 | "July": "July.", |
| 58 | "June": "June.", |
| 59 | "March": "March.", |
| 60 | "May": "May.", |
| 61 | "November": "November.", |
| 62 | "October": "October.", |
| 63 | "September": "September." |
| 64 | }, |
| 65 | "enumLongDescriptions": { |
| 66 | "Every": "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." |
| 67 | }, |
| 68 | "longDescription": "Months of the year.", |
| 69 | "type": "string" |
| 70 | }, |
| 71 | "Schedule": { |
| 72 | "additionalProperties": false, |
| 73 | "description": "Schedule a series of occurrences.", |
| 74 | "longDescription": "The properties of this type shall be used to Schedule a series of occurrences.", |
| 75 | "patternProperties": { |
| 76 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 77 | "description": "This property shall specify a valid odata or Redfish property.", |
| 78 | "type": [ |
| 79 | "array", |
| 80 | "boolean", |
| 81 | "integer", |
| 82 | "number", |
| 83 | "null", |
| 84 | "object", |
| 85 | "string" |
| 86 | ] |
| 87 | } |
| 88 | }, |
| 89 | "properties": { |
| 90 | "EnabledDaysOfMonth": { |
| 91 | "description": "Days of month when scheduled occurrences are enabled. Zero indicates that every day of the month is enabled.", |
| 92 | "items": { |
| 93 | "type": [ |
| 94 | "integer", |
| 95 | "null" |
| 96 | ] |
| 97 | }, |
| 98 | "longDescription": "Days of month when scheduled occurrences are enabled, for enabled days of week and months of year. If the array contains a single value of zero, or if the property is not present, all days of the month shall be enabled.", |
| 99 | "maximum": 31, |
| 100 | "minimum": 0, |
| 101 | "readonly": false, |
| 102 | "type": "array" |
| 103 | }, |
| 104 | "EnabledDaysOfWeek": { |
| 105 | "description": "Days of the week when scheduled occurrences are enabled, for enabled days of month and months of year.", |
| 106 | "items": { |
| 107 | "anyOf": [ |
| 108 | { |
| 109 | "$ref": "#/definitions/DayOfWeek" |
| 110 | }, |
| 111 | { |
| 112 | "type": "null" |
| 113 | } |
| 114 | ] |
| 115 | }, |
| 116 | "longDescription": "Days of the week when scheduled occurrences are enabled. If not present, all days of the week shall be enabled.", |
| 117 | "readonly": false, |
| 118 | "type": "array" |
| 119 | }, |
| 120 | "EnabledIntervals": { |
| 121 | "description": "Intervals when scheduled occurrences are enabled.", |
| 122 | "items": { |
| 123 | "type": [ |
| 124 | "string", |
| 125 | "null" |
| 126 | ] |
| 127 | }, |
| 128 | "longDescription": "Each value shall be an ISO 8601 conformant interval specifying when occurences are enabled.", |
| 129 | "readonly": false, |
| 130 | "type": "array" |
| 131 | }, |
| 132 | "EnabledMonthsOfYear": { |
| 133 | "description": "Months of year when scheduled occurrences are enabled.", |
| 134 | "items": { |
| 135 | "anyOf": [ |
| 136 | { |
| 137 | "$ref": "#/definitions/MonthOfYear" |
| 138 | }, |
| 139 | { |
| 140 | "type": "null" |
| 141 | } |
| 142 | ] |
| 143 | }, |
| 144 | "longDescription": "Months of 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.", |
| 145 | "readonly": false, |
| 146 | "type": "array" |
| 147 | }, |
| 148 | "InitialStartTime": { |
| 149 | "description": "Time for initial occurrence.", |
| 150 | "format": "date-time", |
| 151 | "longDescription": "The value shall be a date and time of day on which the initial occurrence is scheduled to occur.", |
| 152 | "readonly": false, |
| 153 | "type": [ |
| 154 | "string", |
| 155 | "null" |
| 156 | ] |
| 157 | }, |
| 158 | "Lifetime": { |
| 159 | "description": "The time after provisioning when the schedule as a whole expires.", |
| 160 | "longDescription": "The value shall be a Redfish Duration describing the time after provisioning when the schedule expires.", |
| 161 | "pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?", |
| 162 | "readonly": false, |
| 163 | "type": [ |
| 164 | "string", |
| 165 | "null" |
| 166 | ] |
| 167 | }, |
| 168 | "MaxOccurrences": { |
| 169 | "description": "Maximum number of scheduled occurrences.", |
| 170 | "longDescription": "Maximum number of scheduled occurrences.", |
| 171 | "readonly": false, |
| 172 | "type": [ |
| 173 | "integer", |
| 174 | "null" |
| 175 | ] |
| 176 | }, |
| 177 | "Name": { |
| 178 | "description": "The Schedule name.", |
| 179 | "longDescription": "The name of the Schedule. It should be constructed as OrgID:ScheduleName. Examples: ACME:Daily, ACME:Weekly, ACME:FirstTuesday.", |
| 180 | "readonly": false, |
| 181 | "type": [ |
| 182 | "string", |
| 183 | "null" |
| 184 | ] |
| 185 | }, |
| 186 | "RecurrenceInterval": { |
| 187 | "description": "Distance until the next occurrences.", |
| 188 | "longDescription": "The value shall be a Redfish Duration describing the time until the next occurrence.", |
| 189 | "pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?", |
| 190 | "readonly": false, |
| 191 | "type": [ |
| 192 | "string", |
| 193 | "null" |
| 194 | ] |
| 195 | } |
| 196 | }, |
| 197 | "type": "object" |
| 198 | } |
| 199 | }, |
| 200 | "owningEntity": "DMTF", |
| 201 | "title": "#Schedule.v1_2_0" |
| 202 | } |