Adyen · JSON Structure

Configuration Day Of Week Restriction Structure

DayOfWeekRestriction schema from Adyen API

Type: object Properties: 2 Required: 1
PaymentsFinancial ServicesFintech

DayOfWeekRestriction is a JSON Structure definition published by Adyen, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

operation value

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/configuration-day-of-week-restriction-structure.json",
  "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"
  ],
  "name": "DayOfWeekRestriction"
}