Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Swagger open api macro
displayOperationIdfalse
methodsnone,get,put,post,delete,options,head,patch,trace
validator
defaultModelsExpandDepth1
url
token
defaultModelRenderingexample
filter
password
expandlist
showCommonExtensionsfalse
filenameIncidents
operations
maxDisplayedTags
attachtrue
showExtensionsfalse
displayRequestDurationfalse
username
order

Voorbeeld

...

JSON schema

Expand
titleJSON-voorbeeldVoorbeeld
Code Block
languagejson
{
  "configurations$schema": ["http://json-schema.org/draft-07/schema",
  "type": "object",
{  "required": [ "contactType", "contact" ],
  "nisCodeproperties": 71022,
 {
    "jsonSchemacontactType": {ZIE
VOORBEELD JSON SCHEMA},
      "categoriesoneOf": [
        {
          "idconst": "c69e981e-db0d-4e96-8e8d-1049d350f48e"authenticated" },
         { "nameconst": "userInput"Groen, }
natuur en dieren"    ]
    },
       "contact": {    "$ref": "#/definitions/Contact" },
    "location": { "id$ref": "f0bd611a-68a1-4e68-ad06-9000556a1d81",
#/definitions/Location" }
      },
  "namedefinitions": "Afval{
en reiniging"   "Contact": {
    },  "type": "object",
     { "required": [ "firstname", "lastname" ],
      "idproperties": "3ddd7a61-c620-421d-9724-22070e670224",{
        "firstname": { "nametype": "Schade, defect"
        string" },
        "lastname": { "type": "string" },
       "id "rrn": { "type": "7a005ef2-0c56-4be4-8a70-caed94831799"number" },
        "address": { "name$ref": "Verkeer, parkeren"
       #/definitions/Address" },
        "email": { "type": "string" },
        "idphone": "0443dd74-37ec-4f6c-ba83-3efdb7706a0c",{ "type": "string" }
      }
   "name": "Parkeren" },
    "Address": {
      "parentIdtype": "7a005ef2-0c56-4be4-8a70-caed94831799"object",
      "required": [ }"street",   "number", "city" ],
      "properties": {
        "street": { "idtype": "4b6de2f6-3cfe-4ccc-870b-5b1a4eb64763"string" },
        "number": { "nametype": "Verkeersveiligheidstring" },
        "box": { "parentIdtype": "7a005ef2-0c56-4be4-8a70-caed94831799string" },
       }, "zipcode": { "type": "string" },
   {          "city": { "idtype": "1999b1a9-464c-429b-8833-7e1db49ddc9c",string" }
      }
   "name": "Wegenwerken" },
    "Location": {
      "parentIdtype": "7a005ef2-0c56-4be4-8a70-caed94831799"object",
      "properties": {
   },     "address": { "$ref":  {"#/definitions/Address" },
        "coordinates": { "id$ref": "6ea49d53-bdcf-4afa-9628-6a8a446be684",
#/definitions/Coordinates" }
      }
  "name": "Mindervalide parkeerplaats"},
    "Coordinates": {
      "parentIdtype": "0443dd74-37ec-4f6c-ba83-3efdb7706a0c"object",
      "properties": {
},        "long": {
          "idtype": "8bdff1d8-fba0-4f04-b3d7-5f16eec8e079number",
          "nameformat": "Parkeerboetedouble",
        },
  "parentId": "0443dd74-37ec-4f6c-ba83-3efdb7706a0c"      "lat":  {
   },         {"type": "number",
          "idformat": "0b5789ab-78ef-4c0d-ac5d-ba993b27b380",double"
        },
        "nameaccuracy": "Groenonderhoud",{
          "parentIdtype": "c69e981e-db0d-4e96-8e8d-1049d350f48e"number",
        },  "format": "double"
     {   }
      }
"id": "2dc7da40-54ef-48a4-b265-41a5eb24f656",   }
  }
}

Voorbeeld Response Configuraties

Expand
titleJSON-voorbeeld
Code Block
languagejson
{
   "nameconfigurations": "Dierenoverlast",[
    {
      "parentIdnisCode": "c69e981e-db0d-4e96-8e8d-1049d350f48e" 71022,
      "jsonSchema": {ZIE VOORBEELD JSON SCHEMA},
      "categories": [
],       "attachment": {
          "fileTypeid": "image/*c69e981e-db0d-4e96-8e8d-1049d350f48e",
          "maxFileSizename": 3000"Groen, natuur en   dieren"
   "maxNumberOfFiles": 3    },
  }     }, {
   {       "nisCodeid": 12025,"f0bd611a-68a1-4e68-ad06-9000556a1d81",
          "jsonSchemaname": {}, "Afval en reiniging"
       "categories": [ },
        {
          "id": "7c91800f3ddd7a61-5e96c620-4876421d-95659724-87c0f483109622070e670224",
          "name": "voorbeeld categorie 1Schade, defect"
        },
        {
          "id": "852f28ff7a005ef2-446f0c56-42774be4-814d8a70-f198e3bc5240caed94831799",
          "name": "voorbeeld categorie 2 Verkeer, parkeren"
        }
,
     ],       "attachment": {{
          "fileTypeid": ["0443dd74-37ec-4f6c-ba83-3efdb7706a0c",
          "image/*, application/pdf, application/msword"name": "Parkeren",
         ], "parentId": "7a005ef2-0c56-4be4-8a70-caed94831799"
       "maxFileSize": 500},
        "maxNumberOfFiles":{
5       }     }
  ]
}

Voorbeeld JSON schema

Expand
titleJSON-Voorbeeld
Code Block
languagejson
{
  "$schema": "http://json-schema.org/draft-07/schema",
  "type": "object",
  "required": [ "contactType", "contact" ],
  "properties": {"id": "4b6de2f6-3cfe-4ccc-870b-5b1a4eb64763",
          "contactTypename": {
      "oneOfVerkeersveiligheid":,
[         { "constparentId": "authenticated7a005ef2-0c56-4be4-8a70-caed94831799"
},         { "const": "userInput" }},
        {
]     },     "contactid": { "$ref": "#/definitions/Contact" },1999b1a9-464c-429b-8833-7e1db49ddc9c",
          "locationname": { "$refWegenwerken": "#/definitions/Location" },
       },   "definitionsparentId": {"7a005ef2-0c56-4be4-8a70-caed94831799"
    "Contact": {   },
   "type": "object",    {
  "required": [ "firstname", "lastname" ],       "properties": {"id": "6ea49d53-bdcf-4afa-9628-6a8a446be684",
          "firstnamename": { "type": "string" }Mindervalide parkeerplaats",
        "lastname": { "typeparentId": "string" },0443dd74-37ec-4f6c-ba83-3efdb7706a0c"
        },
   "rrn": { "type": "number" }, {
       "address":  { "$refid": "#/definitions/Address" }8bdff1d8-fba0-4f04-b3d7-5f16eec8e079",
        "email": { "typename": "stringParkeerboete" },
        "phone": { "typeparentId": "string" }0443dd74-37ec-4f6c-ba83-3efdb7706a0c"
        },
      },  {
  "Address": {       "typeid": "object0b5789ab-78ef-4c0d-ac5d-ba993b27b380",
          "requiredname": [ "streetGroenonderhoud",
 "number", "city" ],       "propertiesparentId": {
"c69e981e-db0d-4e96-8e8d-1049d350f48e"
       "street": { "type": "string"  },

       "number": { "type":
"string" },         "boxid": { "type": "string" },2dc7da40-54ef-48a4-b265-41a5eb24f656",
          "zipcodename": { "typeDierenoverlast":,
"string" },         "cityparentId": { "type": "string" }"c69e981e-db0d-4e96-8e8d-1049d350f48e"
        }
      }],
      "Locationattachment": {
        "typefileType": "objectimage/*",
        "propertiesmaxFileSize": {3000,
        "addressmaxNumberOfFiles": 3
      }
    },
    { "$ref": "#/definitions/Address" },
 
      "nisCode": 12025,
      "coordinatesjsonSchema": {},
"$ref": "#/definitions/Coordinates" }    "categories": [
 }     },  {
  "Coordinates": {       "typeid": "object",
      "properties": {7c91800f-5e96-4876-9565-87c0f4831096",
          "longname": {"voorbeeld categorie 1"
        "type": "number"},
        {
 "format": "double"         },"id": "852f28ff-446f-4277-814d-f198e3bc5240",
          "latname": {"voorbeeld categorie 2 "
        "type": "number",}
      ],
      "formatattachment": "double"{
        },
"fileType": [
       "accuracy": {  "image/*, application/pdf, application/msword"
       "type": "number",
  ],
        "formatmaxFileSize": "double"500,
        }"maxNumberOfFiles": 5
      }
    }
  }]
}

Voorbeeld Request Meldingen

...