{
  "openapi" : "3.0.3",
  "info" : {
    "title" : "Verzoeken-Indienen",
    "description" : "De v4 van deze API is deprecated, gebruik v5. In v5 wordt het machtiging element vervangen met het rolaanduding element. Ook zijn de /info en /health endpoint definitief verwijderd. Ook is bij de fout responses de content-type aangepast van 'application/json' naar 'application/problem+json'. Als laatste is bij het adres het niet langer toegestaan om lege elementen mee te geven voor de verschillende elementen.\nHet indienen van een verzoek (aanvraag/melding/ideeverkenning). Met deze service kan er in een aantal stappen een verzoek ingediend worden als initiatiefnemer of gemachtigde. Deze service werkt volgens de [HATEOAS standaard](https://en.wikipedia.org/wiki/HATEOAS).\nAls eerste start men met het initiëren van een verzoek. Het resultaat hiervan bevat de locatie van het geïnitieerde verzoek en het verzoek met de link voor het toevoegen van documenten. Documenten dienen wat betreft bestandsnaam en content uniek te zijn.\n  - **Ophalen**\n    Door het verzoek op te halen krijgt men het verzoek met\n    de link voor het toevoegen van documenten.\n  - **Verwijderen**\n    Hiermee verwijdert men het geïnitieerde (nog niet ingediende) verzoek.\n  - **Indienen**\n    Het geïnitieerde verzoek en eventueel toegevoegde documenten worden ingediend.\n  - **Intrekken**\n    Hiermee trekt men een eerder ingediend verzoek in.\n\nEr zijn verschillende types verzoeken. Voor het type \"Idee\" zijn er voor de bovenstaande stappen de endpoints op de paden die beginnen met \"/ideeverkenningen\". Voor de overige types verzoeken moeten de paden die beginnen met \"/verzoeken\" gebruikt worden. Dit onderscheid is er omdat de request body voor ideeverkenning anders is dan die van de overige types verzoeken.",
    "contact" : {
      "name" : "DSO Ontwikkelaarsportaal",
      "url" : "https://developer.omgevingswet.overheid.nl/services/contact/"
    },
    "version" : "4.3.2"
  },
  "tags" : [ {
    "name" : "Documenten",
    "description" : "Documentgerelateerde acties"
  }, {
    "name" : "Verzoeken",
    "description" : "Acties gerelateerd aan verzoeken van alle types behalve \"Idee\""
  }, {
    "name" : "Ideeverkenning",
    "description" : "Acties gerelateerd aan verzoeken van type \"Idee\""
  }, {
    "name" : "Intrekken",
    "description" : "Acties voor het intrekken van ingediende verzoeken van alle types behalve \"Idee\"."
  } ],
  "paths" : {
    "/" : {
      "get" : {
        "operationId" : "specification",
        "summary" : "OpenApi Specification",
        "tags" : [ "Meta" ],
        "responses" : {
          "200" : {
            "description" : "OpenApi Specification Json",
            "content" : {
              "application/json" : {
                "schema" : {
                  "example" : "{\"openapi\": \"3.0.3\", ... }"
                }
              }
            }
          }
        },
        "x-auth-type" : "None"
      }
    },
    "/health" : {
      "get" : {
        "operationId" : "health",
        "summary" : "Deprecated health info, gebruik /app-health.",
        "tags" : [ "Meta" ],
        "responses" : {
          "200" : {
            "description" : "Health",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Health"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          },
          "503" : {
            "description" : "Health",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Health"
                }
              }
            }
          }
        }
      }
    },
    "/app-health" : {
      "get" : {
        "operationId" : "app-health",
        "summary" : "health info endpoint heeft een voorkeur boven de /health endpoint.",
        "tags" : [ "Meta" ],
        "responses" : {
          "200" : {
            "description" : "Health",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Health"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          },
          "503" : {
            "description" : "Health",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Health"
                }
              }
            }
          }
        }
      }
    },
    "/info" : {
      "get" : {
        "operationId" : "info",
        "summary" : "Deprecated applicatie-info, gebruik /app-info.",
        "tags" : [ "Meta" ],
        "responses" : {
          "200" : {
            "description" : "Info",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Info"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          }
        }
      }
    },
    "/app-info" : {
      "get" : {
        "operationId" : "app-info",
        "summary" : "applicatie info endpoint heeft een voorkeur boven de /info endpoint.",
        "tags" : [ "Meta" ],
        "responses" : {
          "200" : {
            "description" : "Info",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Info"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          }
        }
      }
    },
    "/verzoeken" : {
      "post" : {
        "operationId" : "initieerVerzoek",
        "summary" : "Initiëren van een verzoek.",
        "description" : "Er wordt een verzoek geïnitieerd op basis van de meegestuurde gegevens.",
        "tags" : [ "Verzoeken" ],
        "parameters" : [ {
          "name" : "X-Staging-Test-Datum",
          "in" : "header",
          "description" : "Geeft aan dat het gaat om een testverzoek en met welke datum de toepasbare regels worden bevraagd. Deze datum mag in de toekomst liggen (staging). Indien deze datum gevuld is dan moet het antwoord op de verzoeknaam vraag beginnen met '##Testverzoek:## '. Ook zal deze datum dan worden beschouwd als indiendatum. In het geval van een aanvulling wordt de testdatum genegeerd omdat de indiendatum van het initiële verzoek leidend is.",
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          },
          "required" : false,
          "example" : "2022-11-20T09:12:28+01:00"
        } ],
        "responses" : {
          "201" : {
            "description" : "Het verzoek (HAL Resource)",
            "headers" : {
              "Location" : {
                "description" : "De url van het aangemaakte verzoek",
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/VerzoekHALResource"
                }
              }
            }
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijInit"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfoutHAL"
          }
        },
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Verzoek"
              }
            }
          },
          "description" : "Verzoek request body",
          "required" : true
        }
      }
    },
    "/verzoeken/{verzoekId}" : {
      "get" : {
        "operationId" : "haalGeinitieerdVerzoekOp",
        "summary" : "Ophalen van een verzoek.",
        "description" : "Haalt een nog niet ingediend verzoek op met het opgegeven id. Retourneert een HAL resource waarin onder andere een link naar documenten staat waarmee documenten toegevoegd kunnen worden.",
        "tags" : [ "Verzoeken" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Het verzoek (HAL Resource)",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/VerzoekHALResource"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorVerzoek"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          }
        }
      },
      "post" : {
        "operationId" : "dienGeinitieerdVerzoekIn",
        "summary" : "Indienen van het verzoek.",
        "description" : "Markeert het verzoek als ingediend. Het verzoek zal hierna beschikbaar worden gesteld aan het bevoegd gezag.",
        "tags" : [ "Verzoeken" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Definitief indienen verzoek resultaat",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResultaatIngediendVerzoek"
                }
              }
            }
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijComplete"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        }
      },
      "delete" : {
        "operationId" : "verwijderGeinitieerdVerzoek",
        "summary" : "Verwijderen van een verzoek.",
        "description" : "Verwijdert een nog niet ingediend verzoek.",
        "tags" : [ "Verzoeken" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "204" : {
            "description" : "Verzoek verwijderd."
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        }
      }
    },
    "/verzoeken/{verzoekId}/documenten/{documentId}" : {
      "post" : {
        "operationId" : "voegDocumentToe",
        "summary" : "Voegt een document toe aan een verzoek ten behoeve van een of meerdere gevraagde bijlagen.",
        "description" : "Voegt de content van een document met het opgegeven id toe aan het verzoek.",
        "tags" : [ "Verzoeken", "Documenten" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        }, {
          "$ref" : "#/components/parameters/DocumentId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Document toegevoegd"
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijDocument"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekOfDocumentNietGevonden"
          },
          "406" : {
            "$ref" : "#/components/responses/BestandGeinfecteerd"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "413" : {
            "$ref" : "#/components/responses/BestandTeGroot"
          },
          "415" : {
            "$ref" : "#/components/responses/BestandsformaatNietGeaccepteerd"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        },
        "requestBody" : {
          "$ref" : "#/components/requestBodies/Document"
        }
      }
    },
    "/verzoeken/{verzoeknummer}/intrekken" : {
      "post" : {
        "operationId" : "trekVerzoekIn",
        "summary" : "Intrekken van een bestaand verzoek.",
        "description" : "Trek een ingediend verzoek met het opgegeven verzoeknummer in. De reden van intrekken kan worden meegegeven.",
        "tags" : [ "Intrekken" ],
        "parameters" : [ {
          "name" : "verzoeknummer",
          "in" : "path",
          "description" : "Het nummer van het verzoek.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "X-Staging-Test-Datum",
          "in" : "header",
          "description" : "Geeft aan dat het gaat om een testverzoek en met welke datum de toepasbare regels worden bevraagd. Deze datum mag in de toekomst liggen (staging). Indien deze datum gevuld is dan moet het antwoord op de verzoeknaam vraag beginnen met '##Testverzoek:## '. Ook zal deze datum dan worden beschouwd als indiendatum.",
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          },
          "required" : false,
          "example" : "2022-11-20T09:12:28+01:00"
        } ],
        "responses" : {
          "200" : {
            "description" : "Verzoek ingetrokken",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResultaatIngetrokkenVerzoek"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorVerzoek"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          }
        },
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Intrekken"
              }
            }
          }
        }
      }
    },
    "/ideeverkenningen" : {
      "post" : {
        "operationId" : "initieerVerzoekVoorIdeeverkenning",
        "summary" : "Initiëren van een verzoek voor ideeverkenning.",
        "description" : "Er wordt een verzoek (voor ideeverkenning) geïnitieerd op basis van de meegestuurde gegevens.",
        "tags" : [ "Ideeverkenning" ],
        "responses" : {
          "201" : {
            "description" : "Het verzoek (HAL Resource)",
            "headers" : {
              "Location" : {
                "description" : "De url van het aangemaakte verzoek",
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/IdeeverkenningHALResource"
                }
              }
            }
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijInit"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActieHAL"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfoutHAL"
          }
        },
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/Ideeverkenning"
              }
            }
          },
          "description" : "Verzoek request body",
          "required" : true
        }
      }
    },
    "/ideeverkenningen/{verzoekId}" : {
      "get" : {
        "operationId" : "haalGeinitieerdVerzoekVoorIdeeverkenningOp",
        "summary" : "Ophalen van een verzoek voor ideeverkenning.",
        "description" : "Haalt een nog niet ingediend verzoek (voor ideeverkenning) op met het opgegeven id. Retourneert een HAL resource waarin onder andere een link naar documenten staat waarmee documenten toegevoegd kunnen worden.",
        "tags" : [ "Ideeverkenning" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Het verzoek (HAL Resource)",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/IdeeverkenningHALResource"
                }
              }
            }
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorVerzoek"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          }
        }
      },
      "post" : {
        "operationId" : "dienGeinitieerdVerzoekVoorIdeeverkenningIn",
        "summary" : "Indienen van het verzoek voor ideeverkenning.",
        "description" : "Markeert het verzoek (voor ideeverkenning) als ingediend. Het verzoek zal hierna beschikbaar worden gesteld aan het bevoegd gezag.",
        "tags" : [ "Ideeverkenning" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Definitief indienen verzoek resultaat",
            "content" : {
              "application/hal+json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/ResultaatIngediendeIdeeverkenning"
                }
              }
            }
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijComplete"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        }
      },
      "delete" : {
        "operationId" : "verwijderGeinitieerdVerzoekVoorIdeeverkenning",
        "summary" : "Verwijderen van een verzoek voor ideeverkenning.",
        "description" : "Verwijdert een nog niet ingediend verzoek (voor ideeverkenning).",
        "tags" : [ "Ideeverkenning" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        } ],
        "responses" : {
          "204" : {
            "description" : "Verzoek verwijderd."
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekNietGevonden"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        }
      }
    },
    "/ideeverkenningen/{verzoekId}/documenten/{documentId}" : {
      "post" : {
        "operationId" : "voegDocumentToeVoorVerzoekVoorIdeeverkenning",
        "summary" : "Voegt een document toe aan een verzoek voor ideeverkenning ten behoeve van een of meerdere gevraagde bijlagen.",
        "description" : "Voegt de content van een document met het opgegeven id toe aan het verzoek (voor ideeverkenning).",
        "tags" : [ "Ideeverkenning", "Documenten" ],
        "parameters" : [ {
          "$ref" : "#/components/parameters/VerzoekId"
        }, {
          "$ref" : "#/components/parameters/DocumentId"
        } ],
        "responses" : {
          "200" : {
            "description" : "Document toegevoegd"
          },
          "400" : {
            "$ref" : "#/components/responses/ValidatieFoutBijDocument"
          },
          "401" : {
            "$ref" : "#/components/responses/GeenToestemmingVoorActie"
          },
          "404" : {
            "$ref" : "#/components/responses/VerzoekOfDocumentNietGevonden"
          },
          "406" : {
            "$ref" : "#/components/responses/BestandGeinfecteerd"
          },
          "410" : {
            "$ref" : "#/components/responses/VerzoekVerdwenen"
          },
          "413" : {
            "$ref" : "#/components/responses/BestandTeGroot"
          },
          "415" : {
            "$ref" : "#/components/responses/BestandsformaatNietGeaccepteerd"
          },
          "500" : {
            "$ref" : "#/components/responses/InterneServerfout"
          }
        },
        "requestBody" : {
          "$ref" : "#/components/requestBodies/Document"
        }
      }
    }
  },
  "servers" : [ {
    "url" : "/api/indienen/v4"
  } ],
  "components" : {
    "schemas" : {
      "Verzoek" : {
        "type" : "object",
        "required" : [ "verzoekMetadata", "bevoegdGezag", "locatie", "activiteit" ],
        "properties" : {
          "verzoekMetadata" : {
            "$ref" : "#/components/schemas/VerzoekMetadata"
          },
          "bevoegdGezag" : {
            "$ref" : "#/components/schemas/BevoegdGezag"
          },
          "locatie" : {
            "$ref" : "#/components/schemas/Locatie"
          },
          "activiteit" : {
            "description" : "Hier bevinden zich alle gegevens omtrent de geselecteerde activiteiten. De algemene set hoort hier ook bij.",
            "type" : "array",
            "maxItems" : 1000,
            "items" : {
              "$ref" : "#/components/schemas/Activiteit"
            }
          },
          "document" : {
            "$ref" : "#/components/schemas/Documenten"
          },
          "machtiging" : {
            "$ref" : "#/components/schemas/Machtiging"
          }
        }
      },
      "VerzoekMetadata" : {
        "type" : "object",
        "required" : [ "verzoekType", "doelVerzoek", "ambtshalve" ],
        "properties" : {
          "verzoekType" : {
            "type" : "string",
            "enum" : [ "Aanvraag vergunning", "Melding", "Informatie", "Informatie ongewoon voorval", "Aanvraag maatwerkvoorschrift", "Melding gelijkwaardige maatregel", "Aanvraag toestemming gelijkwaardige maatregel" ]
          },
          "doelVerzoek" : {
            "type" : "string",
            "enum" : [ "Conceptverzoek", "Initieren", "Aanvullen" ]
          },
          "ambtshalve" : {
            "description" : "Geeft aan of het verzoek ambtshalve is ingediend door het Bevoegd Gezag.",
            "type" : "boolean"
          },
          "projectId" : {
            "$ref" : "#/components/schemas/ProjectId"
          },
          "initieelVerzoeknummer" : {
            "$ref" : "#/components/schemas/InitieelVerzoeknummer"
          }
        },
        "example" : {
          "verzoekType" : "Melding",
          "doelVerzoek" : "Initieren",
          "ambtshalve" : false,
          "projectId" : "202"
        }
      },
      "BevoegdGezag" : {
        "type" : "object",
        "required" : [ "organisatieIdentificatieNummer" ],
        "properties" : {
          "organisatieIdentificatieNummer" : {
            "type" : "string",
            "pattern" : "^\\d{20}$"
          }
        },
        "example" : {
          "organisatieIdentificatieNummer" : "00000000000123456789"
        }
      },
      "Activiteit" : {
        "type" : "object",
        "required" : [ "id", "urn" ],
        "properties" : {
          "id" : {
            "type" : "string",
            "maxLength" : 500,
            "description" : "De 'functioneleStructuurReferentie' van de activiteit."
          },
          "urn" : {
            "type" : "string",
            "maxLength" : 256,
            "description" : "De 'urn' van de activiteit. Ook wel imow-id genoemd."
          },
          "subactiviteit" : {
            "description" : "een sub-activiteit. Verplicht als er sprake is van een sub-activiteit.",
            "type" : "array",
            "maxItems" : 1000,
            "items" : {
              "$ref" : "#/components/schemas/SubActiviteit"
            }
          },
          "vraagAntwoord" : {
            "description" : "Dit zijn antwoorden op de activiteit vragen. Activiteit vragen zijn vragen verkregen van de BepalenIndieningsvereisten service. Leeg indien er sprake is van een subactivieit.",
            "type" : "array",
            "maxItems" : 10000,
            "items" : {
              "$ref" : "#/components/schemas/VraagAntwoord"
            }
          },
          "bijlage" : {
            "description" : "Bijlagen behorende bij een Activiteit. Leeg indien er sprake is van een subactiveit.",
            "type" : "array",
            "maxItems" : 10000,
            "items" : {
              "$ref" : "#/components/schemas/Bijlage"
            }
          }
        },
        "oneOf" : [ {
          "required" : [ "subactiviteit" ]
        }, {
          "required" : [ "vraagAntwoord" ]
        } ]
      },
      "SubActiviteit" : {
        "type" : "object",
        "required" : [ "id", "urn", "vraagAntwoord" ],
        "properties" : {
          "id" : {
            "type" : "string",
            "maxLength" : 500,
            "description" : "De 'functioneleStructuurReferentie' van de subactiviteit."
          },
          "urn" : {
            "type" : "string",
            "maxLength" : 256,
            "description" : "De 'urn' van de subactiviteit. Ook wel imow-id genoemd."
          },
          "vraagAntwoord" : {
            "description" : "Dit zijn antwoorden op de subactiviteit vragen. Subactiviteit vragen zijn vragen verkregen van de BepalenIndieningsvereisten service.",
            "type" : "array",
            "maxItems" : 10000,
            "items" : {
              "$ref" : "#/components/schemas/VraagAntwoord"
            }
          },
          "bijlage" : {
            "type" : "array",
            "maxItems" : 10000,
            "items" : {
              "$ref" : "#/components/schemas/Bijlage"
            }
          }
        }
      },
      "Locatie" : {
        "description" : "Locatie waar het project wordt uitgevoerd. De geometrie van de locatie dient in RD-coördinaten te worden opgegeven. Binnen de bronlocatie moet de locatie worden vermeldt zoals de initiatiefnemer deze heeft opgegeven. Indien het een vlakaanduiding betreft kunnen dit coördinaten in RD, ETRS89 of WGS84 zijn.",
        "type" : "object",
        "required" : [ "geometrie", "bronLocatie" ],
        "properties" : {
          "geometrie" : {
            "description" : "Punt of vlak waar het project wordt uitgevoerd.",
            "oneOf" : [ {
              "$ref" : "#/components/schemas/Point"
            }, {
              "$ref" : "#/components/schemas/Polygon"
            }, {
              "$ref" : "#/components/schemas/GeometryCollection"
            } ]
          },
          "bronLocatie" : {
            "$ref" : "#/components/schemas/BronLocatie"
          }
        },
        "example" : {
          "geometrie" : {
            "type" : "Point",
            "coordinates" : [ 81523.058, 456081.0821 ]
          },
          "bronLocatie" : {
            "adres" : {
              "nummeraanduidingId" : "0935200000064319",
              "straat" : "Lange Kleiweg",
              "nummer" : "4",
              "letter" : "a",
              "postcode" : "2288 GK",
              "toevoeging" : "b",
              "woonplaats" : "Rijswijk"
            }
          }
        }
      },
      "Point" : {
        "title" : "Punt",
        "description" : "GeoJSON Point gespecificeerd volgens https://tools.ietf.org/html/rfc7946#section-3.1.2",
        "type" : "object",
        "required" : [ "type", "coordinates" ],
        "properties" : {
          "type" : {
            "type" : "string",
            "enum" : [ "Point" ]
          },
          "coordinates" : {
            "$ref" : "#/components/schemas/Position"
          }
        },
        "example" : {
          "type" : "Point",
          "coordinates" : [ 1, 2 ]
        }
      },
      "Polygon" : {
        "title" : "Vlak",
        "description" : "GeoJSON Polygon gespecificeerd volgens https://tools.ietf.org/html/rfc7946#section-3.1.6",
        "type" : "object",
        "required" : [ "type", "coordinates" ],
        "properties" : {
          "type" : {
            "type" : "string",
            "enum" : [ "Polygon" ]
          },
          "coordinates" : {
            "description" : "De coördinaten van het polygoon volgens https://tools.ietf.org/html/rfc7946#section-3.1.6",
            "type" : "array",
            "items" : {
              "type" : "array",
              "minItems" : 4,
              "items" : {
                "$ref" : "#/components/schemas/Position"
              }
            }
          }
        },
        "example" : {
          "type" : "Polygon",
          "coordinates" : [ [ [ 92879.88, 436405.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92879.88, 436405.07 ] ], [ [ 92870.88, 436400.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92870.88, 436400.07 ] ] ]
        }
      },
      "GeometryCollection" : {
        "title" : "Vlak",
        "description" : "GeoJSON GeometryCollection gespecificeerd volgens https://tools.ietf.org/html/rfc7946#section-3.1.8 Alleen een GeometryCollection met Polygonen wordt ondersteund.",
        "type" : "object",
        "required" : [ "type", "geometries" ],
        "properties" : {
          "type" : {
            "type" : "string",
            "enum" : [ "GeometryCollection" ]
          },
          "geometries" : {
            "description" : "De geometries van de GeometryCollection volgens https://tools.ietf.org/html/rfc7946#section-3.1.8",
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Polygon"
            }
          }
        },
        "example" : {
          "type" : "GeometryCollection",
          "geometries" : [ {
            "type" : "Polygon",
            "coordinates" : [ [ [ 92879.88, 436405.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92879.88, 436405.07 ] ], [ [ 92870.88, 436400.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92870.88, 436400.07 ] ] ]
          }, {
            "type" : "Polygon",
            "coordinates" : [ [ [ 92879.88, 436405.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92879.88, 436405.07 ] ], [ [ 92870.88, 436400.07 ], [ 93390.88, 436893.58 ], [ 92968.36, 436872.3 ], [ 92870.88, 436400.07 ] ] ]
          } ]
        }
      },
      "Position" : {
        "description" : "De coördinaten van het punt waarbij het 1e item de\nx-coördinaat (longitude) is en het 2e item de y-coördinaat (latitude), gespecificeerd\nvolgens https://tools.ietf.org/html/rfc7946#section-3.1.1\n\n```\nRD; [92949.643, 436720.672]\nWGS84; [4.48531, 51.915512]\nETRS89; [4.48531, 51.915512]\n```\n",
        "type" : "array",
        "minItems" : 2,
        "items" : {
          "type" : "number"
        },
        "example" : [ 92949.643, 436720.672 ]
      },
      "BronLocatie" : {
        "description" : "De bron waarmee geometrie locatie is verkregen.",
        "type" : "object",
        "properties" : {
          "adres" : {
            "$ref" : "#/components/schemas/Adres"
          },
          "postcode" : {
            "$ref" : "#/components/schemas/Postcode"
          },
          "kadastraal" : {
            "$ref" : "#/components/schemas/Kadastraal"
          },
          "coordinaten" : {
            "$ref" : "#/components/schemas/Coordinaat"
          }
        },
        "oneOf" : [ {
          "$ref" : "#/components/schemas/GelabeldAdres"
        }, {
          "$ref" : "#/components/schemas/GelabeldePostcode"
        }, {
          "$ref" : "#/components/schemas/GelabeldKadastraal"
        }, {
          "$ref" : "#/components/schemas/GelabeldeCoordinaat"
        } ]
      },
      "GelabeldAdres" : {
        "type" : "object",
        "required" : [ "adres" ],
        "properties" : {
          "adres" : {
            "$ref" : "#/components/schemas/Adres"
          }
        },
        "example" : {
          "adres" : {
            "nummeraanduidingId" : "0935200000064319",
            "straat" : "Lange Kleiweg",
            "nummer" : "4",
            "letter" : "a",
            "postcode" : "2288 GK",
            "toevoeging" : "b",
            "woonplaats" : "Rijswijk"
          }
        }
      },
      "Adres" : {
        "type" : "object",
        "required" : [ "nummeraanduidingId", "straat", "nummer", "woonplaats" ],
        "properties" : {
          "nummeraanduidingId" : {
            "type" : "string"
          },
          "straat" : {
            "type" : "string"
          },
          "nummer" : {
            "type" : "string"
          },
          "letter" : {
            "type" : "string"
          },
          "toevoeging" : {
            "type" : "string"
          },
          "postcode" : {
            "type" : "string"
          },
          "woonplaats" : {
            "type" : "string"
          }
        }
      },
      "GelabeldePostcode" : {
        "type" : "object",
        "required" : [ "postcode" ],
        "properties" : {
          "postcode" : {
            "$ref" : "#/components/schemas/Postcode"
          }
        },
        "example" : {
          "postcode" : {
            "nummeraanduidingId" : "0935200000064319",
            "postcode" : "2288 GK",
            "nummer" : "4",
            "letter" : "a",
            "toevoeging" : "b"
          }
        }
      },
      "Postcode" : {
        "type" : "object",
        "required" : [ "nummeraanduidingId", "postcode", "nummer" ],
        "properties" : {
          "nummeraanduidingId" : {
            "type" : "string"
          },
          "postcode" : {
            "type" : "string"
          },
          "nummer" : {
            "type" : "string"
          },
          "letter" : {
            "type" : "string"
          },
          "toevoeging" : {
            "type" : "string"
          }
        }
      },
      "GelabeldKadastraal" : {
        "type" : "object",
        "required" : [ "kadastraal" ],
        "properties" : {
          "kadastraal" : {
            "$ref" : "#/components/schemas/Kadastraal"
          }
        },
        "example" : {
          "kadastraal" : {
            "gemeenteCode" : "GVH11",
            "sectie" : "P",
            "perceelNummer" : "10815"
          }
        }
      },
      "Kadastraal" : {
        "type" : "object",
        "required" : [ "gemeenteCode", "sectie", "perceelNummer" ],
        "properties" : {
          "gemeenteCode" : {
            "type" : "string"
          },
          "sectie" : {
            "type" : "string"
          },
          "perceelNummer" : {
            "type" : "string"
          }
        }
      },
      "GelabeldeCoordinaat" : {
        "type" : "object",
        "required" : [ "coordinaten" ],
        "properties" : {
          "coordinaten" : {
            "$ref" : "#/components/schemas/Coordinaat"
          }
        },
        "example" : {
          "coordinaten" : {
            "stelsel" : "ETRS89",
            "geometrie" : {
              "type" : "Point",
              "coordinates" : [ 52.08811, 4.315099 ]
            }
          }
        }
      },
      "Coordinaat" : {
        "type" : "object",
        "required" : [ "stelsel", "geometrie" ],
        "properties" : {
          "stelsel" : {
            "type" : "string",
            "enum" : [ "WGS84", "ETRS89", "RD" ]
          },
          "geometrie" : {
            "description" : "Punt of vlak waar het project wordt uitgevoerd.",
            "oneOf" : [ {
              "$ref" : "#/components/schemas/Point"
            }, {
              "$ref" : "#/components/schemas/Polygon"
            }, {
              "$ref" : "#/components/schemas/GeometryCollection"
            } ]
          }
        }
      },
      "ProjectId" : {
        "description" : "Geeft een mogelijkheid (voor een Bevoegd Gezag) tot het relateren van verschillende aanvragen onder eenzelfde project id. Indien er een machtiging is, moet dit projectId gelijk zijn aan het projectId van de machtiging.",
        "type" : "string"
      },
      "InitieelVerzoeknummer" : {
        "description" : "Het verzoeknummer waarop een 'Aanvulling' plaats vindt.",
        "type" : "string"
      },
      "VraagAntwoord" : {
        "description" : "Alle beantwoordde vragen (ook bijlage vragen en vooringevulde antwoorden).",
        "type" : "object",
        "required" : [ "id", "antwoord" ],
        "properties" : {
          "id" : {
            "type" : "string",
            "maxLength" : 256
          },
          "antwoord" : {
            "type" : "string",
            "maxLength" : 6144
          }
        },
        "example" : {
          "id" : "1",
          "antwoord" : "Herinrichting oprit"
        }
      },
      "Bijlage" : {
        "description" : "Een beantwoordde bijlage vraag met een koppeling naar het te uploaden document.",
        "type" : "object",
        "required" : [ "id", "documentId" ],
        "properties" : {
          "id" : {
            "description" : "het id van de vraag dat deze bijlage ondersteunt",
            "type" : "string",
            "maxLength" : 256
          },
          "documentId" : {
            "description" : "het id van het document dat deze bijlage ondersteunt",
            "type" : "number"
          }
        },
        "example" : {
          "id" : "1",
          "documentId" : 2
        }
      },
      "Documenten" : {
        "type" : "array",
        "maxItems" : 10000,
        "items" : {
          "$ref" : "#/components/schemas/Document"
        }
      },
      "Document" : {
        "description" : "De beschrijving van een document (meta data). De bijbehorende inhoud van het document (content) wordt aan het verzoek toegevoegd middels /verzoeken/{verzoekId}/documenten/{documentId} of /ideeverkenningen/{verzoekId}/documenten/{documentId}.",
        "type" : "object",
        "required" : [ "id", "bestandsnaam", "vertrouwelijk" ],
        "properties" : {
          "id" : {
            "description" : "Een willekeurig nummer waarmee een document uniek wordt geidentificeerd binnen de context van het verzoek. Kan bijvoorbeeld een volgnummer zijn.",
            "type" : "integer"
          },
          "bestandsnaam" : {
            "type" : "string",
            "maxLength" : 256
          },
          "vertrouwelijk" : {
            "description" : "Geeft aan of de bijlage als vertrouwelijk moet worden behandeld.",
            "type" : "boolean"
          }
        },
        "example" : {
          "id" : 2,
          "bestandsnaam" : "situatieschets-1.0.pdf",
          "vertrouwelijk" : true
        }
      },
      "Intrekken" : {
        "description" : "De optionele toelichting en optionele machtiging bij een intrekking.",
        "type" : "object",
        "properties" : {
          "toelichting" : {
            "description" : "Een toelichting bij het intrekken van een verzoek.",
            "type" : "string",
            "pattern" : "^(?!\\s*$).{1,6144}$"
          },
          "machtiging" : {
            "$ref" : "#/components/schemas/Machtiging",
            "description" : "Geeft aan dat dit verzoek wordt ingetrokken middels een machtiging."
          }
        },
        "example" : {
          "toelichting" : "Nvt vanwege verhuizing."
        }
      },
      "Machtiging" : {
        "description" : "Geeft aan dat dit verzoek wordt ingediend middels een machtiging.",
        "type" : "object",
        "required" : [ "initiatiefnemer", "gemachtigde", "projectId" ],
        "properties" : {
          "initiatiefnemer" : {
            "description" : "Het DSO id van de initiatiefnemer. Als dit een organisatie betreft, dan het DSO id van de organisatie.",
            "type" : "string"
          },
          "gemachtigde" : {
            "description" : "Het DSO id van de gemachtigde. Als dit een organisatie betreft, dan het DSO id van de organisatie.",
            "type" : "string"
          },
          "projectId" : {
            "description" : "Het project id waarvoor de gemachtigde gemachtigd is. Indien er ook een projectId is gevuld in de VerzoekMetadata moeten deze gelijk zijn.",
            "type" : "string"
          }
        },
        "example" : {
          "initiatiefnemer" : "3f9d875a-bc34-11ea-b3de-0242ac130004",
          "gemachtigde" : "8e37be08-bc34-11ea-b3de-0242ac130004",
          "projectId" : "202"
        }
      },
      "Ideeverkenning" : {
        "type" : "object",
        "required" : [ "verzoekMetadata", "bevoegdGezag", "locatie", "ideeverkenning", "contactgegevens" ],
        "properties" : {
          "verzoekMetadata" : {
            "$ref" : "#/components/schemas/IdeeverkenningMetadata"
          },
          "bevoegdGezag" : {
            "$ref" : "#/components/schemas/BevoegdGezag"
          },
          "locatie" : {
            "$ref" : "#/components/schemas/Locatie"
          },
          "ideeverkenning" : {
            "type" : "object",
            "required" : [ "naam", "omschrijving" ],
            "properties" : {
              "naam" : {
                "type" : "string",
                "pattern" : "^(?=.*\\S).{1,200}$"
              },
              "omschrijving" : {
                "type" : "string",
                "pattern" : "^[\\s\\S]{0,6144}$"
              }
            },
            "example" : {
              "naam" : "Woongroep in de polder",
              "omschrijving" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vehicula placerat lobortis. Etiam ultricies ultrices molestie."
            }
          },
          "contactgegevens" : {
            "description" : "Het Idee wordt ingediend door een gemachtigde òf door de initiatiefnemer.  Van deze persoon wordt voorletters, eventueel tussenvoegsel, naam en telefoonnummer en/of emailadres ingevuld.  Daarnaast als het een NNP is bedrijfsnaam en kvkNummer.  Dit alles wordt als het een gemachtigde is ingevuld met property gemachtigde en anders met property initiatiefnemer.  Als het een gemachtigde is wordt daarnaast ook informatie over de initiatiefnemer ingediend met als property initiatiefnemer: als het een NP is: voorletters, eventueel tussenvoegsel en naam.  En als het een NNP is bedrijfsnaam en kvkNummer.",
            "type" : "object",
            "required" : [ "initiatiefnemer" ],
            "properties" : {
              "initiatiefnemer" : {
                "$ref" : "#/components/schemas/IdeeverkenningContactgegevens"
              },
              "gemachtigde" : {
                "$ref" : "#/components/schemas/IdeeverkenningContactgegevens"
              }
            }
          },
          "document" : {
            "$ref" : "#/components/schemas/Documenten"
          },
          "machtiging" : {
            "$ref" : "#/components/schemas/Machtiging"
          }
        }
      },
      "IdeeverkenningMetadata" : {
        "type" : "object",
        "required" : [ "verzoekType", "doelVerzoek" ],
        "properties" : {
          "verzoekType" : {
            "type" : "string",
            "enum" : [ "Idee" ]
          },
          "doelVerzoek" : {
            "type" : "string",
            "enum" : [ "Indienen", "Aanvullen" ]
          },
          "projectId" : {
            "$ref" : "#/components/schemas/ProjectId"
          },
          "projectnaam" : {
            "type" : "string",
            "minLength" : 1,
            "maxLength" : 197
          },
          "initieelVerzoeknummer" : {
            "$ref" : "#/components/schemas/InitieelVerzoeknummer"
          }
        },
        "example" : {
          "verzoekType" : "Idee",
          "doelVerzoek" : "Indienen",
          "projectId" : "202",
          "projectnaam" : "Woongroep"
        }
      },
      "IdeeverkenningContactgegevens" : {
        "type" : "object",
        "properties" : {
          "voorletters" : {
            "type" : "string"
          },
          "tussenvoegsel" : {
            "type" : "string"
          },
          "naam" : {
            "type" : "string"
          },
          "emailadres" : {
            "type" : "string"
          },
          "telefoonnummer" : {
            "type" : "string"
          },
          "bedrijfsnaam" : {
            "type" : "string"
          },
          "kvkNummer" : {
            "type" : "string"
          }
        },
        "example" : {
          "voorletters" : "J.A.",
          "naam" : "Jansen",
          "emailadres" : "j.jansen@gmail.com",
          "telefoonnummer" : "0612345678"
        }
      },
      "VerzoekHALResourceAlgemeen" : {
        "type" : "object",
        "properties" : {
          "id" : {
            "type" : "integer",
            "format" : "int64"
          },
          "_links" : {
            "type" : "object",
            "properties" : {
              "self" : {
                "$ref" : "#/components/schemas/Link"
              },
              "documenten" : {
                "$ref" : "#/components/schemas/Link"
              }
            }
          }
        }
      },
      "VerzoekHALResource" : {
        "description" : "Het antwoord na een succesvol geïnitieerd verzoek. Als deze al is ingediend word ook informatie over het ingediende verzoek meegeleverd.",
        "allOf" : [ {
          "$ref" : "#/components/schemas/VerzoekHALResourceAlgemeen"
        } ],
        "properties" : {
          "ingediendVerzoek" : {
            "$ref" : "#/components/schemas/ResultaatVerwerktVerzoek"
          }
        },
        "example" : {
          "id" : 1,
          "_links" : {
            "self" : {
              "href" : "https://api.dso.nl/verzoeken/1"
            },
            "documenten" : {
              "href" : "https://api.dso.nl/verzoeken/1/documenten/2"
            }
          }
        }
      },
      "IdeeverkenningHALResource" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/VerzoekHALResourceAlgemeen"
        } ],
        "example" : {
          "id" : 1,
          "_links" : {
            "self" : {
              "href" : "https://api.dso.nl/ideeverkenningen/1"
            },
            "documenten" : {
              "href" : "https://api.dso.nl/ideeverkenningen/1/documenten/2"
            }
          }
        }
      },
      "Link" : {
        "required" : [ "href" ],
        "properties" : {
          "href" : {
            "type" : "string"
          }
        },
        "example" : {
          "href" : "https://api.dso.nl/verzoeken/1"
        }
      },
      "ResultaatIngetrokkenVerzoek" : {
        "description" : "Het antwoord na een succesvolle intrekking",
        "allOf" : [ {
          "$ref" : "#/components/schemas/ResultaatVerwerktVerzoek"
        } ],
        "example" : {
          "verzoeknummer" : "2019012100003",
          "volgnummer" : "999",
          "datumIngediend" : "2019-01-21T10:01:47.457+01:00",
          "bevoegdGezag" : {
            "organisatieIdentificatieNummer" : "00000000000123456789",
            "naam" : "Provincie Zuid-Holland"
          },
          "behandeldienst" : {
            "organisatieIdentificatieNummer" : "00000000000987654321",
            "naam" : "Behandeldienst Zuid-Holland"
          }
        }
      },
      "ResultaatIngediendVerzoek" : {
        "description" : "Het antwoord na een succesvolle indiening",
        "allOf" : [ {
          "$ref" : "#/components/schemas/ResultaatVerwerktVerzoek"
        } ],
        "properties" : {
          "_links" : {
            "type" : "object",
            "properties" : {
              "self" : {
                "$ref" : "#/components/schemas/Link"
              },
              "intrekken" : {
                "$ref" : "#/components/schemas/Link"
              }
            }
          }
        },
        "example" : {
          "verzoeknummer" : "2019012100003",
          "volgnummer" : "000",
          "datumIngediend" : "2019-01-21T10:01:47.457+01:00",
          "bevoegdGezag" : {
            "organisatieIdentificatieNummer" : "00000000000123456789",
            "naam" : "Provincie Zuid-Holland"
          },
          "behandeldienst" : {
            "organisatieIdentificatieNummer" : "00000000000987654321",
            "naam" : "Behandeldienst Zuid-Holland"
          },
          "_links" : {
            "self" : "https://api.dso.nl/verzoeken/75",
            "intrekken" : "https://api.dso.nl/verzoeken/2019012100003/intrekken"
          }
        }
      },
      "ResultaatIngediendeIdeeverkenning" : {
        "description" : "Het antwoord na een succesvolle indiening",
        "allOf" : [ {
          "$ref" : "#/components/schemas/ResultaatVerwerktVerzoek"
        } ],
        "properties" : {
          "_links" : {
            "type" : "object",
            "properties" : {
              "self" : {
                "$ref" : "#/components/schemas/Link"
              }
            }
          }
        },
        "example" : {
          "verzoeknummer" : "2019012100003",
          "volgnummer" : "000",
          "datumIngediend" : "2019-01-21T10:01:47.457+01:00",
          "bevoegdGezag" : {
            "organisatieIdentificatieNummer" : "00000000000123456789",
            "naam" : "Provincie Zuid-Holland"
          },
          "_links" : {
            "self" : "https://api.dso.nl/verzoeken/75"
          }
        }
      },
      "ResultaatVerwerktVerzoek" : {
        "description" : "Het antwoord na een succesvolle indiening of intrekking",
        "type" : "object",
        "required" : [ "verzoeknummer", "volgnummer", "datumIngediend" ],
        "properties" : {
          "verzoeknummer" : {
            "type" : "string"
          },
          "volgnummer" : {
            "type" : "string"
          },
          "datumIngediend" : {
            "type" : "string",
            "format" : "date-time"
          },
          "bevoegdGezag" : {
            "$ref" : "#/components/schemas/ResultaatBevoegdGezag"
          },
          "behandeldienst" : {
            "$ref" : "#/components/schemas/ResultaatBevoegdGezag"
          }
        }
      },
      "ResultaatBevoegdGezag" : {
        "type" : "object",
        "required" : [ "organisatieIdentificatieNummer", "naam" ],
        "properties" : {
          "organisatieIdentificatieNummer" : {
            "type" : "string",
            "pattern" : "^\\d{20}$"
          },
          "naam" : {
            "type" : "string"
          }
        },
        "example" : {
          "organisatieIdentificatieNummer" : "00000000000123456789",
          "naam" : "Provincie Zuid-Holland"
        }
      },
      "Fout" : {
        "required" : [ "type", "title", "status" ],
        "properties" : {
          "type" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          },
          "status" : {
            "type" : "integer",
            "format" : "int64"
          },
          "instance" : {
            "type" : "string"
          }
        }
      },
      "401" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/id/concept/Ongeautoriseerd",
          "title" : "Authenticatiegegevens ontbreken of zijn onjuist.",
          "status" : 401,
          "detail" : "U bent niet geautoriseerd voor dit verzoek.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "404" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/id/concept/BestaatNiet",
          "title" : "Niet gevonden.",
          "status" : 404,
          "detail" : "Verzoek niet gevonden.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "406" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/fout/id/concept/knooppunt/contentscanning/virus-gedetecteerd",
          "title" : "Geinfecteerd",
          "status" : 406,
          "detail" : "In het bestand 'test.xlsx' zit een virus. Voeg een bestand zonder virus toe.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "410" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/id/concept/Verdwenen",
          "title" : "Verdwenen",
          "status" : 410,
          "detail" : "Het verzoek is al ingediend.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "413" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/fout/id/concept/knooppunt/contentscanning/bestand-te-groot",
          "title" : "Te groot",
          "status" : 413,
          "detail" : "Het bestand 'test.png' is te groot. Voeg een kleiner bestand toe (max. 250 MB).",
          "instance" : "539f14d69f2fba81"
        }
      },
      "415" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/fout/id/concept/knooppunt/contentscanning/mimetype-niet-toegestaan",
          "title" : "Niet Toegestaan",
          "status" : 415,
          "detail" : "Het bestandsformaat van 'test.tgz' wordt niet geaccepteerd. Voeg een bestand met een ander formaat toe.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "500" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "detail" : {
            "type" : "string"
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/id/concept/ServerFout",
          "title" : "Interne serverfout",
          "status" : 500,
          "detail" : "Er is iets mis gegaan.",
          "instance" : "539f14d69f2fba81"
        }
      },
      "ValidatieFout" : {
        "allOf" : [ {
          "$ref" : "#/components/schemas/Fout"
        } ],
        "properties" : {
          "invalid-params" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/InvalidParams"
            }
          }
        },
        "example" : {
          "type" : "https://content.omgevingswet.overheid.nl/id/concept/ValidatieMislukt",
          "title" : "Validatie mislukt",
          "status" : 400,
          "invalid-params" : [ {
            "type" : "https://content.omgevingswet.overheid.nl/id/concept/validatie/Verplicht",
            "name" : "doelVerzoek",
            "reason" : "doelVerzoek is een verplicht veld"
          } ]
        }
      },
      "InvalidParams" : {
        "required" : [ "type", "name", "reason" ],
        "properties" : {
          "type" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          },
          "reason" : {
            "type" : "string"
          }
        }
      },
      "Info" : {
        "description" : "Info",
        "required" : [ "name", "version", "stamVersion" ],
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "version" : {
            "type" : "string"
          },
          "stamVersion" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        },
        "example" : {
          "name" : "Verzoek indienen",
          "version" : "1.1.0",
          "stamVersion" : [ "5", "6" ]
        }
      },
      "Health" : {
        "description" : "Health",
        "properties" : {
          "status" : {
            "type" : "string",
            "enum" : [ "UP", "DOWN", "OUT_OF_SERVICE" ]
          },
          "groups" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        },
        "example" : {
          "status" : "UP",
          "groups" : [ "downstreamServices", "self" ]
        }
      }
    },
    "parameters" : {
      "VerzoekId" : {
        "name" : "verzoekId",
        "in" : "path",
        "description" : "id van het verzoek",
        "required" : true,
        "schema" : {
          "type" : "integer",
          "format" : "int64"
        }
      },
      "DocumentId" : {
        "name" : "documentId",
        "in" : "path",
        "description" : "id van het document",
        "required" : true,
        "schema" : {
          "type" : "integer",
          "format" : "int64"
        }
      }
    },
    "requestBodies" : {
      "Document" : {
        "content" : {
          "multipart/form-data" : {
            "schema" : {
              "type" : "object",
              "properties" : {
                "file" : {
                  "description" : "content van het document",
                  "type" : "string",
                  "format" : "binary"
                }
              },
              "required" : [ "file" ]
            }
          }
        }
      }
    },
    "responses" : {
      "ValidatieFoutBijInit" : {
        "description" : "Fouten in het verzoek request body (missing parameter; niet bestaande parameter; invalide waarde voor parameter)",
        "content" : {
          "application/hal+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/ValidatieFout"
            }
          }
        }
      },
      "ValidatieFoutBijComplete" : {
        "description" : "Fouten in het verzoek",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/ValidatieFout"
            }
          }
        }
      },
      "ValidatieFoutBijDocument" : {
        "description" : "Fouten in body (missing parameter; niet bestaande parameter; invalide waarde voor parameter)",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/ValidatieFout"
            }
          }
        }
      },
      "GeenToestemmingVoorActieHAL" : {
        "description" : "Gebruiker heeft geen toestemming om deze actie uit te voeren",
        "content" : {
          "application/hal+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/401"
            }
          }
        }
      },
      "GeenToestemmingVoorActie" : {
        "description" : "Gebruiker heeft geen toestemming om deze actie uit te voeren",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/401"
            }
          }
        }
      },
      "GeenToestemmingVoorVerzoek" : {
        "description" : "Gebruiker heeft geen toestemming voor dit verzoek",
        "content" : {
          "application/hal+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/401"
            }
          }
        }
      },
      "InterneServerfoutHAL" : {
        "description" : "Interne serverfout",
        "content" : {
          "application/hal+json" : {
            "schema" : {
              "$ref" : "#/components/schemas/500"
            }
          }
        }
      },
      "InterneServerfout" : {
        "description" : "Interne serverfout",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/500"
            }
          }
        }
      },
      "VerzoekNietGevonden" : {
        "description" : "Verzoek niet gevonden",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/404"
            }
          }
        }
      },
      "VerzoekOfDocumentNietGevonden" : {
        "description" : "Verzoek of document niet gevonden",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/404"
            }
          }
        }
      },
      "VerzoekVerdwenen" : {
        "description" : "Verzoek kan niet meer worden aangepast",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/410"
            }
          }
        }
      },
      "BestandGeinfecteerd" : {
        "description" : "Content Scanning geeft aan dat de geüploade file een virus bevat",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/406"
            }
          }
        }
      },
      "BestandTeGroot" : {
        "description" : "Content Scanning geeft aan dat de geüploade file te groot is",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/413"
            }
          }
        }
      },
      "BestandsformaatNietGeaccepteerd" : {
        "description" : "Content Scanning geeft aan dat het mimetype van de geüploade file niet voorkomt in de whitelist",
        "content" : {
          "application/json" : {
            "schema" : {
              "$ref" : "#/components/schemas/415"
            }
          }
        }
      }
    }
  }
}