Raw schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Schedule name."
},
"monday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"tuesday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"wednesday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"thursday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"friday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"saturday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"sunday": {
"type": "object",
"properties": {
"time1": {
"description": "Start of the span, 24h, e.g. 6:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"time2": {
"description": "End of the span, e.g. 18:00.",
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"exclude": {
"description": "Invert the span: notify all day except between time1 and time2.",
"type": "boolean"
},
"disabled": {
"description": "No notifications that day.",
"type": "boolean"
},
"allday": {
"description": "Notify all day.",
"type": "boolean"
}
},
"additionalProperties": false
},
"customer_id": {
"description": "SubAccount customer id (MSP accounts). Omit for your own account.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}