From 6bcd6fbebdb7454694898f204e49960dff8c6c89 Mon Sep 17 00:00:00 2001 From: berglindoma13 Date: Fri, 24 May 2024 13:01:49 +0000 Subject: [PATCH] formatting clientconfig --- .../src/clientConfig.json | 2102 ++++++++++++++++- 1 file changed, 2101 insertions(+), 1 deletion(-) diff --git a/libs/clients/directorate-of-immigration/src/clientConfig.json b/libs/clients/directorate-of-immigration/src/clientConfig.json index 5b4dc35abb61..70df7ff8bbb0 100644 --- a/libs/clients/directorate-of-immigration/src/clientConfig.json +++ b/libs/clients/directorate-of-immigration/src/clientConfig.json @@ -1 +1,2101 @@ -{ "openapi": "3.0.1", "info": { "title": "ST2-api", "version": "v1" }, "paths": { "/api/Applicant/GetCitizenshipValidity": { "get": { "tags": [ "Applicant" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } } } } } } }, "/api/Applicant/Get": { "get": { "tags": [ "Applicant" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } } } } } } }, "/api/Applicant/GetTokenSSNR": { "get": { "tags": [ "Applicant" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Applicant": { "post": { "tags": [ "Applicant" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } }, "patch": { "tags": [ "Applicant" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Applicant/NewChild": { "post": { "tags": [ "Applicant" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantNewChildModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicantNewChildModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicantNewChildModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/ApplicantResidenceCondition/Get": { "get": { "tags": [ "ApplicantResidenceCondition" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" } } } } } } }, "/api/Application/Citizenship": { "post": { "tags": [ "Application" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Application/Citizenship/{ssnr}": { "post": { "tags": [ "Application" ], "parameters": [ { "name": "ssnr", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Application/CitizenshipComplete": { "post": { "tags": [ "Application" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Application/CitizenshipChildComplete": { "post": { "tags": [ "Application" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Application/{applicationId}": { "get": { "tags": [ "Application" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ApplicationViewCompleteModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationViewCompleteModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationViewCompleteModel" } } } } } } }, "/api/Application/GetAll/{ssnr}": { "get": { "tags": [ "Application" ], "parameters": [ { "name": "ssnr", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } } } } } } }, "/api/Application/Confirm/{applicationId}": { "patch": { "tags": [ "Application" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "boolean" } }, "application/json": { "schema": { "type": "boolean" } }, "text/json": { "schema": { "type": "boolean" } } } } } } }, "/api/Application": { "post": { "tags": [ "Application" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Application/GetAll": { "get": { "tags": [ "Application" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" } } } } } } } }, "/api/ApplicationAttachment/{applicationId}": { "post": { "tags": [ "ApplicationAttachment" ], "summary": "Allowable mime types: image/jpeg, application/pdf, image/jpg", "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/ApplicationAttachment/NewItems/{applicationId}": { "post": { "tags": [ "ApplicationAttachment" ], "summary": "Allowable mime types: image/jpeg, application/pdf, image/jpg", "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } }, "/api/CountryOfResidence": { "post": { "tags": [ "CountryOfResidence" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CountryOfResidenceNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CountryOfResidenceNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CountryOfResidenceNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/CountryOfResidence/GetAll": { "get": { "tags": [ "CountryOfResidence" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CountryOfResidenceViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CountryOfResidenceViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CountryOfResidenceViewModel" } } } } } } } }, "/api/CriminalRecord": { "post": { "tags": [ "CriminalRecord" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CriminalRecordNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CriminalRecordNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CriminalRecordNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/CriminalRecord/GetAll": { "get": { "tags": [ "CriminalRecord" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CriminalRecordViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CriminalRecordViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CriminalRecordViewModel" } } } } } } } }, "/api/Employer/GetAll/{applicationId}": { "get": { "tags": [ "Employer" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployerViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployerViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EmployerViewModel" } } } } } } } }, "/api/Employer/{applicationId}": { "post": { "tags": [ "Employer" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmployerNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EmployerNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/EmployerNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/OptionSet/{lookupType}": { "get": { "tags": [ "OptionSet" ], "parameters": [ { "name": "lookupType", "in": "path", "required": true, "style": "simple", "schema": { "$ref": "#/components/schemas/LookupType" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OptionSetItem" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OptionSetItem" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OptionSetItem" } } } } } } } }, "/api/OptionSet/GetSingle/{lookupType}/{id}": { "get": { "tags": [ "OptionSet" ], "parameters": [ { "name": "lookupType", "in": "path", "required": true, "style": "simple", "schema": { "$ref": "#/components/schemas/LookupType" } }, { "name": "id", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/OptionSetItem" } }, "application/json": { "schema": { "$ref": "#/components/schemas/OptionSetItem" } }, "text/json": { "schema": { "$ref": "#/components/schemas/OptionSetItem" } } } } } } }, "/api/ResidenceAbroad/GetAll": { "get": { "tags": [ "ResidenceAbroad" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } } } } } } }, "/api/ResidenceAbroad/{applicationId}": { "post": { "tags": [ "ResidenceAbroad" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResidenceAbroadNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ResidenceAbroadNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ResidenceAbroadNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/ResidenceAbroad/GetAll/{applicationId}": { "get": { "tags": [ "ResidenceAbroad" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" } } } } } } } }, "/api/ResidencePermitClassification": { "get": { "tags": [ "ResidencePermitClassification" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationViewModel" } } } } } } } }, "/api/ResidencePermitClassification/ClassificationType/{classificationId}": { "get": { "tags": [ "ResidencePermitClassification" ], "parameters": [ { "name": "classificationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationTypeViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationTypeViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationTypeViewModel" } } } } } } } }, "/api/ResidencePermitClassification/ClassificationDetail/{classificationTypeId}": { "get": { "tags": [ "ResidencePermitClassification" ], "parameters": [ { "name": "classificationTypeId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationDetailViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationDetailViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClassificationDetailViewModel" } } } } } } } }, "/api/StaticData/GetAll": { "get": { "tags": [ "StaticData" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StaticDataViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StaticDataViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StaticDataViewModel" } } } } } } } }, "/api/StaticData/{staticDataId}": { "get": { "tags": [ "StaticData" ], "parameters": [ { "name": "staticDataId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ApplicationViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ApplicationViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ApplicationViewModel" } } } } } } }, "/api/Study": { "post": { "tags": [ "Study" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StudyNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/StudyNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/StudyNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/Study/GetAll": { "get": { "tags": [ "Study" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StudyViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StudyViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StudyViewModel" } } } } } } } }, "/api/TravelDocument/GetAll": { "get": { "tags": [ "TravelDocument" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } } } } } } }, "/api/TravelDocument/{applicationId}": { "post": { "tags": [ "TravelDocument" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TravelDocumentNewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/TravelDocumentNewModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/TravelDocumentNewModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } } } } }, "/api/TravelDocument/GetAll/{applicationId}": { "get": { "tags": [ "TravelDocument" ], "parameters": [ { "name": "applicationId", "in": "path", "required": true, "style": "simple", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" } } } } } } } } }, "components": { "schemas": { "ApplicantCompleteNewModel": { "type": "object", "properties": { "icelandicIDNO": { "type": "string", "nullable": true }, "icelandicIDNOWithHyphen": { "type": "string", "nullable": true, "readOnly": true }, "givenName": { "type": "string", "nullable": true }, "surName": { "type": "string", "nullable": true }, "emailAddress": { "type": "string", "nullable": true }, "telephone": { "type": "string", "nullable": true }, "addressCity": { "type": "string", "nullable": true }, "countryOfResidence": { "type": "array", "items": { "$ref": "#/components/schemas/CountryOfResidenceNewModel" }, "nullable": true } }, "additionalProperties": false }, "ApplicantEditModel": { "type": "object", "properties": { "emailAddress": { "type": "string", "nullable": true }, "telephone": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicantNewChildModel": { "type": "object", "properties": { "icelandicIDNO": { "type": "string", "nullable": true }, "icelandicIDNOWithHyphen": { "type": "string", "nullable": true, "readOnly": true }, "givenName": { "type": "string", "nullable": true }, "surName": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicantNewModel": { "type": "object", "properties": { "icelandicIDNO": { "type": "string", "nullable": true }, "icelandicIDNOWithHyphen": { "type": "string", "nullable": true, "readOnly": true }, "givenName": { "type": "string", "nullable": true }, "surName": { "type": "string", "nullable": true }, "emailAddress": { "type": "string", "nullable": true }, "telephone": { "type": "string", "nullable": true }, "addressCity": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicantResidenceConditionViewModel": { "type": "object", "properties": { "isAnyResConValid": { "type": "boolean" }, "domicileResidence7Years": { "type": "boolean" }, "cohabitationISCitizen5YrsDomicileMissingDate": { "type": "boolean" }, "asylumSeekerOrHumanitarianResPerm5year": { "type": "boolean" }, "cohabitationISCitizen5YearDomicile": { "type": "boolean" }, "isMarriedOrCohabiationWithISCitizen": { "type": "boolean" }, "marriedISCitizenDomicile4Years": { "type": "boolean" }, "noNationalityAnd5YearsDomicile": { "type": "boolean" }, "nordicCitizenship4YearDomicile": { "type": "boolean" }, "marriedISCitizenDomicile4YrsMissingDate": { "type": "boolean" } }, "additionalProperties": false }, "ApplicantViewModel": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "applicantNumber": { "type": "string", "nullable": true }, "dateOfBirth": { "type": "string", "format": "date-time", "nullable": true }, "nationalityId": { "type": "integer", "format": "int32", "nullable": true }, "emailAddress": { "type": "string", "nullable": true }, "addressName": { "type": "string", "nullable": true }, "addressCity": { "type": "string", "nullable": true }, "dateOfDomicileRegistration": { "type": "string", "format": "date-time", "nullable": true }, "residenceConditionId": { "type": "integer", "format": "int32", "nullable": true }, "residenceConditionName": { "type": "string", "nullable": true }, "maritalStatus": { "type": "integer", "format": "int32", "nullable": true }, "maritalStatusName": { "type": "string", "nullable": true }, "icelandicIDNO": { "type": "string", "nullable": true }, "icelandicIDNOWithHyphen": { "type": "string", "nullable": true }, "telephone": { "type": "string", "nullable": true }, "applicantId": { "type": "string", "nullable": true }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicantViewModel" }, "nullable": true }, "applications": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationViewModel" }, "nullable": true } }, "additionalProperties": false }, "ApplicantViewSimpleModel": { "type": "object", "properties": { "icelandicIDNO": { "type": "string", "nullable": true }, "icelandicIDNOWithHyphen": { "type": "string", "nullable": true, "readOnly": true }, "emailAddress": { "type": "string", "nullable": true }, "telephone": { "type": "string", "nullable": true }, "addressCity": { "type": "string", "nullable": true }, "applicantId": { "type": "string", "nullable": true }, "givenName": { "type": "string", "nullable": true }, "surName": { "type": "string", "nullable": true }, "countryOfResidence": { "type": "array", "items": { "$ref": "#/components/schemas/CountryOfResidenceViewModel" }, "nullable": true } }, "additionalProperties": false }, "ApplicationAttachmentArrayNewModel": { "type": "object", "properties": { "applicationAttachments": { "type": "array", "items": { "$ref": "#/components/schemas/ApplicationAttachmentNewModel" }, "nullable": true } }, "additionalProperties": false }, "ApplicationAttachmentNewModel": { "type": "object", "properties": { "attachmentType": { "$ref": "#/components/schemas/AttachmentType" }, "fileName": { "type": "string", "nullable": true }, "base64Contents": { "type": "string", "nullable": true }, "countryCode": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicationCitizenshipChildCompleteNewModel": { "type": "object", "properties": { "parentApplicationId": { "type": "string", "nullable": true }, "applicant": { "$ref": "#/components/schemas/ApplicantNewChildModel" }, "travelDocuments": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentNewModel" }, "nullable": true }, "staticData": { "$ref": "#/components/schemas/StaticDataChildNewModel" } }, "additionalProperties": false }, "ApplicationCitizenshipCompleteNewModel": { "type": "object", "properties": { "applicant": { "$ref": "#/components/schemas/ApplicantCompleteNewModel" }, "residenceAbroads": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadNewModel" }, "nullable": true }, "travelDocuments": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentNewModel" }, "nullable": true }, "staticData": { "$ref": "#/components/schemas/StaticDataApplicantNewModel" } }, "additionalProperties": false }, "ApplicationCitizienshipNewModel": { "type": "object", "properties": { "staticDataId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicationNewModel": { "type": "object", "properties": { "staticDataId": { "type": "string", "nullable": true }, "caseTypeId": { "type": "integer", "format": "int32" }, "classificationId": { "type": "string", "nullable": true }, "classificationTypeId": { "type": "string", "nullable": true }, "classificationDetailId": { "type": "string", "nullable": true }, "parentApplicationId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ApplicationViewCompleteModel": { "type": "object", "properties": { "caseTypeId": { "type": "integer", "format": "int32", "nullable": true }, "caseTypeName": { "type": "string", "nullable": true }, "classificationId": { "type": "string", "nullable": true }, "classificationName": { "type": "string", "nullable": true }, "classificationTypeId": { "type": "string", "nullable": true }, "classificationTypeName": { "type": "string", "nullable": true }, "classificationDetailId": { "type": "string", "nullable": true }, "classificationDetailName": { "type": "string", "nullable": true }, "staticDataId": { "type": "string", "nullable": true }, "applicationId": { "type": "string", "nullable": true }, "parentApplicationId": { "type": "string", "nullable": true }, "createdOn": { "type": "string", "format": "date-time" }, "permitValidTo": { "type": "string", "format": "date-time", "nullable": true }, "ticketNumber": { "type": "string", "nullable": true }, "applicant": { "$ref": "#/components/schemas/ApplicantViewSimpleModel" }, "staticData": { "$ref": "#/components/schemas/StaticDataViewModel" }, "residenceAbroads": { "type": "array", "items": { "$ref": "#/components/schemas/ResidenceAbroadViewModel" }, "nullable": true }, "travelDocuments": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" }, "nullable": true } }, "additionalProperties": false }, "ApplicationViewModel": { "type": "object", "properties": { "caseTypeId": { "type": "integer", "format": "int32", "nullable": true }, "caseTypeName": { "type": "string", "nullable": true }, "classificationId": { "type": "string", "nullable": true }, "classificationName": { "type": "string", "nullable": true }, "classificationTypeId": { "type": "string", "nullable": true }, "classificationTypeName": { "type": "string", "nullable": true }, "classificationDetailId": { "type": "string", "nullable": true }, "classificationDetailName": { "type": "string", "nullable": true }, "staticDataId": { "type": "string", "nullable": true }, "applicationId": { "type": "string", "nullable": true }, "parentApplicationId": { "type": "string", "nullable": true }, "createdOn": { "type": "string", "format": "date-time" }, "permitValidTo": { "type": "string", "format": "date-time", "nullable": true }, "ticketNumber": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AttachmentType": { "enum": [ "Passport", "PassportOtherAttachment", "BirtCertificate", "ProofOfFinancialCapabilityApplicant", "ProofOfFinancialCapabilityMunicipality", "DomicileHistory", "ConfirmationIcelandicLanguage", "WrittenConfirmationChild", "ConfirmationOtherParent", "CustodyDocuments", "CriminalRecord" ], "type": "string" }, "CitizenshipValidity": { "type": "object", "properties": { "applicantExists": { "type": "boolean" }, "isEESCitizen": { "type": "boolean" }, "eesNordicCitizen": { "type": "boolean" }, "eesResidenceCondition": { "type": "boolean" }, "spouseIsCitizen": { "type": "boolean" } }, "additionalProperties": false }, "ClassificationDetailViewModel": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "classificationDetailId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ClassificationTypeViewModel": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "classificationTypeId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ClassificationViewModel": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "classificationId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "CountryOfResidenceNewModel": { "type": "object", "properties": { "countryId": { "type": "integer", "format": "int32" }, "dateFrom": { "type": "string", "format": "date-time" }, "dateTo": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "CountryOfResidenceViewModel": { "type": "object", "properties": { "countryId": { "type": "integer", "format": "int32" }, "countryName": { "type": "string", "nullable": true }, "countryOfResidenceId": { "type": "string", "nullable": true }, "dateFrom": { "type": "string", "format": "date-time", "nullable": true }, "dateTo": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "CriminalRecordNewModel": { "type": "object", "properties": { "countryId": { "type": "integer", "format": "int32" }, "offence": { "type": "string", "nullable": true }, "punishment": { "type": "string", "nullable": true }, "when": { "type": "string", "format": "date-time", "nullable": true } }, "additionalProperties": false }, "CriminalRecordViewModel": { "type": "object", "properties": { "accountid": { "type": "string", "nullable": true }, "criminalRecordId": { "type": "string", "nullable": true }, "countryId": { "type": "integer", "format": "int32" }, "countryName": { "type": "string", "nullable": true }, "offence": { "type": "string", "nullable": true }, "punishment": { "type": "string", "nullable": true }, "when": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EmployerNewModel": { "type": "object", "properties": { "companyName": { "type": "string", "nullable": true }, "countryId": { "type": "integer", "format": "int32", "nullable": true }, "dateFrom": { "type": "string", "format": "date-time", "nullable": true }, "dateTo": { "type": "string", "format": "date-time", "nullable": true }, "icelandicIDNO": { "type": "string", "nullable": true } }, "additionalProperties": false }, "EmployerViewModel": { "type": "object", "properties": { "companyName": { "type": "string", "nullable": true }, "countryId": { "type": "integer", "format": "int32", "nullable": true }, "dateFrom": { "type": "string", "format": "date-time", "nullable": true }, "dateTo": { "type": "string", "format": "date-time", "nullable": true }, "icelandicIDNO": { "type": "string", "nullable": true }, "employerid": { "type": "string", "nullable": true } }, "additionalProperties": false }, "LookupType": { "enum": [ "GenderTypes", "Languages", "Nationalities", "MaritalStatuses", "ResidenceConditions", "CaseType", "TravelDocumentTypes", "Countries", "FamilyConnections" ], "type": "string" }, "OptionSetItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ProblemDetails": { "type": "object", "properties": { "type": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "status": { "type": "integer", "format": "int32", "nullable": true }, "detail": { "type": "string", "nullable": true }, "instance": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ResidenceAbroadNewModel": { "type": "object", "properties": { "countryId": { "type": "integer", "format": "int32" }, "dateFrom": { "type": "string", "format": "date-time" }, "dateTo": { "type": "string", "format": "date-time" }, "purposeOfStay": { "type": "string", "nullable": true } }, "additionalProperties": false }, "ResidenceAbroadViewModel": { "type": "object", "properties": { "countryId": { "type": "integer", "format": "int32" }, "countryName": { "type": "string", "nullable": true }, "dateFrom": { "type": "string", "format": "date-time" }, "dateTo": { "type": "string", "format": "date-time" }, "purposeOfStay": { "type": "string", "nullable": true }, "residenceAbroadId": { "type": "string", "nullable": true }, "applicationId": { "type": "string", "nullable": true }, "applicantId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StaticDataApplicantNewModel": { "type": "object", "properties": { "address": { "type": "string", "nullable": true }, "municipality": { "type": "string", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "dateOfDomicileRegistration": { "type": "string", "nullable": true }, "countryOfBirth": { "type": "string", "nullable": true }, "maritalStatus": { "type": "string", "nullable": true }, "dateOfMarriage": { "type": "string", "nullable": true }, "spouseSSN": { "type": "string", "nullable": true }, "spouseName": { "type": "string", "nullable": true }, "spouseCountryOfBirth": { "type": "string", "nullable": true }, "spouseCitizenship": { "type": "string", "nullable": true }, "spouseAddress": { "type": "string", "nullable": true }, "spouseAddressMismatchReason": { "type": "string", "nullable": true }, "parent1SSN": { "type": "string", "nullable": true }, "parent1Name": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "parent2SSN": { "type": "string", "nullable": true }, "parentOfChild2SSN": { "type": "string", "nullable": true }, "parent2Name": { "type": "string", "nullable": true }, "parentOfChild2Name": { "type": "string", "nullable": true }, "applicantIsChildOfIcelandicCitizen": { "type": "boolean", "nullable": true }, "applicantIsFormerIcelandicCitizen": { "type": "boolean", "nullable": true } }, "additionalProperties": false }, "StaticDataChildNewModel": { "type": "object", "properties": { "parent2SSN": { "type": "string", "nullable": true }, "parent2Name": { "type": "string", "nullable": true }, "parent2BirthDate": { "type": "string", "nullable": true }, "nationality": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StaticDataViewModel": { "required": [ "name", "ssn" ], "type": "object", "properties": { "address": { "type": "string", "nullable": true }, "municipality": { "type": "string", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "dateOfDomicileRegistration": { "type": "string", "nullable": true }, "countryOfBirth": { "type": "string", "nullable": true }, "maritalStatus": { "type": "string", "nullable": true }, "dateOfMarriage": { "type": "string", "nullable": true }, "spouseSSN": { "type": "string", "nullable": true }, "spouseName": { "type": "string", "nullable": true }, "spouseCountryOfBirth": { "type": "string", "nullable": true }, "spouseCitizenship": { "type": "string", "nullable": true }, "spouseAddress": { "type": "string", "nullable": true }, "spouseAddressMismatchReason": { "type": "string", "nullable": true }, "parent1SSN": { "type": "string", "nullable": true }, "parent1Name": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true }, "parent2SSN": { "type": "string", "nullable": true }, "parentOfChild2SSN": { "type": "string", "nullable": true }, "parent2Name": { "type": "string", "nullable": true }, "parentOfChild2Name": { "type": "string", "nullable": true }, "applicantIsChildOfIcelandicCitizen": { "type": "boolean", "nullable": true }, "applicantIsFormerIcelandicCitizen": { "type": "boolean", "nullable": true }, "parent2BirthDate": { "type": "string", "nullable": true }, "staticDataId": { "type": "string", "nullable": true }, "ssn": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "phone": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StudyNewModel": { "type": "object", "properties": { "icelandicIDNO": { "type": "string", "nullable": true }, "school": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StudyViewModel": { "type": "object", "properties": { "studyId": { "type": "string", "nullable": true }, "icelandicIDNO": { "type": "string", "nullable": true }, "school": { "type": "string", "nullable": true }, "createdOn": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "TravelDocumentIncidentViewModel": { "type": "object", "properties": { "applicationId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "TravelDocumentNewModel": { "type": "object", "properties": { "dateOfExpiry": { "type": "string", "format": "date-time", "nullable": true }, "dateOfIssue": { "type": "string", "format": "date-time", "nullable": true }, "issuingCountryId": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "travelDocumentNo": { "type": "string", "nullable": true }, "travelDocumentTypeId": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "TravelDocumentViewModel": { "type": "object", "properties": { "travelDocumentId": { "type": "string", "nullable": true }, "applicantId": { "type": "string", "nullable": true }, "dateOfExpiry": { "type": "string", "format": "date-time", "nullable": true }, "dateOfIssue": { "type": "string", "format": "date-time", "nullable": true }, "issuingCountryId": { "type": "integer", "format": "int32", "nullable": true }, "issuingCountryName": { "type": "string", "nullable": true }, "name": { "type": "string", "nullable": true }, "travelDocumentNo": { "type": "string", "nullable": true }, "travelDocumentTypeId": { "type": "integer", "format": "int32", "nullable": true }, "travelDocumentTypeName": { "type": "string", "nullable": true }, "createdOn": { "type": "string", "format": "date-time" }, "applications": { "type": "array", "items": { "$ref": "#/components/schemas/TravelDocumentIncidentViewModel" }, "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "bearerAuth": { "type": "http", "description": "Input bearer token to access this API", "scheme": "bearer" } } }, "security": [ { "bearerAuth": [] } ] } +{ + "openapi": "3.0.1", + "info": { "title": "ST2-api", "version": "v1" }, + "paths": { + "/api/Applicant/GetCitizenshipValidity": { + "get": { + "tags": ["Applicant"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } + }, + "application/json": { + "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/CitizenshipValidity" } + } + } + } + } + } + }, + "/api/Applicant/Get": { + "get": { + "tags": ["Applicant"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } + }, + "application/json": { + "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ApplicantViewModel" } + } + } + } + } + } + }, + "/api/Applicant/GetTokenSSNR": { + "get": { + "tags": ["Applicant"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Applicant": { + "post": { + "tags": ["Applicant"], + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } + }, + "application/*+json": { + "schema": { "$ref": "#/components/schemas/ApplicantNewModel" } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + }, + "patch": { + "tags": ["Applicant"], + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } + }, + "application/*+json": { + "schema": { "$ref": "#/components/schemas/ApplicantEditModel" } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Applicant/NewChild": { + "post": { + "tags": ["Applicant"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicantNewChildModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicantNewChildModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicantNewChildModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/ApplicantResidenceCondition/Get": { + "get": { + "tags": ["ApplicantResidenceCondition"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicantResidenceConditionViewModel" + } + } + } + } + } + } + }, + "/api/Application/Citizenship": { + "post": { + "tags": ["Application"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Application/Citizenship/{ssnr}": { + "post": { + "tags": ["Application"], + "parameters": [ + { + "name": "ssnr", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizienshipNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Application/CitizenshipComplete": { + "post": { + "tags": ["Application"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipCompleteNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Application/CitizenshipChildComplete": { + "post": { + "tags": ["Application"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationCitizenshipChildCompleteNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Application/{applicationId}": { + "get": { + "tags": ["Application"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewCompleteModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewCompleteModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewCompleteModel" + } + } + } + } + } + } + }, + "/api/Application/GetAll/{ssnr}": { + "get": { + "tags": ["Application"], + "parameters": [ + { + "name": "ssnr", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + } + } + } + } + } + }, + "/api/Application/Confirm/{applicationId}": { + "patch": { + "tags": ["Application"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "boolean" } }, + "application/json": { "schema": { "type": "boolean" } }, + "text/json": { "schema": { "type": "boolean" } } + } + } + } + } + }, + "/api/Application": { + "post": { + "tags": ["Application"], + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } + }, + "application/*+json": { + "schema": { "$ref": "#/components/schemas/ApplicationNewModel" } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Application/GetAll": { + "get": { + "tags": ["Application"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + } + } + } + } + } + }, + "/api/ApplicationAttachment/{applicationId}": { + "post": { + "tags": ["ApplicationAttachment"], + "summary": "Allowable mime types: image/jpeg, application/pdf, image/jpg", + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + }, + "403": { + "description": "Forbidden", + "content": { + "text/plain": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + }, + "application/json": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + } + } + } + } + } + }, + "/api/ApplicationAttachment/NewItems/{applicationId}": { + "post": { + "tags": ["ApplicationAttachment"], + "summary": "Allowable mime types: image/jpeg, application/pdf, image/jpg", + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ApplicationAttachmentArrayNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + }, + "403": { + "description": "Forbidden", + "content": { + "text/plain": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + }, + "application/json": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/ProblemDetails" } + } + } + } + } + } + }, + "/api/CountryOfResidence": { + "post": { + "tags": ["CountryOfResidence"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CountryOfResidenceNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CountryOfResidenceNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CountryOfResidenceNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/CountryOfResidence/GetAll": { + "get": { + "tags": ["CountryOfResidence"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CountryOfResidenceViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CountryOfResidenceViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CountryOfResidenceViewModel" + } + } + } + } + } + } + } + }, + "/api/CriminalRecord": { + "post": { + "tags": ["CriminalRecord"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CriminalRecordNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CriminalRecordNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CriminalRecordNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/CriminalRecord/GetAll": { + "get": { + "tags": ["CriminalRecord"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CriminalRecordViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CriminalRecordViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CriminalRecordViewModel" + } + } + } + } + } + } + } + }, + "/api/Employer/GetAll/{applicationId}": { + "get": { + "tags": ["Employer"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/EmployerViewModel" } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/EmployerViewModel" } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/EmployerViewModel" } + } + } + } + } + } + } + }, + "/api/Employer/{applicationId}": { + "post": { + "tags": ["Employer"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/EmployerNewModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/EmployerNewModel" } + }, + "application/*+json": { + "schema": { "$ref": "#/components/schemas/EmployerNewModel" } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/OptionSet/{lookupType}": { + "get": { + "tags": ["OptionSet"], + "parameters": [ + { + "name": "lookupType", + "in": "path", + "required": true, + "style": "simple", + "schema": { "$ref": "#/components/schemas/LookupType" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/OptionSetItem" } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/OptionSetItem" } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/OptionSetItem" } + } + } + } + } + } + } + }, + "/api/OptionSet/GetSingle/{lookupType}/{id}": { + "get": { + "tags": ["OptionSet"], + "parameters": [ + { + "name": "lookupType", + "in": "path", + "required": true, + "style": "simple", + "schema": { "$ref": "#/components/schemas/LookupType" } + }, + { + "name": "id", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { "$ref": "#/components/schemas/OptionSetItem" } + }, + "application/json": { + "schema": { "$ref": "#/components/schemas/OptionSetItem" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/OptionSetItem" } + } + } + } + } + } + }, + "/api/ResidenceAbroad/GetAll": { + "get": { + "tags": ["ResidenceAbroad"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + } + } + } + } + } + }, + "/api/ResidenceAbroad/{applicationId}": { + "post": { + "tags": ["ResidenceAbroad"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResidenceAbroadNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ResidenceAbroadNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ResidenceAbroadNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/ResidenceAbroad/GetAll/{applicationId}": { + "get": { + "tags": ["ResidenceAbroad"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + } + } + } + } + } + } + } + }, + "/api/ResidencePermitClassification": { + "get": { + "tags": ["ResidencePermitClassification"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationViewModel" + } + } + } + } + } + } + } + }, + "/api/ResidencePermitClassification/ClassificationType/{classificationId}": { + "get": { + "tags": ["ResidencePermitClassification"], + "parameters": [ + { + "name": "classificationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationTypeViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationTypeViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationTypeViewModel" + } + } + } + } + } + } + } + }, + "/api/ResidencePermitClassification/ClassificationDetail/{classificationTypeId}": { + "get": { + "tags": ["ResidencePermitClassification"], + "parameters": [ + { + "name": "classificationTypeId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationDetailViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationDetailViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationDetailViewModel" + } + } + } + } + } + } + } + }, + "/api/StaticData/GetAll": { + "get": { + "tags": ["StaticData"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StaticDataViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StaticDataViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StaticDataViewModel" + } + } + } + } + } + } + } + }, + "/api/StaticData/{staticDataId}": { + "get": { + "tags": ["StaticData"], + "parameters": [ + { + "name": "staticDataId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationViewModel" + } + } + } + } + } + } + }, + "/api/Study": { + "post": { + "tags": ["Study"], + "requestBody": { + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/StudyNewModel" } + }, + "text/json": { + "schema": { "$ref": "#/components/schemas/StudyNewModel" } + }, + "application/*+json": { + "schema": { "$ref": "#/components/schemas/StudyNewModel" } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/Study/GetAll": { + "get": { + "tags": ["Study"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/StudyViewModel" } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/StudyViewModel" } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { "$ref": "#/components/schemas/StudyViewModel" } + } + } + } + } + } + } + }, + "/api/TravelDocument/GetAll": { + "get": { + "tags": ["TravelDocument"], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + } + } + } + } + } + }, + "/api/TravelDocument/{applicationId}": { + "post": { + "tags": ["TravelDocument"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TravelDocumentNewModel" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/TravelDocumentNewModel" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/TravelDocumentNewModel" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { "schema": { "type": "string" } }, + "application/json": { "schema": { "type": "string" } }, + "text/json": { "schema": { "type": "string" } } + } + } + } + } + }, + "/api/TravelDocument/GetAll/{applicationId}": { + "get": { + "tags": ["TravelDocument"], + "parameters": [ + { + "name": "applicationId", + "in": "path", + "required": true, + "style": "simple", + "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentViewModel" + } + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "ApplicantCompleteNewModel": { + "type": "object", + "properties": { + "icelandicIDNO": { "type": "string", "nullable": true }, + "icelandicIDNOWithHyphen": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "givenName": { "type": "string", "nullable": true }, + "surName": { "type": "string", "nullable": true }, + "emailAddress": { "type": "string", "nullable": true }, + "telephone": { "type": "string", "nullable": true }, + "addressCity": { "type": "string", "nullable": true }, + "countryOfResidence": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CountryOfResidenceNewModel" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "ApplicantEditModel": { + "type": "object", + "properties": { + "emailAddress": { "type": "string", "nullable": true }, + "telephone": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicantNewChildModel": { + "type": "object", + "properties": { + "icelandicIDNO": { "type": "string", "nullable": true }, + "icelandicIDNOWithHyphen": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "givenName": { "type": "string", "nullable": true }, + "surName": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicantNewModel": { + "type": "object", + "properties": { + "icelandicIDNO": { "type": "string", "nullable": true }, + "icelandicIDNOWithHyphen": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "givenName": { "type": "string", "nullable": true }, + "surName": { "type": "string", "nullable": true }, + "emailAddress": { "type": "string", "nullable": true }, + "telephone": { "type": "string", "nullable": true }, + "addressCity": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicantResidenceConditionViewModel": { + "type": "object", + "properties": { + "isAnyResConValid": { "type": "boolean" }, + "domicileResidence7Years": { "type": "boolean" }, + "cohabitationISCitizen5YrsDomicileMissingDate": { "type": "boolean" }, + "asylumSeekerOrHumanitarianResPerm5year": { "type": "boolean" }, + "cohabitationISCitizen5YearDomicile": { "type": "boolean" }, + "isMarriedOrCohabiationWithISCitizen": { "type": "boolean" }, + "marriedISCitizenDomicile4Years": { "type": "boolean" }, + "noNationalityAnd5YearsDomicile": { "type": "boolean" }, + "nordicCitizenship4YearDomicile": { "type": "boolean" }, + "marriedISCitizenDomicile4YrsMissingDate": { "type": "boolean" } + }, + "additionalProperties": false + }, + "ApplicantViewModel": { + "type": "object", + "properties": { + "name": { "type": "string", "nullable": true }, + "applicantNumber": { "type": "string", "nullable": true }, + "dateOfBirth": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "nationalityId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "emailAddress": { "type": "string", "nullable": true }, + "addressName": { "type": "string", "nullable": true }, + "addressCity": { "type": "string", "nullable": true }, + "dateOfDomicileRegistration": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "residenceConditionId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "residenceConditionName": { "type": "string", "nullable": true }, + "maritalStatus": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "maritalStatusName": { "type": "string", "nullable": true }, + "icelandicIDNO": { "type": "string", "nullable": true }, + "icelandicIDNOWithHyphen": { "type": "string", "nullable": true }, + "telephone": { "type": "string", "nullable": true }, + "applicantId": { "type": "string", "nullable": true }, + "children": { + "type": "array", + "items": { "$ref": "#/components/schemas/ApplicantViewModel" }, + "nullable": true + }, + "applications": { + "type": "array", + "items": { "$ref": "#/components/schemas/ApplicationViewModel" }, + "nullable": true + } + }, + "additionalProperties": false + }, + "ApplicantViewSimpleModel": { + "type": "object", + "properties": { + "icelandicIDNO": { "type": "string", "nullable": true }, + "icelandicIDNOWithHyphen": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "emailAddress": { "type": "string", "nullable": true }, + "telephone": { "type": "string", "nullable": true }, + "addressCity": { "type": "string", "nullable": true }, + "applicantId": { "type": "string", "nullable": true }, + "givenName": { "type": "string", "nullable": true }, + "surName": { "type": "string", "nullable": true }, + "countryOfResidence": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CountryOfResidenceViewModel" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "ApplicationAttachmentArrayNewModel": { + "type": "object", + "properties": { + "applicationAttachments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationAttachmentNewModel" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "ApplicationAttachmentNewModel": { + "type": "object", + "properties": { + "attachmentType": { "$ref": "#/components/schemas/AttachmentType" }, + "fileName": { "type": "string", "nullable": true }, + "base64Contents": { "type": "string", "nullable": true }, + "countryCode": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicationCitizenshipChildCompleteNewModel": { + "type": "object", + "properties": { + "parentApplicationId": { "type": "string", "nullable": true }, + "applicant": { + "$ref": "#/components/schemas/ApplicantNewChildModel" + }, + "travelDocuments": { + "type": "array", + "items": { "$ref": "#/components/schemas/TravelDocumentNewModel" }, + "nullable": true + }, + "staticData": { + "$ref": "#/components/schemas/StaticDataChildNewModel" + } + }, + "additionalProperties": false + }, + "ApplicationCitizenshipCompleteNewModel": { + "type": "object", + "properties": { + "applicant": { + "$ref": "#/components/schemas/ApplicantCompleteNewModel" + }, + "residenceAbroads": { + "type": "array", + "items": { "$ref": "#/components/schemas/ResidenceAbroadNewModel" }, + "nullable": true + }, + "travelDocuments": { + "type": "array", + "items": { "$ref": "#/components/schemas/TravelDocumentNewModel" }, + "nullable": true + }, + "staticData": { + "$ref": "#/components/schemas/StaticDataApplicantNewModel" + } + }, + "additionalProperties": false + }, + "ApplicationCitizienshipNewModel": { + "type": "object", + "properties": { + "staticDataId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicationNewModel": { + "type": "object", + "properties": { + "staticDataId": { "type": "string", "nullable": true }, + "caseTypeId": { "type": "integer", "format": "int32" }, + "classificationId": { "type": "string", "nullable": true }, + "classificationTypeId": { "type": "string", "nullable": true }, + "classificationDetailId": { "type": "string", "nullable": true }, + "parentApplicationId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ApplicationViewCompleteModel": { + "type": "object", + "properties": { + "caseTypeId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "caseTypeName": { "type": "string", "nullable": true }, + "classificationId": { "type": "string", "nullable": true }, + "classificationName": { "type": "string", "nullable": true }, + "classificationTypeId": { "type": "string", "nullable": true }, + "classificationTypeName": { "type": "string", "nullable": true }, + "classificationDetailId": { "type": "string", "nullable": true }, + "classificationDetailName": { "type": "string", "nullable": true }, + "staticDataId": { "type": "string", "nullable": true }, + "applicationId": { "type": "string", "nullable": true }, + "parentApplicationId": { "type": "string", "nullable": true }, + "createdOn": { "type": "string", "format": "date-time" }, + "permitValidTo": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "ticketNumber": { "type": "string", "nullable": true }, + "applicant": { + "$ref": "#/components/schemas/ApplicantViewSimpleModel" + }, + "staticData": { "$ref": "#/components/schemas/StaticDataViewModel" }, + "residenceAbroads": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResidenceAbroadViewModel" + }, + "nullable": true + }, + "travelDocuments": { + "type": "array", + "items": { "$ref": "#/components/schemas/TravelDocumentViewModel" }, + "nullable": true + } + }, + "additionalProperties": false + }, + "ApplicationViewModel": { + "type": "object", + "properties": { + "caseTypeId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "caseTypeName": { "type": "string", "nullable": true }, + "classificationId": { "type": "string", "nullable": true }, + "classificationName": { "type": "string", "nullable": true }, + "classificationTypeId": { "type": "string", "nullable": true }, + "classificationTypeName": { "type": "string", "nullable": true }, + "classificationDetailId": { "type": "string", "nullable": true }, + "classificationDetailName": { "type": "string", "nullable": true }, + "staticDataId": { "type": "string", "nullable": true }, + "applicationId": { "type": "string", "nullable": true }, + "parentApplicationId": { "type": "string", "nullable": true }, + "createdOn": { "type": "string", "format": "date-time" }, + "permitValidTo": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "ticketNumber": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "AttachmentType": { + "enum": [ + "Passport", + "PassportOtherAttachment", + "BirtCertificate", + "ProofOfFinancialCapabilityApplicant", + "ProofOfFinancialCapabilityMunicipality", + "DomicileHistory", + "ConfirmationIcelandicLanguage", + "WrittenConfirmationChild", + "ConfirmationOtherParent", + "CustodyDocuments", + "CriminalRecord" + ], + "type": "string" + }, + "CitizenshipValidity": { + "type": "object", + "properties": { + "applicantExists": { "type": "boolean" }, + "isEESCitizen": { "type": "boolean" }, + "eesNordicCitizen": { "type": "boolean" }, + "eesResidenceCondition": { "type": "boolean" }, + "spouseIsCitizen": { "type": "boolean" } + }, + "additionalProperties": false + }, + "ClassificationDetailViewModel": { + "type": "object", + "properties": { + "name": { "type": "string", "nullable": true }, + "classificationDetailId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ClassificationTypeViewModel": { + "type": "object", + "properties": { + "name": { "type": "string", "nullable": true }, + "classificationTypeId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ClassificationViewModel": { + "type": "object", + "properties": { + "name": { "type": "string", "nullable": true }, + "classificationId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "CountryOfResidenceNewModel": { + "type": "object", + "properties": { + "countryId": { "type": "integer", "format": "int32" }, + "dateFrom": { "type": "string", "format": "date-time" }, + "dateTo": { "type": "string", "format": "date-time" } + }, + "additionalProperties": false + }, + "CountryOfResidenceViewModel": { + "type": "object", + "properties": { + "countryId": { "type": "integer", "format": "int32" }, + "countryName": { "type": "string", "nullable": true }, + "countryOfResidenceId": { "type": "string", "nullable": true }, + "dateFrom": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateTo": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false + }, + "CriminalRecordNewModel": { + "type": "object", + "properties": { + "countryId": { "type": "integer", "format": "int32" }, + "offence": { "type": "string", "nullable": true }, + "punishment": { "type": "string", "nullable": true }, + "when": { "type": "string", "format": "date-time", "nullable": true } + }, + "additionalProperties": false + }, + "CriminalRecordViewModel": { + "type": "object", + "properties": { + "accountid": { "type": "string", "nullable": true }, + "criminalRecordId": { "type": "string", "nullable": true }, + "countryId": { "type": "integer", "format": "int32" }, + "countryName": { "type": "string", "nullable": true }, + "offence": { "type": "string", "nullable": true }, + "punishment": { "type": "string", "nullable": true }, + "when": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "EmployerNewModel": { + "type": "object", + "properties": { + "companyName": { "type": "string", "nullable": true }, + "countryId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "dateFrom": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateTo": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "icelandicIDNO": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "EmployerViewModel": { + "type": "object", + "properties": { + "companyName": { "type": "string", "nullable": true }, + "countryId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "dateFrom": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateTo": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "icelandicIDNO": { "type": "string", "nullable": true }, + "employerid": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "LookupType": { + "enum": [ + "GenderTypes", + "Languages", + "Nationalities", + "MaritalStatuses", + "ResidenceConditions", + "CaseType", + "TravelDocumentTypes", + "Countries", + "FamilyConnections" + ], + "type": "string" + }, + "OptionSetItem": { + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int32" }, + "name": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ProblemDetails": { + "type": "object", + "properties": { + "type": { "type": "string", "nullable": true }, + "title": { "type": "string", "nullable": true }, + "status": { "type": "integer", "format": "int32", "nullable": true }, + "detail": { "type": "string", "nullable": true }, + "instance": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ResidenceAbroadNewModel": { + "type": "object", + "properties": { + "countryId": { "type": "integer", "format": "int32" }, + "dateFrom": { "type": "string", "format": "date-time" }, + "dateTo": { "type": "string", "format": "date-time" }, + "purposeOfStay": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "ResidenceAbroadViewModel": { + "type": "object", + "properties": { + "countryId": { "type": "integer", "format": "int32" }, + "countryName": { "type": "string", "nullable": true }, + "dateFrom": { "type": "string", "format": "date-time" }, + "dateTo": { "type": "string", "format": "date-time" }, + "purposeOfStay": { "type": "string", "nullable": true }, + "residenceAbroadId": { "type": "string", "nullable": true }, + "applicationId": { "type": "string", "nullable": true }, + "applicantId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "StaticDataApplicantNewModel": { + "type": "object", + "properties": { + "address": { "type": "string", "nullable": true }, + "municipality": { "type": "string", "nullable": true }, + "nationality": { "type": "string", "nullable": true }, + "dateOfDomicileRegistration": { "type": "string", "nullable": true }, + "countryOfBirth": { "type": "string", "nullable": true }, + "maritalStatus": { "type": "string", "nullable": true }, + "dateOfMarriage": { "type": "string", "nullable": true }, + "spouseSSN": { "type": "string", "nullable": true }, + "spouseName": { "type": "string", "nullable": true }, + "spouseCountryOfBirth": { "type": "string", "nullable": true }, + "spouseCitizenship": { "type": "string", "nullable": true }, + "spouseAddress": { "type": "string", "nullable": true }, + "spouseAddressMismatchReason": { "type": "string", "nullable": true }, + "parent1SSN": { "type": "string", "nullable": true }, + "parent1Name": { "type": "string", "nullable": true }, + "postalCode": { "type": "string", "nullable": true }, + "parent2SSN": { "type": "string", "nullable": true }, + "parentOfChild2SSN": { "type": "string", "nullable": true }, + "parent2Name": { "type": "string", "nullable": true }, + "parentOfChild2Name": { "type": "string", "nullable": true }, + "applicantIsChildOfIcelandicCitizen": { + "type": "boolean", + "nullable": true + }, + "applicantIsFormerIcelandicCitizen": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false + }, + "StaticDataChildNewModel": { + "type": "object", + "properties": { + "parent2SSN": { "type": "string", "nullable": true }, + "parent2Name": { "type": "string", "nullable": true }, + "parent2BirthDate": { "type": "string", "nullable": true }, + "nationality": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "StaticDataViewModel": { + "required": ["name", "ssn"], + "type": "object", + "properties": { + "address": { "type": "string", "nullable": true }, + "municipality": { "type": "string", "nullable": true }, + "nationality": { "type": "string", "nullable": true }, + "dateOfDomicileRegistration": { "type": "string", "nullable": true }, + "countryOfBirth": { "type": "string", "nullable": true }, + "maritalStatus": { "type": "string", "nullable": true }, + "dateOfMarriage": { "type": "string", "nullable": true }, + "spouseSSN": { "type": "string", "nullable": true }, + "spouseName": { "type": "string", "nullable": true }, + "spouseCountryOfBirth": { "type": "string", "nullable": true }, + "spouseCitizenship": { "type": "string", "nullable": true }, + "spouseAddress": { "type": "string", "nullable": true }, + "spouseAddressMismatchReason": { "type": "string", "nullable": true }, + "parent1SSN": { "type": "string", "nullable": true }, + "parent1Name": { "type": "string", "nullable": true }, + "postalCode": { "type": "string", "nullable": true }, + "parent2SSN": { "type": "string", "nullable": true }, + "parentOfChild2SSN": { "type": "string", "nullable": true }, + "parent2Name": { "type": "string", "nullable": true }, + "parentOfChild2Name": { "type": "string", "nullable": true }, + "applicantIsChildOfIcelandicCitizen": { + "type": "boolean", + "nullable": true + }, + "applicantIsFormerIcelandicCitizen": { + "type": "boolean", + "nullable": true + }, + "parent2BirthDate": { "type": "string", "nullable": true }, + "staticDataId": { "type": "string", "nullable": true }, + "ssn": { "minLength": 1, "type": "string" }, + "name": { "minLength": 1, "type": "string" }, + "phone": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "StudyNewModel": { + "type": "object", + "properties": { + "icelandicIDNO": { "type": "string", "nullable": true }, + "school": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "StudyViewModel": { + "type": "object", + "properties": { + "studyId": { "type": "string", "nullable": true }, + "icelandicIDNO": { "type": "string", "nullable": true }, + "school": { "type": "string", "nullable": true }, + "createdOn": { "type": "string", "format": "date-time" } + }, + "additionalProperties": false + }, + "TravelDocumentIncidentViewModel": { + "type": "object", + "properties": { + "applicationId": { "type": "string", "nullable": true } + }, + "additionalProperties": false + }, + "TravelDocumentNewModel": { + "type": "object", + "properties": { + "dateOfExpiry": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateOfIssue": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "issuingCountryId": { "type": "integer", "format": "int32" }, + "name": { "type": "string", "nullable": true }, + "travelDocumentNo": { "type": "string", "nullable": true }, + "travelDocumentTypeId": { "type": "integer", "format": "int32" } + }, + "additionalProperties": false + }, + "TravelDocumentViewModel": { + "type": "object", + "properties": { + "travelDocumentId": { "type": "string", "nullable": true }, + "applicantId": { "type": "string", "nullable": true }, + "dateOfExpiry": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "dateOfIssue": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "issuingCountryId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "issuingCountryName": { "type": "string", "nullable": true }, + "name": { "type": "string", "nullable": true }, + "travelDocumentNo": { "type": "string", "nullable": true }, + "travelDocumentTypeId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "travelDocumentTypeName": { "type": "string", "nullable": true }, + "createdOn": { "type": "string", "format": "date-time" }, + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TravelDocumentIncidentViewModel" + }, + "nullable": true + } + }, + "additionalProperties": false + } + }, + "securitySchemes": { + "bearerAuth": { + "type": "http", + "description": "Input bearer token to access this API", + "scheme": "bearer" + } + } + }, + "security": [{ "bearerAuth": [] }] +}