GET http://[host-proxy]/api/relation/WebexSchedules/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"id": {
"title": "ID",
"description": "A unique identifier for the schedule.",
"type": "string"
},
"name": {
"title": "Name",
"description": "A unique name for the schedule.",
"type": "string"
},
"locationName": {
"title": "Webex Location Name",
"description": "The name of the location of the schedule.",
"type": "string"
},
"locationId": {
"title": "Location ID",
"description": "A unique identifier for the location of the schedule.",
"type": "string"
},
"scheduleType": {
"title": "Type",
"description": "A unique identifier for the schedule.",
"type": "string",
"choices": [
{
"value": "businessHours",
"title": "businessHours"
},
{
"value": "holidays",
"title": "holidays"
}
]
},
"schedules_id": {
"title": "New Business Key",
"description": "Generated new key field used to pass to get_by_value in driver.",
"type": "string"
},
"events": {
"description": "List of schedule events.",
"title": "Events",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "A unique name for the event."
},
"id": {
"type": "string",
"title": "ID",
"description": "Unique identifier for the event."
},
"startDate": {
"type": "string",
"title": "Start Date",
"description": "Start Date of Event."
},
"endDate": {
"type": "string",
"title": "End Date",
"description": "End Date of Event."
},
"startTime": {
"type": "string",
"title": "Start Time",
"description": "Start time of event."
},
"endTime": {
"type": "string",
"title": "End Time",
"description": "End time of event."
},
"allDayEnabled": {
"type": "boolean",
"title": "All Day Enabled",
"description": "An indication of whether given event is an all-day event or not."
},
"recurrence": {
"title": "Recurrence",
"description": "Recurrence definition.",
"required": false,
"type": "object",
"properties": {
"recurForEver": {
"type": "boolean",
"title": "Recur Forever",
"description": "Flag to indicate if event will recur forever."
},
"recurEndDate": {
"type": "string",
"title": "Recurrence End Date",
"description": "End date of recurrence."
},
"recurWeekly": {
"title": "Recur Weekly",
"description": "Recurrence weekly definition.",
"required": false,
"type": "object",
"properties": {
"sunday": {
"type": "boolean",
"title": "Sunday",
"description": "Frequency of occurrence in weeks and select the day - Sunday"
},
"monday": {
"type": "boolean",
"title": "Monday",
"description": "Frequency of occurrence in weeks and select the day - Monday"
},
"tuesday": {
"type": "boolean",
"title": "Tuesday",
"description": "Frequency of occurrence in weeks and select the day - Tuesday"
},
"wednesday": {
"type": "boolean",
"title": "Wednesday",
"description": "Frequency of occurrence in weeks and select the day - Wednesday"
},
"thursday": {
"type": "boolean",
"title": "Thursday",
"description": "Frequency of occurrence in weeks and select the day - Thursday"
},
"friday": {
"type": "boolean",
"title": "Friday",
"description": "Frequency of occurrence in weeks and select the day - Friday"
},
"saturday": {
"type": "boolean",
"title": "Saturday",
"description": "Frequency of occurrence in weeks and select the day - Saturday"
}
}
},
"recurYearlyByDate": {
"title": "Recur Yearly by Date",
"description": "Recur definition yearly by date.",
"required": false,
"type": "object",
"properties": {
"dayOfMonth": {
"type": "integer",
"title": "Day Of Month",
"description": "Schedule the event on a specific day of the month"
},
"month": {
"type": "string",
"title": "Month",
"description": "Schedule the event on a specific month of the year.",
"choices": [
{
"value": "JANUARY",
"title": "JANUARY"
},
{
"value": "FEBRUARY",
"title": "FEBRUARY"
},
{
"value": "MARCH",
"title": "MARCH"
},
{
"value": "APRIL",
"title": "APRIL"
},
{
"value": "MAY",
"title": "MAY"
},
{
"value": "JUNE",
"title": "JUNE"
},
{
"value": "JULY",
"title": "JULY"
},
{
"value": "AUGUST",
"title": "AUGUST"
},
{
"value": "SEPTEMBER",
"title": "SEPTEMBER"
},
{
"value": "OCTOBER",
"title": "OCTOBER"
},
{
"value": "NOVEMBER",
"title": "NOVEMBER"
},
{
"value": "DECEMBER",
"title": "DECEMBER"
}
]
}
}
},
"recurYearlyByDay": {
"title": "Recur Yearly by Day",
"description": "Recur definition yearly by day.",
"required": false,
"type": "object",
"properties": {
"day": {
"type": "string",
"title": "Day",
"description": "Schedule the event on a specific day.",
"choices": [
{
"value": "SUNDAY",
"title": "SUNDAY"
},
{
"value": "MONDAY",
"title": "MONDAY"
},
{
"value": "TUESDAY",
"title": "TUESDAY"
},
{
"value": "WEDNESDAY",
"title": "WEDNESDAY"
},
{
"value": "THURSDAY",
"title": "THURSDAY"
},
{
"value": "FRIDAY",
"title": "FRIDAY"
},
{
"value": "SATURDAY",
"title": "SATURDAY"
}
]
},
"week": {
"type": "string",
"title": "Week",
"description": "Schedule the event on a specific week.",
"choices": [
{
"value": "FIRST",
"title": "FIRST"
},
{
"value": "SECOND",
"title": "SECOND"
},
{
"value": "THIRD",
"title": "THIRD"
},
{
"value": "FOURTH",
"title": "FOURTH"
},
{
"value": "LAST",
"title": "LAST"
}
]
},
"month": {
"type": "string",
"title": "Month",
"description": "Schedule the event on a specific month.",
"choices": [
{
"value": "JANUARY",
"title": "JANUARY"
},
{
"value": "FEBRUARY",
"title": "FEBRUARY"
},
{
"value": "MARCH",
"title": "MARCH"
},
{
"value": "APRIL",
"title": "APRIL"
},
{
"value": "MAY",
"title": "MAY"
},
{
"value": "JUNE",
"title": "JUNE"
},
{
"value": "JULY",
"title": "JULY"
},
{
"value": "AUGUST",
"title": "AUGUST"
},
{
"value": "SEPTEMBER",
"title": "SEPTEMBER"
},
{
"value": "OCTOBER",
"title": "OCTOBER"
},
{
"value": "NOVEMBER",
"title": "NOVEMBER"
},
{
"value": "DECEMBER",
"title": "DECEMBER"
}
]
}
}
}
}
}
}
}
},
"NoInstance": {
"title": "No Instance",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"is_password": false,
"title": "Name",
"required": true,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
}
}
}
}
}
}