{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appyway/json-schema/appyway-change-country-special-days-command-schema.json",
  "title": "ChangeCountrySpecialDaysCommand",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appyway-countries-api-openapi.yml#/components/schemas/ChangeCountrySpecialDaysCommand",
  "required": [
    "id",
    "specialDays"
  ],
  "type": "object",
  "properties": {
    "id": {
      "maxLength": 36,
      "minLength": 1,
      "type": "string",
      "description": "Unique identifier of the country"
    },
    "specialDays": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SpecialDay"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "SpecialDay": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name"
        },
        "isHoliday": {
          "type": "boolean",
          "description": "Indicates whether this day is considered a holiday"
        },
        "dates": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string",
            "description": "ISO-8601 date pattern"
          },
          "description": "Dates on which this day is in effect"
        }
      },
      "additionalProperties": false
    }
  }
}