Properties
| Name | Type | Description |
|---|---|---|
| operation | string | Defines how the condition must be evaluated. |
| value | array | List of days of the week. Possible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DayOfWeekRestriction",
"title": "DayOfWeekRestriction",
"properties": {
"operation": {
"description": "Defines how the condition must be evaluated.",
"type": "string"
},
"value": {
"description": "List of days of the week.\n\nPossible values: **monday**, **tuesday**, **wednesday**, **thursday**, **friday**, **saturday**, **sunday**.\n\n",
"items": {
"enum": [
"friday",
"monday",
"saturday",
"sunday",
"thursday",
"tuesday",
"wednesday"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"operation"
],
"type": "object"
}