{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/suomi-fi/json-schema/suomi-fi-channel-response-schema.json",
  "title": "ChannelResponse",
  "description": "Channel response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/suomi-fi-ptv-openapi.yml#/components/schemas/ChannelResponse",
  "type": "object",
  "required": [
    "serviceChannelType"
  ],
  "oneOf": [
    {
      "$ref": "#/$defs/EServiceChannelResponse"
    },
    {
      "$ref": "#/$defs/PhoneChannelResponse"
    },
    {
      "$ref": "#/$defs/PrintableFormChannelResponse"
    },
    {
      "$ref": "#/$defs/ServiceLocationChannelResponse"
    },
    {
      "$ref": "#/$defs/WebPageChannelResponse"
    }
  ],
  "$defs": {
    "AccessibilityClassificationLevel": {
      "description": "Accessibility classification level",
      "enum": [
        "FullyCompliant",
        "PartiallyCompliant",
        "NonCompliant",
        "Unknown"
      ],
      "type": "string",
      "title": "AccessibilityClassificationLevel"
    },
    "AddressSourceResponse": {
      "description": "Address source response",
      "type": "object",
      "required": [
        "source"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/UserEnteredAddressSourceResponse"
        },
        {
          "$ref": "#/$defs/PostiAddressSourceResponse"
        }
      ],
      "title": "AddressSourceResponse"
    },
    "AllowedConnectionType": {
      "description": "Allowed connection type",
      "enum": [
        "AllOrganizations",
        "OwnOrganizations"
      ],
      "type": "string",
      "title": "AllowedConnectionType"
    },
    "AreaTypesResponse": {
      "description": "One of area types",
      "type": "object",
      "required": [
        "areaType"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/WholeCountry"
        },
        {
          "$ref": "#/$defs/WholeCountryExceptAland"
        },
        {
          "$ref": "#/$defs/LimitedArea"
        }
      ],
      "title": "AreaTypesResponse"
    },
    "ClosedExceptionalWeekdayHourResponse": {
      "type": "object",
      "required": [
        "openingStatus",
        "repetition",
        "additionalInformation"
      ],
      "properties": {
        "openingStatus": {
          "type": "string",
          "enum": [
            "Closed"
          ]
        },
        "repetition": {
          "$ref": "#/$defs/WeeklyRepetitionType"
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Closed exceptional weekday hour. A closed hour has no start or end time.",
      "title": "ClosedExceptionalWeekdayHourResponse"
    },
    "ContactMethodPriority": {
      "description": "Contact method priority",
      "enum": [
        "FaxNumber",
        "PostalAddress",
        "PhoneNumber",
        "Email",
        "WebSite"
      ],
      "type": "string",
      "title": "ContactMethodPriority"
    },
    "ContactMethodPriorityResponseSchema": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContactMethodPriority"
      },
      "description": "Contact method priority response",
      "title": "ContactMethodPriorityResponseSchema"
    },
    "ContentIdType": {
      "type": "string",
      "format": "uuid",
      "description": "Content id type",
      "title": "ContentIdType"
    },
    "ContinuousAlwaysValidServiceHourResponse": {
      "type": "object",
      "required": [
        "type",
        "openingStatus",
        "heading",
        "additionalInformation"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "ContinuousAlwaysValidServiceHour"
          ]
        },
        "openingStatus": {
          "$ref": "#/$defs/OpeningStatusType"
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Continuous always valid service hour",
      "title": "ContinuousAlwaysValidServiceHour"
    },
    "ContinuousDateRangeServiceHourResponse": {
      "type": "object",
      "required": [
        "type",
        "openingStatus",
        "heading",
        "additionalInformation",
        "fromDate",
        "toDate",
        "fromTime",
        "toTime",
        "fromDay",
        "toDay"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "ContinuousDateRangeServiceHour"
          ]
        },
        "openingStatus": {
          "$ref": "#/$defs/OpeningStatusType"
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "fromDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "toDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "fromTime": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "toTime": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "fromDay": {
          "$ref": "#/$defs/WeekdayNamesType"
        },
        "toDay": {
          "$ref": "#/$defs/WeekdayNamesType"
        }
      },
      "description": "Continuous date range service hour",
      "additionalProperties": false,
      "title": "ContinuousDateRangeServiceHour"
    },
    "ContinuousWeekdaysUntilFurtherNoticeServiceHourResponse": {
      "type": "object",
      "required": [
        "type",
        "openingStatus",
        "heading",
        "additionalInformation",
        "fromDay",
        "toDay",
        "fromTime",
        "toTime"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "ContinuousWeekdaysUntilFurtherNoticeServiceHour"
          ]
        },
        "openingStatus": {
          "$ref": "#/$defs/OpeningStatusType"
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "fromDay": {
          "$ref": "#/$defs/WeekdayNamesType"
        },
        "toDay": {
          "$ref": "#/$defs/WeekdayNamesType"
        },
        "fromTime": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "toTime": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        }
      },
      "description": "Continuous weekdays until further notice service hour",
      "additionalProperties": false,
      "title": "ContinuousWeekdaysUntilFurtherNoticeServiceHour"
    },
    "CoordinateResponse": {
      "type": "object",
      "required": [
        "system",
        "source",
        "easting",
        "northing"
      ],
      "properties": {
        "system": {
          "enum": [
            "EPSG:3067",
            "Unknown"
          ],
          "type": "string"
        },
        "source": {
          "enum": [
            "NLS",
            "User",
            "AccessibilityRegister"
          ],
          "type": "string"
        },
        "easting": {
          "type": "number"
        },
        "northing": {
          "type": "number"
        }
      },
      "description": "Coordinate",
      "title": "CoordinateResponse"
    },
    "DateTime": {
      "type": "string",
      "format": "date-time",
      "description": "string, e.g. 2025-09-22T07:32:52.026Z",
      "title": "DateTime"
    },
    "DeliveryAddress": {
      "description": "Delivery address",
      "type": "object",
      "required": [
        "deliveryAddressType"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/StreetAddressDeliveryAddress"
        },
        {
          "$ref": "#/$defs/PostOfficeBoxDeliveryAddress"
        },
        {
          "$ref": "#/$defs/DeliveryInformationDeliveryAddress"
        }
      ],
      "title": "DeliveryAddress"
    },
    "DeliveryInformationDeliveryAddress": {
      "type": "object",
      "required": [
        "recipient",
        "deliveryInformation",
        "deliveryAddressType"
      ],
      "properties": {
        "recipient": {
          "type": "object",
          "properties": {
            "fi": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sv": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "en": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "se": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "smn": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sms": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "deliveryInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "deliveryAddressType": {
          "type": "string",
          "description": "Delivery information delivery address type",
          "title": "PrintableFormDeliveryInformationType",
          "enum": [
            "DeliveryInformation"
          ]
        }
      },
      "description": "Delivery information delivery address",
      "additionalProperties": false,
      "title": "DeliveryInformationDeliveryAddress"
    },
    "DomesticPhoneNumberResponse": {
      "type": "object",
      "required": [
        "additionalInformation",
        "chargeDescription",
        "chargeType",
        "number",
        "type"
      ],
      "properties": {
        "additionalInformation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeDescription": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeType": {
          "$ref": "#/$defs/PhoneChargeType"
        },
        "number": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "DomesticPhone"
          ]
        }
      },
      "description": "Domestic phone number",
      "additionalProperties": false,
      "title": "DomesticPhoneNumberResponse"
    },
    "EServiceChannelLanguageVersionResponse": {
      "type": "object",
      "required": [
        "name",
        "summary",
        "description",
        "accessibilityClassificationLevel",
        "webAddress",
        "attachmentLinks",
        "supportEmails",
        "supportPhoneNumbers"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "description": "Markdown-formatted content. Use a Markdown parser/renderer when presenting it."
            },
            {
              "type": "null"
            }
          ]
        },
        "accessibilityClassificationLevel": {
          "$ref": "#/$defs/AccessibilityClassificationLevel"
        },
        "webAddress": {
          "$ref": "#/$defs/WebAddressNameResponse"
        },
        "attachmentLinks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebPageWithAdditionalInformationResponse"
          }
        },
        "supportEmails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailResponse"
          }
        },
        "supportPhoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TelephoneNumberResponse"
          }
        }
      },
      "description": "EService channel language version response",
      "additionalProperties": false,
      "title": "EServiceChannelLanguageVersionResponse"
    },
    "EServiceChannelLanguageVersionsResponse": {
      "type": "object",
      "properties": {
        "fi": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        },
        "sv": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        },
        "en": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        },
        "se": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        },
        "smn": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        },
        "sms": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionResponse"
        }
      },
      "additionalProperties": false,
      "description": "EService channel language versions response",
      "title": "EServiceChannelLanguageVersionsResponse"
    },
    "EServiceChannelResponse": {
      "type": "object",
      "required": [
        "contentId",
        "organizationContentId",
        "allowedConnectionType",
        "serviceLanguages",
        "area",
        "publishedAt",
        "serviceChannelType",
        "languageVersions",
        "electronicSignature",
        "electronicIdentification",
        "serviceHours",
        "supportContactMethodPriority"
      ],
      "properties": {
        "migratedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "contentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "organizationContentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "allowedConnectionType": {
          "$ref": "#/$defs/AllowedConnectionType"
        },
        "serviceLanguages": {
          "$ref": "#/$defs/ServiceLanguages"
        },
        "area": {
          "anyOf": [
            {
              "$ref": "#/$defs/AreaTypesResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "publishedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceChannelType": {
          "$ref": "#/$defs/EServiceChannelType"
        },
        "languageVersions": {
          "$ref": "#/$defs/EServiceChannelLanguageVersionsResponse"
        },
        "electronicSignature": {
          "$ref": "#/$defs/Signature"
        },
        "electronicIdentification": {
          "$ref": "#/$defs/ElectronicIdentification"
        },
        "serviceHours": {
          "$ref": "#/$defs/ServiceHoursResponse"
        },
        "supportContactMethodPriority": {
          "$ref": "#/$defs/SupportContactMethodPriorityResponse"
        }
      },
      "title": "EService",
      "description": "EService channel response"
    },
    "EServiceChannelType": {
      "type": "string",
      "description": "EService channel type",
      "title": "EServiceChannelType",
      "enum": [
        "EService"
      ]
    },
    "ElectronicIdentification": {
      "description": "Electronic identification",
      "enum": [
        "Required",
        "NotRequired"
      ],
      "type": "string",
      "title": "ElectronicIdentification"
    },
    "EmailResponse": {
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string"
        }
      },
      "title": "EmailResponse"
    },
    "ExceptionalDateRangeServiceHourResponse": {
      "type": "object",
      "required": [
        "type",
        "heading",
        "additionalInformation",
        "fromDate",
        "toDate",
        "weeklyHours"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "ExceptionalDateRangeServiceHour"
          ]
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "fromDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "toDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "weeklyHours": {
          "$ref": "#/$defs/PartialExceptionalWeekResponse"
        }
      },
      "description": "Exceptional date range service hour",
      "additionalProperties": false,
      "title": "ExceptionalDateRangeServiceHour"
    },
    "ExceptionalServiceHourOpeningStatusType": {
      "description": "Opening status",
      "enum": [
        "Open",
        "Closed",
        "OpenOnReservation"
      ],
      "type": "string",
      "title": "ExceptionalServiceHourOpeningStatusType"
    },
    "ExceptionalWeekdayHourTypeResponse": {
      "type": "object",
      "required": [
        "openingStatus"
      ],
      "description": "Exceptional weekday hour",
      "oneOf": [
        {
          "$ref": "#/$defs/OpenExceptionalWeekdayHourResponse"
        },
        {
          "$ref": "#/$defs/ClosedExceptionalWeekdayHourResponse"
        }
      ],
      "title": "ExceptionalWeekdayHourTypeResponse"
    },
    "ExceptionalWeekdayTypeResponse": {
      "type": "object",
      "required": [
        "hours"
      ],
      "properties": {
        "hours": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExceptionalWeekdayHourTypeResponse"
          }
        }
      },
      "description": "Exceptional weekday",
      "title": "ExceptionalWeekdayTypeResponse"
    },
    "FaxNumberResponse": {
      "type": "object",
      "required": [
        "dialCode",
        "additionalInformation",
        "chargeDescription",
        "chargeType",
        "number",
        "type"
      ],
      "properties": {
        "dialCode": {
          "type": "string"
        },
        "additionalInformation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeDescription": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeType": {
          "$ref": "#/$defs/PhoneChargeType"
        },
        "number": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "Fax"
          ]
        }
      },
      "description": "Fax number",
      "additionalProperties": false,
      "title": "FaxNumberResponse"
    },
    "ForeignAddressResponse": {
      "type": "object",
      "required": [
        "address",
        "countryCode"
      ],
      "properties": {
        "address": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "countryCode": {
          "type": "string"
        }
      },
      "description": "Foreign address",
      "title": "ForeignAddressResponse"
    },
    "HolidayHourTypeResponse": {
      "type": "object",
      "required": [
        "start",
        "end",
        "openingStatus",
        "additionalInformation"
      ],
      "properties": {
        "start": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "end": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "openingStatus": {
          "$ref": "#/$defs/ExceptionalServiceHourOpeningStatusType"
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Holiday hour",
      "title": "HolidayHourTypeResponse"
    },
    "HolidayResponse": {
      "type": "object",
      "required": [
        "holidayName",
        "hours"
      ],
      "properties": {
        "holidayName": {
          "enum": [
            "NewYearEve",
            "NewYearDay",
            "Epiphany",
            "MaundyThursday",
            "GoodFriday",
            "EasterSunday",
            "EasterMonday",
            "MayDayEve",
            "MayDay",
            "AscensionDay",
            "WhitSunday",
            "MidsummerEve",
            "MidsummerDay",
            "AllSaintsDay",
            "IndependenceDay",
            "ChristmasEve",
            "ChristmasDay",
            "SecondDayOfChristmas"
          ],
          "type": "string"
        },
        "hours": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HolidayHourTypeResponse"
          }
        }
      },
      "description": "Holiday. Use a third-party date library to resolve the calendar date for movable holidays, such as Easter Sunday.",
      "title": "HolidayResponse"
    },
    "HolidayServiceHourTypeResponse": {
      "type": "object",
      "required": [
        "repetition",
        "holidays"
      ],
      "properties": {
        "repetition": {
          "$ref": "#/$defs/RepetitionTypeResponse"
        },
        "holidays": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HolidayResponse"
          }
        }
      },
      "additionalProperties": false,
      "description": "Holiday service hour",
      "title": "HolidayServiceHourTypeResponse"
    },
    "InternationalPhoneNumberResponse": {
      "type": "object",
      "required": [
        "dialCode",
        "additionalInformation",
        "chargeDescription",
        "chargeType",
        "number",
        "type"
      ],
      "properties": {
        "dialCode": {
          "type": "string"
        },
        "additionalInformation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeDescription": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeType": {
          "$ref": "#/$defs/PhoneChargeType"
        },
        "number": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "InternationalPhone"
          ]
        }
      },
      "description": "International phone number",
      "additionalProperties": false,
      "title": "InternationalPhoneNumberResponse"
    },
    "LimitedArea": {
      "type": "object",
      "required": [
        "areaType",
        "municipalities",
        "regions",
        "wellbeingServicesCounties"
      ],
      "properties": {
        "areaType": {
          "type": "string",
          "title": "LimitedArea",
          "enum": [
            "LimitedArea"
          ]
        },
        "municipalities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "wellbeingServicesCounties": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "title": "LimitedArea",
      "description": "Limited area"
    },
    "NormalServiceHoursTypeResponse": {
      "type": "object",
      "required": [
        "type"
      ],
      "description": "Service hours",
      "oneOf": [
        {
          "$ref": "#/$defs/WeeklyUntilFurtherNoticeServiceHour"
        },
        {
          "$ref": "#/$defs/WeeklyDateRangeServiceHourResponse"
        },
        {
          "$ref": "#/$defs/ContinuousAlwaysValidServiceHourResponse"
        },
        {
          "$ref": "#/$defs/ContinuousDateRangeServiceHourResponse"
        },
        {
          "$ref": "#/$defs/ContinuousWeekdaysUntilFurtherNoticeServiceHourResponse"
        },
        {
          "$ref": "#/$defs/ExceptionalDateRangeServiceHourResponse"
        }
      ],
      "title": "NormalServiceHoursTypeResponse"
    },
    "OpenExceptionalWeekdayHourResponse": {
      "type": "object",
      "required": [
        "start",
        "end",
        "openingStatus",
        "repetition",
        "additionalInformation"
      ],
      "properties": {
        "start": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "end": {
          "type": "string",
          "title": "iso-time",
          "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
        },
        "openingStatus": {
          "enum": [
            "Open",
            "OpenOnReservation"
          ],
          "type": "string"
        },
        "repetition": {
          "$ref": "#/$defs/WeeklyRepetitionType"
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Open exceptional weekday hour",
      "title": "OpenExceptionalWeekdayHourResponse"
    },
    "OpeningStatusType": {
      "description": "Opening status",
      "enum": [
        "Open",
        "OpenOnReservation"
      ],
      "type": "string",
      "title": "OpeningStatusType"
    },
    "OtherAddressResponse": {
      "type": "object",
      "required": [
        "postalCode",
        "coordinates",
        "additionalInformation"
      ],
      "properties": {
        "postalCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "coordinates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoordinateResponse"
          }
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Other address",
      "title": "OtherAddressResponse"
    },
    "PartialExceptionalWeekResponse": {
      "type": "object",
      "properties": {
        "monday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "tuesday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "wednesday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "thursday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "friday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "saturday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        },
        "sunday": {
          "$ref": "#/$defs/ExceptionalWeekdayTypeResponse"
        }
      },
      "description": "Partial exceptional week",
      "title": "PartialExceptionalWeekResponse"
    },
    "PartialWeekResponse": {
      "type": "object",
      "properties": {
        "monday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "tuesday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "wednesday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "thursday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "friday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "saturday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        },
        "sunday": {
          "$ref": "#/$defs/WeekdayTypeResponse"
        }
      },
      "description": "Partial week",
      "title": "PartialWeekResponse"
    },
    "PhoneChannelLanguageVersionResponse": {
      "type": "object",
      "required": [
        "name",
        "summary",
        "description",
        "webAddress",
        "supportEmails",
        "phoneNumbers"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "description": "Markdown-formatted content. Use a Markdown parser/renderer when presenting it."
            },
            {
              "type": "null"
            }
          ]
        },
        "webAddress": {
          "$ref": "#/$defs/WebAddressNameResponse"
        },
        "supportEmails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailResponse"
          }
        },
        "phoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PhoneNumberResponse"
          }
        }
      },
      "description": "Phone channel language version response",
      "additionalProperties": false,
      "title": "PhoneChannelLanguageVersionResponse"
    },
    "PhoneChannelLanguageVersionsResponse": {
      "type": "object",
      "properties": {
        "fi": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        },
        "sv": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        },
        "en": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        },
        "se": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        },
        "smn": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        },
        "sms": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionResponse"
        }
      },
      "additionalProperties": false,
      "description": "Phone channel language versions response",
      "title": "PhoneChannelLanguageVersionsResponse"
    },
    "PhoneChannelResponse": {
      "type": "object",
      "required": [
        "contentId",
        "organizationContentId",
        "allowedConnectionType",
        "serviceLanguages",
        "area",
        "publishedAt",
        "serviceChannelType",
        "languageVersions",
        "serviceHours"
      ],
      "properties": {
        "migratedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "contentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "organizationContentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "allowedConnectionType": {
          "$ref": "#/$defs/AllowedConnectionType"
        },
        "serviceLanguages": {
          "$ref": "#/$defs/ServiceLanguages"
        },
        "area": {
          "anyOf": [
            {
              "$ref": "#/$defs/AreaTypesResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "publishedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceChannelType": {
          "$ref": "#/$defs/TelephoneChannelType"
        },
        "languageVersions": {
          "$ref": "#/$defs/PhoneChannelLanguageVersionsResponse"
        },
        "serviceHours": {
          "$ref": "#/$defs/ServiceHoursResponse"
        }
      },
      "description": "Phone channel response",
      "title": "TelephoneService"
    },
    "PhoneChargeType": {
      "description": "Phone call charge type",
      "enum": [
        "Free",
        "Charged",
        "ExtraCharge"
      ],
      "type": "string",
      "title": "PhoneChargeType"
    },
    "PhoneNumberResponse": {
      "description": "Phone number",
      "type": "object",
      "required": [
        "type"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/FaxNumberResponse"
        },
        {
          "$ref": "#/$defs/SmsNumberResponse"
        },
        {
          "$ref": "#/$defs/DomesticPhoneNumberResponse"
        },
        {
          "$ref": "#/$defs/InternationalPhoneNumberResponse"
        }
      ],
      "title": "PhoneNumberResponse"
    },
    "PostOfficeBoxAddressResponse": {
      "type": "object",
      "required": [
        "postalCode",
        "postOfficeBox",
        "additionalInformation"
      ],
      "properties": {
        "postalCode": {
          "type": "string"
        },
        "postOfficeBox": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Post office box address",
      "title": "PostOfficeBoxAddressResponse"
    },
    "PostOfficeBoxDeliveryAddress": {
      "type": "object",
      "required": [
        "postalCode",
        "postOfficeBox",
        "additionalInformation",
        "recipient",
        "deliveryAddressType"
      ],
      "properties": {
        "postalCode": {
          "type": "string"
        },
        "postOfficeBox": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "recipient": {
          "type": "object",
          "properties": {
            "fi": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sv": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "en": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "se": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "smn": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sms": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "deliveryAddressType": {
          "type": "string",
          "description": "Post office box delivery address type",
          "title": "PrintableFormPostOfficeBoxType",
          "enum": [
            "PostOfficeBox"
          ]
        }
      },
      "description": "Post office box delivery address",
      "additionalProperties": false,
      "title": "PostOfficeBoxDeliveryAddress"
    },
    "PostiAddressSourceResponse": {
      "type": "object",
      "required": [
        "source"
      ],
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "Posti"
          ]
        }
      },
      "additionalProperties": false,
      "description": "Posti address source",
      "title": "PostiAddressSourceResponse"
    },
    "PrintableFormChannelLanguageVersionResponse": {
      "type": "object",
      "required": [
        "name",
        "summary",
        "description",
        "attachmentLinks",
        "supportEmails",
        "supportPhoneNumbers",
        "formIdentifier",
        "formFiles"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "description": "Markdown-formatted content. Use a Markdown parser/renderer when presenting it."
            },
            {
              "type": "null"
            }
          ]
        },
        "attachmentLinks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebPageWithAdditionalInformationResponse"
          }
        },
        "supportEmails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailResponse"
          }
        },
        "supportPhoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TelephoneNumberResponse"
          }
        },
        "formIdentifier": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "formFiles": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "url",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "type": {
                "enum": [
                  "rtf",
                  "doc",
                  "pdf",
                  "odt",
                  "excel"
                ],
                "type": "string"
              }
            }
          }
        }
      },
      "description": "Printable form channel language version response",
      "additionalProperties": false,
      "title": "PrintableFormChannelLanguageVersionResponse"
    },
    "PrintableFormChannelLanguageVersionsResponse": {
      "type": "object",
      "properties": {
        "fi": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        },
        "sv": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        },
        "en": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        },
        "se": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        },
        "smn": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        },
        "sms": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionResponse"
        }
      },
      "additionalProperties": false,
      "description": "Printable form channel language versions response",
      "title": "PrintableFormChannelLanguageVersionsResponse"
    },
    "PrintableFormChannelResponse": {
      "type": "object",
      "required": [
        "contentId",
        "organizationContentId",
        "allowedConnectionType",
        "serviceLanguages",
        "area",
        "publishedAt",
        "serviceChannelType",
        "languageVersions",
        "deliveryAddresses",
        "supportContactMethodPriority"
      ],
      "properties": {
        "migratedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "contentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "organizationContentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "allowedConnectionType": {
          "$ref": "#/$defs/AllowedConnectionType"
        },
        "serviceLanguages": {
          "$ref": "#/$defs/ServiceLanguages"
        },
        "area": {
          "anyOf": [
            {
              "$ref": "#/$defs/AreaTypesResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "publishedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceChannelType": {
          "$ref": "#/$defs/PrintableFormChannelType"
        },
        "languageVersions": {
          "$ref": "#/$defs/PrintableFormChannelLanguageVersionsResponse"
        },
        "deliveryAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DeliveryAddress"
          }
        },
        "supportContactMethodPriority": {
          "$ref": "#/$defs/SupportContactMethodPriorityResponse"
        }
      },
      "description": "Printable form channel response",
      "title": "PrintableForm"
    },
    "PrintableFormChannelType": {
      "type": "string",
      "description": "Printable form channel type",
      "title": "PrintableFormChannelType",
      "enum": [
        "PrintableForm"
      ]
    },
    "RepetitionEveryYearResponse": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "RepetitionEveryYear"
          ]
        }
      },
      "additionalProperties": false,
      "description": "Repetition every year",
      "title": "RepetitionEveryYear"
    },
    "RepetitionInSelectedYearsResponse": {
      "type": "object",
      "required": [
        "type",
        "years"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "RepetitionInSelectedYears"
          ]
        },
        "years": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        }
      },
      "additionalProperties": false,
      "description": "Repetition in selected years",
      "title": "RepetitionInSelectedYears"
    },
    "RepetitionTypeResponse": {
      "type": "object",
      "required": [
        "type"
      ],
      "description": "Repetition",
      "oneOf": [
        {
          "$ref": "#/$defs/RepetitionEveryYearResponse"
        },
        {
          "$ref": "#/$defs/RepetitionInSelectedYearsResponse"
        }
      ],
      "title": "RepetitionTypeResponse"
    },
    "ServiceHoursResponse": {
      "type": "object",
      "required": [
        "hours",
        "holidayServiceHours"
      ],
      "properties": {
        "hours": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NormalServiceHoursTypeResponse"
          }
        },
        "holidayServiceHours": {
          "anyOf": [
            {
              "$ref": "#/$defs/HolidayServiceHourTypeResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Service hours",
      "title": "ServiceHoursResponse"
    },
    "ServiceLanguage": {
      "description": "Service language",
      "enum": [
        "se",
        "smn",
        "sms",
        "hi",
        "ug",
        "he",
        "sgn-fi",
        "no",
        "lv",
        "da",
        "sw",
        "cs",
        "pl",
        "de",
        "ms",
        "ln",
        "sr",
        "is",
        "sh",
        "sk",
        "fr",
        "bs",
        "el",
        "am",
        "hr",
        "uz",
        "es",
        "ko",
        "ta",
        "hu",
        "ky",
        "rn",
        "kk",
        "kg",
        "fa",
        "et",
        "so",
        "th",
        "bn",
        "km",
        "tk",
        "wo",
        "ne",
        "ro",
        "sq",
        "it",
        "lo",
        "az",
        "rom",
        "tr",
        "id",
        "tl",
        "hy",
        "my",
        "mk",
        "zh",
        "rw",
        "uk",
        "ur",
        "ar",
        "ja",
        "ps",
        "ru",
        "sl",
        "vi",
        "lt",
        "ka",
        "ku",
        "bg",
        "nl",
        "pt",
        "fi",
        "sv",
        "en",
        "prs"
      ],
      "type": "string",
      "title": "ServiceLanguage"
    },
    "ServiceLanguages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServiceLanguage"
      },
      "description": "Service languages",
      "title": "ServiceLanguages"
    },
    "ServiceLocationChannelContactAddresses": {
      "type": "object",
      "required": [
        "foreignAddresses",
        "postOfficeBoxAddresses",
        "streetAddresses"
      ],
      "properties": {
        "foreignAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ForeignAddressResponse"
          }
        },
        "postOfficeBoxAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PostOfficeBoxAddressResponse"
          }
        },
        "streetAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StreetAddressResponse"
          }
        }
      },
      "description": "Service channel contact addresses",
      "title": "ServiceLocationChannelContactAddresses"
    },
    "ServiceLocationChannelLanguageVersionResponse": {
      "type": "object",
      "required": [
        "name",
        "summary",
        "description",
        "alternativeName",
        "isAlternativeNamePrimary",
        "contactEmails",
        "contactFaxNumbers",
        "contactWebPages",
        "contactPhoneNumbers"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "description": "Markdown-formatted content. Use a Markdown parser/renderer when presenting it."
            },
            {
              "type": "null"
            }
          ]
        },
        "alternativeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "isAlternativeNamePrimary": {
          "type": "boolean"
        },
        "contactEmails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailResponse"
          }
        },
        "contactFaxNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FaxNumberResponse"
          }
        },
        "contactWebPages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WebPageResponse"
          }
        },
        "contactPhoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TelephoneNumberResponse"
          }
        }
      },
      "description": "Service location channel language version response",
      "additionalProperties": false,
      "title": "ServiceLocationChannelLanguageVersionResponse"
    },
    "ServiceLocationChannelLanguageVersionsResponse": {
      "type": "object",
      "properties": {
        "fi": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        },
        "sv": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        },
        "en": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        },
        "se": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        },
        "smn": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        },
        "sms": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionResponse"
        }
      },
      "additionalProperties": false,
      "description": "Service location channel language versions response",
      "title": "ServiceLocationChannelLanguageVersionsResponse"
    },
    "ServiceLocationChannelLocation": {
      "type": "object",
      "required": [
        "foreignAddresses",
        "otherAddresses",
        "streetAddresses"
      ],
      "properties": {
        "foreignAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ForeignAddressResponse"
          }
        },
        "otherAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OtherAddressResponse"
          }
        },
        "streetAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StreetAddressWithAccessibilityInformationResponse"
          }
        }
      },
      "description": "Service channel location",
      "title": "ServiceLocationChannelLocation"
    },
    "ServiceLocationChannelResponse": {
      "type": "object",
      "required": [
        "contentId",
        "organizationContentId",
        "allowedConnectionType",
        "serviceLanguages",
        "area",
        "publishedAt",
        "serviceChannelType",
        "languageVersions",
        "location",
        "contactAddresses",
        "serviceHours",
        "contactMethodPriority"
      ],
      "properties": {
        "migratedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "contentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "organizationContentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "allowedConnectionType": {
          "$ref": "#/$defs/AllowedConnectionType"
        },
        "serviceLanguages": {
          "$ref": "#/$defs/ServiceLanguages"
        },
        "area": {
          "anyOf": [
            {
              "$ref": "#/$defs/AreaTypesResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "publishedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceChannelType": {
          "$ref": "#/$defs/ServiceLocationChannelType"
        },
        "languageVersions": {
          "$ref": "#/$defs/ServiceLocationChannelLanguageVersionsResponse"
        },
        "location": {
          "$ref": "#/$defs/ServiceLocationChannelLocation"
        },
        "contactAddresses": {
          "$ref": "#/$defs/ServiceLocationChannelContactAddresses"
        },
        "serviceHours": {
          "$ref": "#/$defs/ServiceHoursResponse"
        },
        "contactMethodPriority": {
          "$ref": "#/$defs/ContactMethodPriorityResponseSchema"
        }
      },
      "description": "Service location channel response",
      "additionalProperties": false,
      "title": "ServiceLocation"
    },
    "ServiceLocationChannelType": {
      "type": "string",
      "description": "Service location channel type",
      "title": "ServiceLocationChannelType",
      "enum": [
        "ServiceLocation"
      ]
    },
    "Signature": {
      "description": "EService channel signature",
      "type": "object",
      "required": [
        "type"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/SignatureRequired"
        },
        {
          "$ref": "#/$defs/SignatureNotRequired"
        }
      ],
      "title": "Signature"
    },
    "SignatureNotRequired": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "NotRequired"
          ]
        }
      },
      "description": "Signature not required",
      "title": "SignatureNotRequired"
    },
    "SignatureRequired": {
      "type": "object",
      "required": [
        "type",
        "numberOfRequiredSignatures"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Required"
          ]
        },
        "numberOfRequiredSignatures": {
          "type": "integer"
        }
      },
      "description": "Signature required",
      "title": "SignatureRequired"
    },
    "SmsNumberResponse": {
      "type": "object",
      "required": [
        "dialCode",
        "additionalInformation",
        "chargeDescription",
        "chargeType",
        "number",
        "type"
      ],
      "properties": {
        "dialCode": {
          "type": "string"
        },
        "additionalInformation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeDescription": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "chargeType": {
          "$ref": "#/$defs/PhoneChargeType"
        },
        "number": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "Sms"
          ]
        }
      },
      "description": "Sms number",
      "additionalProperties": false,
      "title": "SmsNumberResponse"
    },
    "StreetAddressDeliveryAddress": {
      "type": "object",
      "required": [
        "addressSource",
        "streetName",
        "addressDetail",
        "postalCode",
        "municipalityCode",
        "coordinates",
        "additionalInformation",
        "recipient",
        "deliveryAddressType"
      ],
      "properties": {
        "addressSource": {
          "$ref": "#/$defs/AddressSourceResponse"
        },
        "streetName": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "addressDetail": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "municipalityCode": {
          "type": "string",
          "description": "Municipality code"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoordinateResponse"
          }
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "recipient": {
          "type": "object",
          "properties": {
            "fi": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sv": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "en": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "se": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "smn": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sms": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "deliveryAddressType": {
          "type": "string",
          "description": "Street address delivery address type",
          "title": "PrintableFormStreetAddressType",
          "enum": [
            "StreetAddress"
          ]
        }
      },
      "additionalProperties": false,
      "description": "Street address delivery address",
      "title": "StreetAddressDeliveryAddress"
    },
    "StreetAddressResponse": {
      "type": "object",
      "required": [
        "addressSource",
        "streetName",
        "addressDetail",
        "postalCode",
        "municipalityCode",
        "coordinates",
        "additionalInformation"
      ],
      "properties": {
        "addressSource": {
          "$ref": "#/$defs/AddressSourceResponse"
        },
        "streetName": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "addressDetail": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "municipalityCode": {
          "type": "string",
          "description": "Municipality code"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoordinateResponse"
          }
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Street address",
      "title": "StreetAddressResponse"
    },
    "StreetAddressWithAccessibilityInformationResponse": {
      "type": "object",
      "required": [
        "addressSource",
        "streetName",
        "addressDetail",
        "postalCode",
        "municipalityCode",
        "coordinates",
        "additionalInformation",
        "accessibilityRegisterServicePointId"
      ],
      "properties": {
        "addressSource": {
          "$ref": "#/$defs/AddressSourceResponse"
        },
        "streetName": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "addressDetail": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "municipalityCode": {
          "type": "string",
          "description": "Municipality code"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoordinateResponse"
          }
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "accessibilityRegisterServicePointId": {
          "anyOf": [
            {
              "type": "string",
              "description": "Accessibility register service point id.\n\nService point id for usage with the City Platform API of the City of Helsinki.\n(https://kaupunkialustana.hel.fi/tpr-rajapinnat/)\n\nReplace `{accessibilityRegisterServicePointId}` with the value from the response.\n\n- [Service point information](https://tpr.hel.fi/kapaesteettomyys/api/v1/servicepoints/d26b5f28-41c6-40a3-99f9-a1b762cc8191/{accessibilityRegisterServicePointId}/)\n- [Entrance information](https://tpr.hel.fi/kapaesteettomyys/api/v1/servicepoints/d26b5f28-41c6-40a3-99f9-a1b762cc8191/{accessibilityRegisterServicePointId}/entrances/)\n- [Accessibility sentences](https://tpr.hel.fi/kapaesteettomyys/api/v1/accessibility/servicepoints/d26b5f28-41c6-40a3-99f9-a1b762cc8191/{accessibilityRegisterServicePointId}/sentences/)\n\nFor more information see:\n[Suomi.fi processing rules](https://kehittajille.suomi.fi/palvelut/palvelutietovaranto/rajapinta-ja-arkkitehtuuriuudistus/kasittelysaannot-rajapintatiedon-tulkintaan)",
              "title": "AccessibilityRegisterServicePointId"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Street address with optional accessibility register service point id",
      "title": "StreetAddressWithAccessibilityInformationResponse"
    },
    "SupportContactMethodPriority": {
      "description": "Support contact method priority",
      "enum": [
        "PhoneNumber",
        "Email"
      ],
      "type": "string",
      "title": "SupportContactMethodPriority"
    },
    "SupportContactMethodPriorityResponse": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SupportContactMethodPriority"
      },
      "description": "Support contact method priority response",
      "title": "SupportContactMethodPriorityResponse"
    },
    "TelephoneChannelType": {
      "type": "string",
      "description": "Telephone channel type",
      "title": "TelephoneChannelType",
      "enum": [
        "TelephoneService"
      ]
    },
    "TelephoneNumberResponse": {
      "description": "Telephone number",
      "type": "object",
      "required": [
        "type"
      ],
      "oneOf": [
        {
          "$ref": "#/$defs/DomesticPhoneNumberResponse"
        },
        {
          "$ref": "#/$defs/InternationalPhoneNumberResponse"
        }
      ],
      "title": "TelephoneNumberResponse"
    },
    "UserEnteredAddressSourceResponse": {
      "type": "object",
      "required": [
        "source"
      ],
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "UserEntered"
          ]
        }
      },
      "additionalProperties": false,
      "description": "User entered address source",
      "title": "UserEnteredAddressSourceResponse"
    },
    "WebAddressNameResponse": {
      "type": "object",
      "required": [
        "url",
        "name"
      ],
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false,
      "title": "WebAddressNameResponse"
    },
    "WebPageChannelLanguageVersionResponse": {
      "type": "object",
      "required": [
        "name",
        "summary",
        "description",
        "accessibilityClassificationLevel",
        "webAddress",
        "supportEmails",
        "supportPhoneNumbers"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "description": "Markdown-formatted content. Use a Markdown parser/renderer when presenting it."
            },
            {
              "type": "null"
            }
          ]
        },
        "accessibilityClassificationLevel": {
          "$ref": "#/$defs/AccessibilityClassificationLevel"
        },
        "webAddress": {
          "$ref": "#/$defs/WebAddressNameResponse"
        },
        "supportEmails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailResponse"
          }
        },
        "supportPhoneNumbers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TelephoneNumberResponse"
          }
        }
      },
      "description": "Web page channel language version response",
      "additionalProperties": false,
      "title": "WebPageChannelLanguageVersionResponse"
    },
    "WebPageChannelLanguageVersionsResponse": {
      "type": "object",
      "properties": {
        "fi": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        },
        "sv": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        },
        "en": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        },
        "se": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        },
        "smn": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        },
        "sms": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionResponse"
        }
      },
      "additionalProperties": false,
      "description": "Web page channel language versions response",
      "title": "WebPageChannelLanguageVersionsResponse"
    },
    "WebPageChannelResponse": {
      "type": "object",
      "required": [
        "contentId",
        "organizationContentId",
        "allowedConnectionType",
        "serviceLanguages",
        "area",
        "publishedAt",
        "serviceChannelType",
        "languageVersions",
        "supportContactMethodPriority"
      ],
      "properties": {
        "migratedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "contentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "organizationContentId": {
          "$ref": "#/$defs/ContentIdType"
        },
        "allowedConnectionType": {
          "$ref": "#/$defs/AllowedConnectionType"
        },
        "serviceLanguages": {
          "$ref": "#/$defs/ServiceLanguages"
        },
        "area": {
          "anyOf": [
            {
              "$ref": "#/$defs/AreaTypesResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "publishedAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateTime"
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceChannelType": {
          "$ref": "#/$defs/WebPageChannelType"
        },
        "languageVersions": {
          "$ref": "#/$defs/WebPageChannelLanguageVersionsResponse"
        },
        "supportContactMethodPriority": {
          "$ref": "#/$defs/SupportContactMethodPriorityResponse"
        }
      },
      "description": "Web page channel response",
      "title": "WebPage"
    },
    "WebPageChannelType": {
      "type": "string",
      "description": "Web page channel type",
      "title": "WebPageChannelType",
      "enum": [
        "WebPage"
      ]
    },
    "WebPageResponse": {
      "type": "object",
      "required": [
        "name",
        "url"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "description": "Web page",
      "title": "WebPageResponse"
    },
    "WebPageWithAdditionalInformationResponse": {
      "type": "object",
      "required": [
        "name",
        "url",
        "additionalInformation"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "additionalInformation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Web page with additional information",
      "title": "WebPageWithAdditionalInformationResponse"
    },
    "WeekdayNamesType": {
      "description": "Weekday names",
      "enum": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday",
        "Saturday",
        "Sunday"
      ],
      "type": "string",
      "title": "WeekdayNamesType"
    },
    "WeekdayTypeResponse": {
      "type": "object",
      "required": [
        "hours"
      ],
      "properties": {
        "hours": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "start",
              "end",
              "openingStatus",
              "repetition",
              "additionalInformation"
            ],
            "properties": {
              "start": {
                "type": "string",
                "title": "iso-time",
                "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
              },
              "end": {
                "type": "string",
                "title": "iso-time",
                "description": "Time in ISO 8601 format hh:mm e.g. 17:59"
              },
              "openingStatus": {
                "$ref": "#/$defs/OpeningStatusType"
              },
              "repetition": {
                "$ref": "#/$defs/WeeklyRepetitionType"
              },
              "additionalInformation": {
                "type": "object",
                "properties": {
                  "fi": {
                    "type": "string"
                  },
                  "sv": {
                    "type": "string"
                  },
                  "en": {
                    "type": "string"
                  },
                  "se": {
                    "type": "string"
                  },
                  "smn": {
                    "type": "string"
                  },
                  "sms": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        }
      },
      "description": "Weekday",
      "title": "WeekdayTypeResponse"
    },
    "WeeklyDateRangeServiceHourResponse": {
      "type": "object",
      "required": [
        "type",
        "fromDate",
        "toDate",
        "heading",
        "additionalInformation",
        "weeklyHours"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "WeeklyDateRangeServiceHour"
          ]
        },
        "fromDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "toDate": {
          "type": "string",
          "title": "iso-date",
          "description": "Date in ISO 8601 format YYYY-MM-DD e.g. 2026-01-15",
          "format": "date"
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "weeklyHours": {
          "$ref": "#/$defs/PartialWeekResponse"
        }
      },
      "description": "Weekly date range service hour",
      "additionalProperties": false,
      "title": "WeeklyDateRangeServiceHour"
    },
    "WeeklyRepetitionType": {
      "description": "Weekly repetition",
      "enum": [
        "Weekly",
        "OddWeeks",
        "EvenWeeks"
      ],
      "type": "string",
      "title": "WeeklyRepetitionType"
    },
    "WeeklyUntilFurtherNoticeServiceHour": {
      "type": "object",
      "required": [
        "type",
        "heading",
        "additionalInformation",
        "weeklyHours"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "WeeklyUntilFurtherNoticeServiceHour"
          ]
        },
        "heading": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "additionalInformation": {
          "type": "object",
          "properties": {
            "fi": {
              "type": "string"
            },
            "sv": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "se": {
              "type": "string"
            },
            "smn": {
              "type": "string"
            },
            "sms": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "weeklyHours": {
          "$ref": "#/$defs/PartialWeekResponse"
        }
      },
      "description": "Weekly until further notice service hour",
      "additionalProperties": false,
      "title": "WeeklyUntilFurtherNoticeServiceHour"
    },
    "WholeCountry": {
      "type": "object",
      "required": [
        "areaType"
      ],
      "properties": {
        "areaType": {
          "type": "string",
          "title": "WholeCountry",
          "enum": [
            "WholeCountry"
          ]
        }
      },
      "additionalProperties": false,
      "title": "WholeCountry",
      "description": "Whole country"
    },
    "WholeCountryExceptAland": {
      "type": "object",
      "required": [
        "areaType"
      ],
      "properties": {
        "areaType": {
          "type": "string",
          "title": "WholeCountryExceptAland",
          "enum": [
            "WholeCountryExceptAland"
          ]
        }
      },
      "additionalProperties": false,
      "title": "WholeCountryExceptAland",
      "description": "Whole country except Åland"
    }
  }
}