{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sifflet/json-schema/sifflet-public-page-dto-public-calendar-get-dto-schema.json",
  "title": "PublicPageDtoPublicCalendarGetDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sifflet-calendars-api-openapi.yml#/components/schemas/PublicPageDtoPublicCalendarGetDto",
  "required": [
    "data"
  ],
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicCalendarGetDto"
      }
    },
    "totalCount": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "CalendarTimeslot": {
      "required": [
        "date"
      ],
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PublicCalendarGetDto": {
      "required": [
        "id",
        "name",
        "timeslots"
      ],
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "editable": {
          "type": "boolean"
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "standardCalendar": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "US_PUBLIC_HOLIDAYS",
            "FRANCE_PUBLIC_HOLIDAYS",
            "UK_PUBLIC_HOLIDAYS",
            "BELGIUM_PUBLIC_HOLIDAYS",
            "SPAIN_PUBLIC_HOLIDAYS",
            "GERMANY_PUBLIC_HOLIDAYS",
            "NETHERLANDS_PUBLIC_HOLIDAYS",
            "SUNDAYS",
            "WEEKENDS"
          ]
        },
        "timeslots": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CalendarTimeslot"
          }
        }
      }
    }
  }
}