summaryrefslogtreecommitdiff
path: root/static/redfish/v1/JsonSchemas/Schedule/Schedule.json
diff options
context:
space:
mode:
Diffstat (limited to 'static/redfish/v1/JsonSchemas/Schedule/Schedule.json')
-rw-r--r--static/redfish/v1/JsonSchemas/Schedule/Schedule.json51
1 files changed, 27 insertions, 24 deletions
diff --git a/static/redfish/v1/JsonSchemas/Schedule/Schedule.json b/static/redfish/v1/JsonSchemas/Schedule/Schedule.json
index 81fee7a0c4..0333c51a75 100644
--- a/static/redfish/v1/JsonSchemas/Schedule/Schedule.json
+++ b/static/redfish/v1/JsonSchemas/Schedule/Schedule.json
@@ -1,9 +1,10 @@
{
+ "$id": "http://redfish.dmtf.org/schemas/v1/Schedule.v1_2_1.json",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"DayOfWeek": {
- "description": "Days of the Week.",
+ "description": "Days of the week.",
"enum": [
"Monday",
"Tuesday",
@@ -25,9 +26,9 @@
"Wednesday": "Wednesday."
},
"enumLongDescriptions": {
- "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."
+ "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."
},
- "longDescription": "Days of the Week.",
+ "longDescription": "Days of the week.",
"type": "string"
},
"MonthOfYear": {
@@ -63,7 +64,7 @@
"September": "September."
},
"enumLongDescriptions": {
- "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."
+ "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."
},
"longDescription": "Months of the year.",
"type": "string"
@@ -71,9 +72,9 @@
"Schedule": {
"additionalProperties": false,
"description": "Schedule a series of occurrences.",
- "longDescription": "The properties of this type shall be used to Schedule a series of occurrences.",
+ "longDescription": "The properties of this type shall schedule a series of occurrences.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
@@ -88,21 +89,21 @@
},
"properties": {
"EnabledDaysOfMonth": {
- "description": "Days of month when scheduled occurrences are enabled. Zero indicates that every day of the month is enabled.",
+ "description": "Days of the month when scheduled occurrences are enabled. `0` indicates that every day of the month is enabled.",
"items": {
"type": [
"integer",
"null"
]
},
- "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.",
+ "longDescription": "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.",
"maximum": 31,
"minimum": 0,
"readonly": false,
"type": "array"
},
"EnabledDaysOfWeek": {
- "description": "Days of the week when scheduled occurrences are enabled, for enabled days of month and months of year.",
+ "description": "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.",
"items": {
"anyOf": [
{
@@ -113,7 +114,7 @@
}
]
},
- "longDescription": "Days of the week when scheduled occurrences are enabled. If not present, all days of the week shall be enabled.",
+ "longDescription": "Days of the week when scheduled occurrences are enabled. If not present, all days of the week shall be enabled.",
"readonly": false,
"type": "array"
},
@@ -127,10 +128,11 @@
},
"longDescription": "Each value shall be an ISO 8601 conformant interval specifying when occurences are enabled.",
"readonly": false,
- "type": "array"
+ "type": "array",
+ "versionAdded": "v1_1_0"
},
"EnabledMonthsOfYear": {
- "description": "Months of year when scheduled occurrences are enabled.",
+ "description": "The months of the year when scheduled occurrences are enabled. If not present, all months of the year are enabled.",
"items": {
"anyOf": [
{
@@ -141,14 +143,14 @@
}
]
},
- "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.",
+ "longDescription": "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.",
"readonly": false,
"type": "array"
},
"InitialStartTime": {
- "description": "Time for initial occurrence.",
+ "description": "The date and time when the initial occurrence is scheduled to occur.",
"format": "date-time",
- "longDescription": "The value shall be a date and time of day on which the initial occurrence is scheduled to occur.",
+ "longDescription": "This property shall contain the date and time when the initial occurrence is scheduled to occur.",
"readonly": false,
"type": [
"string",
@@ -157,7 +159,7 @@
},
"Lifetime": {
"description": "The time after provisioning when the schedule as a whole expires.",
- "longDescription": "The value shall be a Redfish Duration describing the time after provisioning when the schedule expires.",
+ "longDescription": "This property shall contain a Redfish Duration that describes the time after provisioning when the schedule expires.",
"pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?",
"readonly": false,
"type": [
@@ -166,8 +168,8 @@
]
},
"MaxOccurrences": {
- "description": "Maximum number of scheduled occurrences.",
- "longDescription": "Maximum number of scheduled occurrences.",
+ "description": "The maximum number of scheduled occurrences.",
+ "longDescription": "This property shall contain the maximum number of scheduled occurrences.",
"readonly": false,
"type": [
"integer",
@@ -175,8 +177,8 @@
]
},
"Name": {
- "description": "The Schedule name.",
- "longDescription": "The name of the Schedule. It should be constructed as OrgID:ScheduleName. Examples: ACME:Daily, ACME:Weekly, ACME:FirstTuesday.",
+ "description": "The schedule name.",
+ "longDescription": "The name of the schedule, which is constructed as OrgID:ScheduleName. Examples include ACME:Daily, ACME:Weekly, and ACME:FirstTuesday.",
"readonly": false,
"type": [
"string",
@@ -184,8 +186,8 @@
]
},
"RecurrenceInterval": {
- "description": "Distance until the next occurrences.",
- "longDescription": "The value shall be a Redfish Duration describing the time until the next occurrence.",
+ "description": "The amount of time until the next occurrence occurs.",
+ "longDescription": "This property shall contain a Redfish Duration that describes the time until the next occurrence.",
"pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?",
"readonly": false,
"type": [
@@ -198,5 +200,6 @@
}
},
"owningEntity": "DMTF",
- "title": "#Schedule.v1_2_0"
+ "release": "2018.2",
+ "title": "#Schedule.v1_2_1"
} \ No newline at end of file