{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/configuration-day-of-week-restriction-schema.json",
  "title": "DayOfWeekRestriction",
  "description": "DayOfWeekRestriction schema from Adyen API",
  "type": "object",
  "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"
  ]
}