openapi: 3.0.1
info:
  title: Nederland Wereldwijd
  description: Open data. De informatie van Nederland Wereldwijd is openbaar. Open
    data zijn gegevens die iedereen mag gebruiken en verspreiden. Ontwikkelaars kunnen
    open data bijvoorbeeld gebruiken om een app te ontwikkelen of om informatie op
    hun eigen website te plaatsen.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.0.0
servers:
- url: https://opendata.nederlandwereldwijd.nl/v2
  description: Production environment
  variables: {}
tags:
- name: ConsularData
  description: Retrieve contact information for all representations abroad
- name: Countries
  description: Countries summary for available infotypes
- name: Noodhulp
  description: FAQ. What to do in case of an emergency
- name: TravelAdvice
  description: Retrieve the most up to date traveladvice for countries worldwide
paths:
  /sources/nederlandwereldwijd/infotypes/nl-representation:
    get:
      tags:
      - ConsularData
      description: Returns an overview list of consular data for all countries
      operationId: getOverview
      parameters:
      - name: lang
        in: query
        description: "Language code, e.g. 'nl', 'en'. Default is 'nl'"
        schema:
          type: string
          enum:
          - nl
          - en
          default: nl
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          type: integer
          format: int64
          default: 25
      - name: offset
        in: query
        description: Offset
        schema:
          type: integer
          format: int64
          default: 0
      - name: modifiedsince
        in: query
        description: Date and time in the format yyyyMMddHHmmssSSS
        schema:
          pattern: "([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])([0-5]\\\
            d){2})([0-9]{3})"
          type: string
          format: date
          example: "20231201231101123"
      responses:
        "200":
          description: Retrieve consular data overview. This operation returns 25
            items by default.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/country-consular-data'
            application/xml:
              schema:
                $ref: '#/components/schemas/consular-data-overview'
  /sources/nederlandwereldwijd/infotypes/countries/{country}/nl-representation/{id}:
    get:
      tags:
      - ConsularData
      description: Returns detailed country representation by shortId
      operationId: getCountryRepresentationDetailById
      parameters:
      - name: country
        in: path
        description: "Three-letter ISO 3166-1 alpha-3 country code (e.g., 'khm' for\
          \ Cambodia or 'grl' for Greenland). Alternatively, a 'location key' (e.g.\
          \ 'nederland') is also accepted, though not preferred."
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Short ID for the representation
        required: true
        schema:
          type: string
        example: embassy-yangon
      - name: lang
        in: query
        description: "Language code, e.g. 'nl', 'en'. Default is 'nl'"
        schema:
          type: string
          enum:
          - nl
          - en
          default: nl
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - json
          - xml
          default: xml
      - name: If-Modified-Since
        in: header
        description: "Date and time in the format `<day-name>, <day> <month> <year>\
          \ <hour>:<minute>:<second> GMT`, for more information https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
        schema:
          pattern: "(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s\\d{2}\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\
            s\\d{4}\\s\\d{2}:\\d{2}:\\d{2}\\sGMT"
          type: string
          format: date-time
        example: "Tue, 28 Feb 2023 19:25:15 GMT"
      responses:
        "200":
          description: Returns detailed country representation by shortId
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/country-representation-detail'
            application/xml:
              schema:
                $ref: '#/components/schemas/country-representation-detail'
  /sources/nederlandwereldwijd/infotypes/countries/{country}/nl-representation:
    get:
      tags:
      - ConsularData
      description: Returns a country's consular data
      operationId: getCountryRepresentation
      parameters:
      - name: country
        in: path
        description: "Three-letter ISO 3166-1 alpha-3 country code (e.g., 'khm' for\
          \ Cambodia or 'grl' for Greenland). Alternatively, a 'location key' (e.g.\
          \ 'nederland') is also accepted, though not preferred."
        required: true
        schema:
          type: string
      - name: lang
        in: query
        description: "Language code, e.g. 'nl', 'en'. Default is 'nl'"
        schema:
          type: string
          enum:
          - nl
          - en
          default: nl
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          type: integer
          format: int64
          default: 25
      - name: offset
        in: query
        description: Offset
        schema:
          type: integer
          format: int64
          default: 0
      - name: modifiedsince
        in: query
        description: Date and time in the format yyyyMMddHHmmssSSS
        schema:
          pattern: "([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])([0-5]\\\
            d){2})([0-9]{3})"
          type: string
          format: date
          example: "20231201231101123"
      responses:
        "200":
          description: Retrieve country's consular data.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/country-representation'
            application/xml:
              schema:
                $ref: '#/components/schemas/country-representation-overview'
  /sources/nederlandwereldwijd/infotypes/countries/{location}:
    get:
      tags:
      - Countries
      description: Get a country
      operationId: getCountry
      parameters:
      - name: location
        in: path
        description: "Three-letter ISO 3166-1 alpha-3 country code (e.g., 'khm' for\
          \ Cambodia or 'grl' for Greenland). Alternatively, a 'location key' (e.g.\
          \ 'nederland') is also accepted, though not preferred."
        required: true
        schema:
          type: string
          example: khm
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      responses:
        "200":
          description: Countries details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/country'
            application/xml:
              schema:
                $ref: '#/components/schemas/country'
  /sources/nederlandwereldwijd/infotypes/countries:
    get:
      tags:
      - Countries
      description: Get a list of countries
      operationId: getCountriesList
      parameters:
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - json
          - xml
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          type: integer
          format: int64
          default: 25
      - name: offset
        in: query
        description: Offset
        schema:
          type: integer
          format: int64
          default: 0
      - name: sort
        in: query
        description: Sort order
        schema:
          type: string
          enum:
          - asc
          - desc
          default: asc
      responses:
        "200":
          description: Countries summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/country-summary'
            application/xml:
              schema:
                $ref: '#/components/schemas/country-summary'
  /sources/nederlandwereldwijd/infotypes/hulp-bij-nood:
    get:
      tags:
      - Noodhulp
      description: Returns a list of 'noodhulp' FAQ items
      operationId: getNoodhulpList
      parameters:
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          type: integer
          format: int64
          default: 25
      - name: offset
        in: query
        description: Offset
        schema:
          type: integer
          format: int64
          default: 0
      - name: modifiedsince
        in: query
        description: Date and time in the format yyyyMMddHHmmssSSS
        schema:
          pattern: "([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])([0-5]\\\
            d){2})([0-9]{3})"
          type: string
          format: date
          example: "20231201231101123"
      responses:
        "200":
          description: Retrieve (filtered) list. This operation returns 25 items by
            default.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/emergency-aid-document'
            application/xml:
              schema:
                $ref: '#/components/schemas/emergency-aid-documents'
  /sources/nederlandwereldwijd/infotypes/hulp-bij-nood/{id}:
    get:
      tags:
      - Noodhulp
      description: Returns noodhulp for a given subjectid
      operationId: getNoodhulpBySubjectId
      parameters:
      - name: id
        in: path
        description: Unique identifier of the 'noodhulp' (urgent assistance)
        required: true
        schema:
          type: string
          format: uuid
          example: 3d99a2a4-7483-4590-ada9-50d2ed136462
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - json
          - xml
          default: xml
      - name: If-Modified-Since
        in: header
        description: "Date and time in the format `<day-name>, <day> <month> <year>\
          \ <hour>:<minute>:<second> GMT`, for more information https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
        schema:
          pattern: "(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s\\d{2}\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\
            s\\d{4}\\s\\d{2}:\\d{2}:\\d{2}\\sGMT"
          type: string
          format: date-time
        example: "Tue, 28 Feb 2023 19:25:15 GMT"
      responses:
        "200":
          description: Retrieve noodhulp by id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emergency-aid-document'
            application/xml:
              schema:
                $ref: '#/components/schemas/emergency-aid-document'
  /sources/nederlandwereldwijd/openapi.{type}:
    get:
      tags:
      - OpenAPI Specification
      description: Returns the open API specification in the requested format (type)
      operationId: getOpenAPI
      parameters:
      - name: type
        in: path
        description: The type of the OpenAPI document
        required: true
        schema:
          type: string
          enum:
          - json
          - yaml
          default: json
        example: json
      responses:
        default:
          description: default response
          content:
            application/json: {}
            application/yaml: {}
  /sources/nederlandwereldwijd:
    get:
      tags:
      - Default handler serves OAS in json
      description: Returns the open API specification in JSON format
      operationId: getOpenAPIDefault
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /sources/nederlandwereldwijd/infotypes/traveladvice:
    get:
      tags:
      - TravelAdvice
      description: Returns travel advice list
      operationId: getTraveladviceList
      parameters:
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          maximum: 200
          type: integer
          format: int64
          example: 25
          default: 25
      - name: offset
        in: query
        description: offset
        schema:
          type: integer
          format: int64
          example: 0
          default: 0
      - name: modifiedsince
        in: query
        description: Date and time in the format yyyyMMddHHmmssSSS
        schema:
          pattern: "([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])([0-5]\\\
            d){2})([0-9]{3})"
          type: string
          format: date
          example: "20231201231101123"
      responses:
        "200":
          description: Retrieve (filtered) list. This operation returns 25 items by
            default.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/travel-advice-document-summary'
            application/xml:
              schema:
                $ref: '#/components/schemas/travel-advice-documents'
  /sources/nederlandwereldwijd/infotypes/countries/{location}/traveladvice:
    get:
      tags:
      - TravelAdvice
      description: Returns traveladvice for a given country (location)
      operationId: getTravelAdviceByLocation
      parameters:
      - name: location
        in: path
        description: "Three-letter ISO 3166-1 alpha-3 country code (e.g., 'khm' for\
          \ Cambodia or 'grl' for Greenland). Alternatively, a 'location key' (e.g.\
          \ 'nederland') is also accepted, though not preferred."
        required: true
        schema:
          pattern: "^[a-z-]+$"
          type: string
          example: khm
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: If-Modified-Since
        in: header
        description: "Date and time in the format `<day-name>, <day> <month> <year>\
          \ <hour>:<minute>:<second> GMT`, for more information https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
        schema:
          pattern: "(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s\\d{2}\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\
            s\\d{4}\\s\\d{2}:\\d{2}:\\d{2}\\sGMT"
          type: string
          format: date-time
        example: "Tue, 28 Feb 2023 19:25:15 GMT"
      responses:
        "200":
          description: Retrieve Traveladvice by location
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/travel-advice-document'
            application/xml:
              schema:
                $ref: '#/components/schemas/travel-advice-document'
  /sources/nederlandwereldwijd/infotypes/traveladvice/lastmodifiedsince/{date}:
    get:
      tags:
      - TravelAdvice
      description: "Returns list of traveladvices that were modified since {date}"
      operationId: getTraveladviceListLastmodifiedSince
      parameters:
      - name: date
        in: path
        description: Date and time in the format yyyyMMdd
        required: true
        schema:
          pattern: "([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))"
          type: string
          format: date
          example: "20231201"
      - name: output
        in: query
        description: Output format. Either 'json' or 'xml'. Default is 'xml'
        schema:
          type: string
          enum:
          - xml
          - json
          default: xml
      - name: rows
        in: query
        description: Number of rows to return
        schema:
          maximum: 200
          type: integer
          format: int64
          example: 25
          default: 25
      - name: offset
        in: query
        description: Offset
        schema:
          type: integer
          format: int64
          example: 0
          default: 0
      responses:
        "200":
          description: Retrieve (filtered) list of reisadviezen modified after specific
            date
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/travel-advice-document-summary'
            application/xml:
              schema:
                $ref: '#/components/schemas/travel-advice-documents'
  /sources/nederlandwereldwijd/infotypes/countries/{location}/traveladvice/map:
    get:
      tags:
      - TravelAdvice
      description: Returns travel advice map for a given country(location)
      operationId: getTravelAdviceMapByLocation
      parameters:
      - name: location
        in: path
        description: "Three-letter ISO 3166-1 alpha-3 country code (e.g., 'khm' for\
          \ Cambodia or 'grl' for Greenland). Alternatively, a 'location key' (e.g.\
          \ 'nederland') is also accepted, though not preferred."
        required: true
        schema:
          pattern: "^[a-z-]+$"
          type: string
          example: khm
      - name: type
        in: query
        description: Type map (standard or legend)
        schema:
          type: string
          enum:
          - standard
          - legend
          default: standard
      - name: If-Modified-Since
        in: header
        description: "Date and time in the format `<day-name>, <day> <month> <year>\
          \ <hour>:<minute>:<second> GMT`, for more information https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
        schema:
          pattern: "(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s\\d{2}\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\
            s\\d{4}\\s\\d{2}:\\d{2}:\\d{2}\\sGMT"
          type: string
          format: date-time
        example: "Tue, 28 Feb 2023 19:25:15 GMT"
      responses:
        "200":
          description: Retrieve TravelAdvice Map by location
          content:
            image/png:
              schema:
                type: object
            application/json:
              schema:
                type: object
  /sources/nederlandwereldwijd/infotypes/traveladvice/worldmap:
    get:
      tags:
      - TravelAdvice
      description: Retrieve TravelAdvice world Map
      operationId: getWorldMap
      parameters:
      - name: If-Modified-Since
        in: header
        description: "Date and time in the format `<day-name>, <day> <month> <year>\
          \ <hour>:<minute>:<second> GMT`, for more information https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
        schema:
          pattern: "(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s\\d{2}\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\
            s\\d{4}\\s\\d{2}:\\d{2}:\\d{2}\\sGMT"
          type: string
          format: date-time
        example: "Tue, 28 Feb 2023 19:25:15 GMT"
      responses:
        "200":
          description: Retrieve TravelAdvice world Map
          content:
            image/png:
              schema:
                type: object
            application/json:
              schema:
                type: object
components:
  schemas:
    country-consular-data:
      type: object
      properties:
        type:
          type: string
        dataurl:
          type: string
        location:
          type: string
        locationkey:
          type: string
        link:
          type: string
      xml:
        name: document
    consular-data-overview:
      type: object
      properties:
        consularDataOverview:
          type: object
          properties:
            type:
              type: string
            dataurl:
              type: string
            location:
              type: string
            locationkey:
              type: string
            link:
              type: string
          xml:
            name: document
      xml:
        name: documents
    contact-option:
      type: object
      properties:
        title:
          type: string
        type:
          type: string
        paragraph:
          type: string
      xml:
        name: contactoptions
    coordinates:
      type: object
      properties:
        title:
          type: string
        description:
          type: string
        latitude:
          type: string
        longitude:
          type: string
      xml:
        name: coordinates
    country-representation-detail:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        canonical:
          type: string
        dataurl:
          type: string
        title:
          type: string
        function:
          type: string
        embassy:
          type: boolean
        agencyhead:
          type: string
        address:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: line
        servicelocations:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: locationkey
        openingtimes:
          type: string
        register:
          type: string
        telephonenumbers:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: telephonenumber
        phonenumbers:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/phone'
        emergencyinfo:
          type: string
        emergencynumber:
          type: string
        faxnumber:
          type: string
        emailaddress:
          type: string
        emailaddresses:
          $ref: '#/components/schemas/email-adress-wrapper'
        consularopeningtimes:
          type: string
        contactoptions:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/contact-option'
        additionalinformation:
          type: string
        practicalinformation:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/practical-information-option'
        faq:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/question'
        consulartelephonenumbers:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: telephonenumber
        consularfaxnumber:
          type: string
        consularemailaddress:
          type: string
        timedifferencewithnl:
          type: string
        map:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/coordinates'
        authorities:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        creators:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        rightsholders:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        license:
          type: string
        languages:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: language
        location:
          type: string
        lastmodified:
          type: string
          format: date-time
      xml:
        name: document
    email-address:
      type: object
      properties:
        comment:
          type: string
        mailto:
          type: string
      xml:
        name: emailaddress
    email-adress-wrapper:
      type: object
      properties:
        introduction:
          type: string
        emailaddress:
          type: array
          items:
            $ref: '#/components/schemas/email-address'
      xml:
        name: emailaddresses
    phone:
      type: object
      properties:
        comment:
          type: string
        number:
          type: string
    practical-information-option:
      type: object
      properties:
        paragraphtitle:
          type: string
        type:
          type: string
        paragraph:
          type: string
      xml:
        name: practicalinformationoptions
    question:
      type: object
      properties:
        paragraphtitle:
          type: string
        paragraph:
          type: string
      xml:
        name: faq
    country-representation:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        canonical:
          type: string
        dataurl:
          type: string
        title:
          type: string
        phonenumbers:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/phone'
        emailaddress:
          type: string
        emailaddresses:
          $ref: '#/components/schemas/email-adress-wrapper'
        locationkey:
          type: string
        lastmodified:
          type: string
          format: date-time
        telephonenumbers:
          type: array
          writeOnly: true
          items:
            type: string
      xml:
        name: document
    country-representation-overview:
      type: object
      properties:
        countryRepresentations:
          type: object
          properties:
            id:
              type: string
            type:
              type: string
            canonical:
              type: string
            dataurl:
              type: string
            title:
              type: string
            phonenumbers:
              type: array
              xml:
                wrapped: true
              items:
                $ref: '#/components/schemas/phone'
            emailaddress:
              type: string
            emailaddresses:
              $ref: '#/components/schemas/email-adress-wrapper'
            locationkey:
              type: string
            lastmodified:
              type: string
              format: date-time
            telephonenumbers:
              type: array
              writeOnly: true
              items:
                type: string
          xml:
            name: document
      xml:
        name: documents
    country:
      required:
      - dataurl
      - id
      - location
      - type
      type: object
      properties:
        id:
          type: string
          example: vir
        type:
          type: string
          example: land
        dataurl:
          type: string
          example: http://nww.portal/v2/sources/nederlandwereldwijd/infotypes/countries/vir
        location:
          type: string
          example: Amerikaanse Maagdeneilanden
        travelAdvice:
          type: string
          example: http://nww.portal/v2/sources/nederlandwereldwijd/infotypes/countries/vir/traveladvice
        nlRepresentation:
          type: string
          example: http://nww.portal/v2/sources/nederlandwereldwijd/infotypes/countries/vir/nl-representation
      description: A country overview
      xml:
        name: document
    country-summary:
      required:
      - dataUrl
      - id
      - location
      - type
      type: object
      properties:
        type:
          type: string
          example: land
        id:
          type: string
          example: vir
        location:
          type: string
          example: Amerikaanse Maagdeneilanden
        dataUrl:
          type: string
          example: http://nww.portal/v2/sources/nederlandwereldwijd/infotypes/countries/vir
      description: A country summary
    contentblock:
      type: object
      properties:
        paragraphtitle:
          type: string
        paragraph:
          type: string
      xml:
        name: contentblock
    emergency-aid-document:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        canonical:
          type: string
        dataurl:
          type: string
        title:
          type: string
        introduction:
          type: string
        content:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/contentblock'
        authorities:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        creators:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        lastmodified:
          type: string
          format: date-time
        issued:
          type: string
          format: date-time
        available:
          type: string
          format: date-time
        license:
          type: string
        rightsholders:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        languages:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: language
        locations:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: location
        parent:
          type: string
        order:
          type: string
      xml:
        name: document
    emergency-aid-documents:
      type: object
      properties:
        NoodhulpSummaries:
          type: object
          properties:
            id:
              type: string
            type:
              type: string
            canonical:
              type: string
            dataurl:
              type: string
            title:
              type: string
            introduction:
              type: string
            content:
              type: array
              xml:
                wrapped: true
              items:
                $ref: '#/components/schemas/contentblock'
            authorities:
              type: array
              xml:
                wrapped: true
              items:
                type: string
                xml:
                  name: department
            creators:
              type: array
              xml:
                wrapped: true
              items:
                type: string
                xml:
                  name: department
            lastmodified:
              type: string
              format: date-time
            issued:
              type: string
              format: date-time
            available:
              type: string
              format: date-time
            license:
              type: string
            rightsholders:
              type: array
              xml:
                wrapped: true
              items:
                type: string
                xml:
                  name: department
            languages:
              type: array
              xml:
                wrapped: true
              items:
                type: string
                xml:
                  name: language
            locations:
              type: array
              xml:
                wrapped: true
              items:
                type: string
                xml:
                  name: location
            parent:
              type: string
            order:
              type: string
          xml:
            name: document
      xml:
        name: documents
    travel-advice-document-summary:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        canonical:
          type: string
        dataurl:
          type: string
        title:
          type: string
        introduction:
          type: string
        location:
          type: string
        classification:
          type: string
        lastmodified:
          type: string
          format: date-time
      xml:
        name: document
    travel-advice-documents:
      type: object
      properties:
        traveladviceSummaries:
          type: object
          properties:
            id:
              type: string
            type:
              type: string
            canonical:
              type: string
            dataurl:
              type: string
            title:
              type: string
            introduction:
              type: string
            location:
              type: string
            classification:
              type: string
            lastmodified:
              type: string
              format: date-time
          xml:
            name: document
      xml:
        name: documents
    category:
      type: object
      properties:
        category:
          type: string
        contentblocks:
          type: array
          xml:
            name: contentblock
          items:
            $ref: '#/components/schemas/contentblock'
      xml:
        name: category
    file:
      type: object
      properties:
        fileurl:
          type: string
        mimetype:
          type: string
        filesize:
          type: integer
          format: int64
        filename:
          type: string
        filetitle:
          type: string
        fileDescription:
          type: string
        fileModifiedDate:
          type: string
          format: date-time
        mapType:
          type: string
      xml:
        name: file
    travel-advice-document:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        canonical:
          type: string
        dataurl:
          type: string
        title:
          type: string
        introduction:
          type: string
        location:
          type: string
        modificationdate:
          type: string
        modifications:
          type: string
        content:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/category'
        files:
          type: array
          xml:
            wrapped: true
          items:
            $ref: '#/components/schemas/file'
        authorities:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        creators:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        lastmodified:
          type: string
          format: date-time
        issued:
          type: string
          format: date-time
        available:
          type: string
          format: date-time
        license:
          type: string
        rightsholders:
          type: array
          xml:
            wrapped: true
          items:
            type: string
            xml:
              name: department
        language:
          type: string
        additionalinformation:
          type: string
      xml:
        name: document
