Skip to content

Instantly share code, notes, and snippets.

@dominicgan
Created July 26, 2023 14:32
Show Gist options
  • Save dominicgan/84012b8b5d620c3561cc9b4bde0ca789 to your computer and use it in GitHub Desktop.
Save dominicgan/84012b8b5d620c3561cc9b4bde0ca789 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ApplicationStageType": {
"enum": [
"application",
"placeholderStage",
"uploadDocs"
],
"type": "string"
},
"ContactDetails": {
"properties": {
"email": {
"type": "string"
},
"homeNo": {
"type": "string"
},
"mobileNo": {
"type": "string"
},
"officeNo": {
"type": "string"
},
"sameAsSponsor": {
"type": "string"
}
},
"type": "object"
},
"CriminalOffenceRecord": {
"properties": {
"convictedList": {
"items": {
"allOf": [
{
"$ref": "#/definitions/Omit<ConvictedType,\"objectId\">"
},
{
"properties": {
"refID": {
"type": "string"
}
},
"required": [
"refID"
],
"type": "object"
}
]
},
"type": "array"
},
"detailsOfInvestigation": {
"type": "string"
},
"isConvicted": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isUnderInvestigation": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
}
},
"type": "object"
},
"CustodyInterface": {
"properties": {
"associatedObjectId": {
"type": "string"
},
"custodyTypeCode": {
"type": "string"
},
"eServicePersonId": {
"type": "string"
},
"fullName": {
"type": "string"
},
"id": {
"type": "string"
},
"objectId": {
"type": "string"
}
},
"required": [
"associatedObjectId",
"custodyTypeCode",
"eServicePersonId",
"fullName",
"objectId"
],
"type": "object"
},
"DeclarationRecord": {
"properties": {
"adverse": {
"properties": {
"entryBanDetails": {
"type": "string"
},
"entryDenyDetails": {
"type": "string"
},
"isEntryBan": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isEntryDeny": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isReqToLeave": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"reqToLeaveDetails": {
"type": "string"
}
},
"type": "object"
},
"criminalOffence": {
"$ref": "#/definitions/CriminalOffenceRecord"
},
"other": {
"properties": {
"isMarriageBenefit": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"marriageBenefitDetails": {
"type": "string"
},
"previousHeldSGCitizenship": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"previousHeldSGCitizenshipDetailsCode": {
"type": "string"
}
},
"type": "object"
},
"otherIdentityDetails": {
"$ref": "#/definitions/OtherIdentityDetailsRecord"
},
"wishToApplyWp": {
"type": "string"
}
},
"type": "object"
},
"EducationDetailsInterface": {
"properties": {
"collegeName": {
"type": "string"
},
"countryOfStudyCode": {
"type": "string"
},
"instituteNameCode": {
"type": "string"
},
"isCurrent": {
"type": "boolean"
},
"isHighest": {
"type": "boolean"
},
"natureOfCourseCode": {
"type": "string"
},
"objectId": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": [
"null",
"string"
]
},
"provOfStudyCode": {
"type": "string"
},
"qualificationAttainedCode": {
"type": "string"
}
},
"required": [
"countryOfStudyCode",
"instituteNameCode",
"natureOfCourseCode",
"objectId",
"periodFrom",
"qualificationAttainedCode"
],
"type": "object"
},
"EducationRecord": {
"properties": {
"collegeName": {
"type": "string"
},
"countryOfStudyCode": {
"type": "string"
},
"educationFromDate": {
"type": "string"
},
"educationToDate": {
"type": "string"
},
"instituteNameCode": {
"type": "string"
},
"isCurrent": {
"type": "string"
},
"isHighest": {
"type": "string"
},
"natureOfCourseCode": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": [
"null",
"string"
]
},
"provOfStudyCode": {
"type": "string"
},
"qualificationAttainedCode": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"required": [
"countryOfStudyCode",
"instituteNameCode",
"natureOfCourseCode",
"periodFrom",
"qualificationAttainedCode"
],
"type": "object"
},
"EmploymentDetailsInterface": {
"description": "Common employment details interface for:\n- applicant current employment\n- applicant previous employment\n- non-applicant current employment\n- non-applicant previous employment",
"properties": {
"companyAddress": {
"type": "string"
},
"companyCountryCode": {
"type": "string"
},
"companyName": {
"type": "string"
},
"companyPaidUpCapitalCode": {
"type": "string"
},
"companyProvinceCode": {
"type": "string"
},
"companyStrengthCode": {
"type": "string"
},
"companyUEN": {
"type": "string"
},
"employmentTypeCode": {
"enum": [
"",
"CO",
"CS",
"EM",
"NE",
"PA",
"SB",
"SP"
],
"type": "string"
},
"incomeBasic": {
"type": "string"
},
"incomeGross": {
"type": "string"
},
"industryCode": {
"type": "string"
},
"jobTitle": {
"type": "string"
},
"objectId": {
"type": "string"
},
"occupationCode": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"responsibilities": {
"type": "string"
},
"turnoverAnnualInfo": {
"type": "boolean"
},
"turnoverAnnualOne": {
"type": "string"
},
"turnoverAnnualThree": {
"type": "string"
},
"turnoverAnnualTwo": {
"type": "string"
}
},
"required": [
"companyAddress",
"companyCountryCode",
"companyName",
"employmentTypeCode",
"incomeBasic",
"incomeGross",
"industryCode",
"jobTitle",
"objectId",
"occupationCode",
"periodFrom",
"responsibilities"
],
"type": "object"
},
"EmploymentRecord": {
"properties": {
"companyAddress": {
"type": "string"
},
"companyCountryCode": {
"type": "string"
},
"companyName": {
"type": "string"
},
"companyPaidUpCapitalCode": {
"type": "string"
},
"companyProvinceCode": {
"type": "string"
},
"companyStrengthCode": {
"type": "string"
},
"companyUEN": {
"type": "string"
},
"employmentTypeCode": {
"enum": [
"",
"CO",
"CS",
"EM",
"NE",
"PA",
"SB",
"SP"
],
"type": "string"
},
"incomeBasic": {
"type": "string"
},
"incomeGross": {
"type": "string"
},
"industryCode": {
"type": "string"
},
"isCurrent": {
"type": "string"
},
"jobTitle": {
"type": "string"
},
"occupationCode": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"refID": {
"type": "string"
},
"responsibilities": {
"type": "string"
},
"sIndexNo": {
"type": "string"
},
"turnoverAnnualInfo": {
"type": "string"
},
"turnoverAnnualOne": {
"type": "string"
},
"turnoverAnnualThree": {
"type": "string"
},
"turnoverAnnualTwo": {
"type": "string"
}
},
"required": [
"companyAddress",
"companyCountryCode",
"companyName",
"employmentTypeCode",
"incomeBasic",
"incomeGross",
"industryCode",
"jobTitle",
"occupationCode",
"periodFrom",
"responsibilities"
],
"type": "object"
},
"EnhancedNaturalPersonInterface": {
"properties": {
"countryOfBirth": {
"type": "string"
},
"currentWhereaboutCode": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"fullName": {
"type": "string"
},
"nationalityCode": {
"type": "string"
},
"noInfo": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"provinceOfBirth": {
"type": "string"
},
"raceCode": {
"type": "string"
}
},
"type": "object"
},
"FinalDeclarationDetails": {
"properties": {
"declarationBy": {
"type": "string"
},
"declarationOn": {
"type": "string"
},
"declarationTemplateList": {
"items": {
"properties": {
"declarationTemplateID": {
"type": "string"
},
"declarationTemplateStartDate": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"required": [
"sIndexNo"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"MembershipDetailsInterface": {
"properties": {
"countryOfMembershipCode": {
"type": "string"
},
"isCurrent": {
"type": "string"
},
"nameOfOrganization": {
"type": "string"
},
"objectId": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"position": {
"type": "string"
},
"provOfMembershipCode": {
"type": "string"
}
},
"required": [
"countryOfMembershipCode",
"nameOfOrganization",
"objectId",
"position"
],
"type": "object"
},
"MembershipRecord": {
"properties": {
"countryOfMembershipCode": {
"type": "string"
},
"isCurrent": {
"type": "string"
},
"nameOfOrganization": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"position": {
"type": "string"
},
"provOfMembershipCode": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"required": [
"countryOfMembershipCode",
"nameOfOrganization",
"position"
],
"type": "object"
},
"Omit<ConvictedType,\"objectId\">": {
"properties": {
"offenceCountryCode": {
"type": "string"
},
"offenceDetails": {
"type": "string"
}
},
"type": "object"
},
"Omit<PreviousNameType,\"objectId\">": {
"properties": {
"dateOfBirth": {
"type": "string"
},
"fullName": {
"type": "string"
},
"surname": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"OriginAddressDetailsForSubmission": {
"properties": {
"addressOfOrigin": {
"type": "string"
},
"countryOfOrigin": {
"type": "string"
},
"provinceOfOrigin": {
"type": "string"
},
"sameAsOverseasResidence": {
"$ref": "#/definitions/YesNoType"
}
},
"required": [
"sameAsOverseasResidence"
],
"type": "object"
},
"OtherIdentityDetailsRecord": {
"properties": {
"hasOtherIdentity": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"previousNameList": {
"items": {
"allOf": [
{
"$ref": "#/definitions/Omit<PreviousNameType,\"objectId\">"
},
{
"properties": {
"refID": {
"type": "string"
}
},
"required": [
"refID"
],
"type": "object"
}
]
},
"type": "array"
}
},
"type": "object"
},
"OverseasResidenceDetailsInterface": {
"properties": {
"objectId": {
"type": "string"
},
"residentCountryCode": {
"type": "string"
},
"residentPeriodFrom": {
"type": "string"
},
"residentPeriodTo": {
"type": "string"
},
"residentProvinceCode": {
"type": "string"
},
"residentPurposeOfStay": {
"type": "string"
}
},
"required": [
"residentCountryCode",
"residentPeriodFrom",
"residentPeriodTo",
"residentProvinceCode",
"residentPurposeOfStay"
],
"type": "object"
},
"PaymentCurrencyAmount": {
"properties": {
"currency": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"currency",
"value"
],
"type": "object"
},
"PaymentItem": {
"properties": {
"amount": {
"$ref": "#/definitions/PaymentCurrencyAmount"
},
"label": {
"type": "string"
},
"pending": {
"type": "boolean"
}
},
"required": [
"amount",
"label"
],
"type": "object"
},
"PreviousMarriageDetailsInterface": {
"properties": {
"FIN": {
"type": "string"
},
"UIN": {
"type": "string"
},
"alias": {
"type": "string"
},
"applicantType": {
"description": "Logic for how to assign the ApplicantType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nMAP:\n - If applying for self/self_family, logged in user is the MAP\n - Else, the first person added is the MAP\nAP:\n - Anyone added in Eligibility after MAP is *most likely* AP\nNAP:\n - If applicant is themselves, but not applying for themself, they should be NAP\nAOAP:\n - Not Required",
"enum": [
"AOAP",
"AP",
"MAP",
"NAP"
],
"type": "string"
},
"associatedeServicePersonId": {
"type": "string"
},
"childrenFromThisMarriage": {
"items": {
"type": "string"
},
"type": "array"
},
"contactDetails": {
"$ref": "#/definitions/default_9"
},
"countryOfBirth": {
"type": "string"
},
"countryOfMarriage": {
"type": "string"
},
"countryOfResidence": {
"type": "string"
},
"currentEmploymentList": {
"items": {
"$ref": "#/definitions/EmploymentDetailsInterface"
},
"type": "array"
},
"currentImmigrationStatus": {
"type": "string"
},
"currentMaritalStatus": {
"description": "List of marital types available for application\nFiltered out 'Customary', 'Unknown', 'Cohabited', and 'Common-law Spouse'",
"enum": [
"D",
"M",
"P",
"S",
"W"
],
"type": "string"
},
"currentMarriage": {
"$ref": "#/definitions/default_10"
},
"currentTravelDocsList": {
"items": {
"$ref": "#/definitions/TravelDocsInterface"
},
"type": "array"
},
"custodyList": {
"items": {
"$ref": "#/definitions/CustodyInterface"
},
"type": "array"
},
"dateOfBirth": {
"type": "string"
},
"dateOfDeath": {
"type": "string"
},
"dateOfDivorce": {
"type": "string"
},
"dateOfMarriage": {
"type": "string"
},
"dateOfSeparation": {
"type": "string"
},
"deathCertificateNo": {
"type": "string"
},
"deathDate": {
"type": "string"
},
"denomination": {
"type": "string"
},
"divorceCertificateNo": {
"type": "string"
},
"eServicePersonId": {
"type": "string"
},
"educationList": {
"items": {
"$ref": "#/definitions/EducationDetailsInterface"
},
"type": "array"
},
"ethnicName": {
"type": "string"
},
"foreignId": {
"type": "string"
},
"foreignIdDateOfIssue": {
"type": "string"
},
"foreignIdPlaceOfIssue": {
"type": "string"
},
"fullName": {
"type": "string"
},
"hasFormalEducation": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasNoInformation": {
"type": "boolean"
},
"hasNoSurname": {
"type": "boolean"
},
"hasPreviousImmigrationStatus": {
"type": "string"
},
"hasProfessionalOrTechnicalCertifications": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasResidedOverseas": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasValidSpouseId": {
"type": "boolean"
},
"hasValidSpousePassType": {
"type": "boolean"
},
"isAMemberOfPsacOtherOrgs": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isCurrentlyEmployed": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isLinkedProfile": {
"type": "boolean"
},
"malaysiaIdNo": {
"type": "string"
},
"marriageCertificateNo": {
"type": "string"
},
"membershipList": {
"items": {
"$ref": "#/definitions/MembershipDetailsInterface"
},
"type": "array"
},
"nationality": {
"type": "string"
},
"natureOfRelationship": {
"type": "string"
},
"numChildrenFromPreviousMarriage": {
"type": "string"
},
"objectId": {
"type": "string"
},
"otherReligion": {
"type": "string"
},
"pastTravelDocsList": {
"items": {
"$ref": "#/definitions/TravelDocsInterface"
},
"type": "array"
},
"previousEmploymentList": {
"items": {
"$ref": "#/definitions/EmploymentDetailsInterface"
},
"type": "array"
},
"previousFIN": {
"type": "string"
},
"previousImmigrationStatus": {
"type": "string"
},
"previousUIN": {
"type": "string"
},
"primaryRaceCode": {
"type": "string"
},
"provinceOfBirth": {
"type": "string"
},
"provinceOfMarriage": {
"type": "string"
},
"qualificationList": {
"items": {
"$ref": "#/definitions/QualificationDetailsInterface"
},
"type": "array"
},
"reasonForNoInfo": {
"type": "string"
},
"relationshipToApplicant": {
"type": "string"
},
"relationshipToSpouse": {
"type": "string"
},
"relationshipType": {
"enum": [
"BrotherInLaw",
"Child",
"Father",
"FatherInLaw",
"Mother",
"MotherInLaw",
"OtherChild",
"Sibling",
"SisterInLaw",
"Spouse",
"TheMinor",
"pdmmFather",
"pdmmMaternalGrandfather",
"pdmmMaternalGrandmother",
"pdmmMother",
"pdmmPaternalGrandfather",
"pdmmPaternalGrandmother",
"pdmmSibling",
"pdmmStudent"
],
"type": "string"
},
"religion": {
"type": "string"
},
"residencyList": {
"items": {
"$ref": "#/definitions/OverseasResidenceDetailsInterface"
},
"type": "array"
},
"residentialAddressDetails": {
"$ref": "#/definitions/default_5"
},
"secondaryRaceCode": {
"type": "string"
},
"sex": {
"type": "string"
},
"sponsorType": {
"description": "Logic for how to assign the SponsorType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nSPR:\n -\nWSPR:\n - Not Required\nNSPR:\n -\nOSPR:\n - Not Required",
"enum": [
"NSPR",
"OSPR",
"SPR",
"WSPR"
],
"type": "string"
},
"statusOfMarriage": {
"type": "string"
},
"surname": {
"items": {
"type": "string"
},
"type": "array"
},
"travelDocNo": {
"type": "string"
},
"whereabouts": {
"type": "string"
}
},
"required": [
"childrenFromThisMarriage",
"countryOfMarriage",
"custodyList",
"dateOfMarriage",
"marriageCertificateNo",
"objectId"
],
"type": "object"
},
"Product": {
"properties": {
"isCurrent": {
"type": "string"
},
"originalSchemeID": {
"type": "string"
},
"productApplicationID": {
"type": "string"
},
"productApplicationTypeCode": {
"type": "string"
},
"productTypeCode": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"type": "object"
},
"ProductType": {
"description": "List of product types available for application",
"enum": [
"",
"-",
"LTP",
"LTPR",
"PR",
"SG"
],
"type": "string"
},
"QualificationDetailsInterface": {
"properties": {
"address": {
"type": "string"
},
"certName": {
"type": "string"
},
"certTypeCode": {
"type": "string"
},
"countryOfQualificationCode": {
"type": "string"
},
"instituteName": {
"type": "string"
},
"objectId": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"provinceOfQualificationCode": {
"type": "string"
}
},
"required": [
"address",
"certTypeCode",
"countryOfQualificationCode",
"instituteName",
"objectId",
"periodFrom",
"periodTo"
],
"type": "object"
},
"QualificationRecord": {
"properties": {
"address": {
"type": "string"
},
"certName": {
"type": "string"
},
"certTypeCode": {
"type": "string"
},
"countryOfQualificationCode": {
"type": "string"
},
"instituteName": {
"type": "string"
},
"isCurrent": {
"type": "string"
},
"periodFrom": {
"type": "string"
},
"periodTo": {
"type": "string"
},
"provinceOfQualificationCode": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"required": [
"address",
"certTypeCode",
"countryOfQualificationCode",
"instituteName",
"periodFrom",
"periodTo"
],
"type": "object"
},
"Relationship": {
"properties": {
"eServicePersonID": {
"type": "string"
},
"fullName": {
"type": "string"
},
"paternalStatusCode": {
"type": "string"
},
"relationship": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"type": "object"
},
"ResidentialAddressDetailsForSubmission": {
"properties": {
"foreignAddressDetails": {
"$ref": "#/definitions/default_8"
},
"isResidingWithSponsor": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"localAddressDetails": {
"$ref": "#/definitions/default_7"
},
"notResidingReason": {
"type": "string"
},
"originAddressDetails": {
"$ref": "#/definitions/OriginAddressDetailsForSubmission"
}
},
"type": "object"
},
"SubmissionEServiceGroupApplicationPersonsType": {
"properties": {
"applicantType": {
"description": "Logic for how to assign the ApplicantType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nMAP:\n - If applying for self/self_family, logged in user is the MAP\n - Else, the first person added is the MAP\nAP:\n - Anyone added in Eligibility after MAP is *most likely* AP\nNAP:\n - If applicant is themselves, but not applying for themself, they should be NAP\nAOAP:\n - Not Required",
"enum": [
"AOAP",
"AP",
"MAP",
"NAP"
],
"type": "string"
},
"applicationIDs": {
"items": {
"type": "string"
},
"type": "array"
},
"eServicePersonID": {
"type": "string"
},
"personId": {
"type": "string"
},
"productData": {
"items": {
"properties": {
"productApplicationID": {
"type": "string"
},
"productTypeCode": {
"$ref": "#/definitions/ProductType"
}
},
"required": [
"productApplicationID",
"productTypeCode"
],
"type": "object"
},
"type": "array"
},
"sponsorType": {
"description": "Logic for how to assign the SponsorType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nSPR:\n -\nWSPR:\n - Not Required\nNSPR:\n -\nOSPR:\n - Not Required",
"enum": [
"NSPR",
"OSPR",
"SPR",
"WSPR"
],
"type": "string"
}
},
"required": [
"eServicePersonID",
"personId"
],
"type": "object"
},
"TransactionType": {
"enum": [
"-",
"family",
"renew_ltvp",
"self",
"self_family",
"sponsor"
],
"type": "string"
},
"TravelDocsInterface": {
"properties": {
"IsPrimaryTravelDocument": {
"type": "boolean"
},
"objectId": {
"type": "string"
},
"travelCountryOfIssue": {
"type": "string"
},
"travelDocNo": {
"type": "string"
},
"travelDocType": {
"type": "string"
},
"travelExpiryDate": {
"type": "string"
},
"travelIssueDate": {
"type": "string"
},
"travelNationality": {
"type": "string"
},
"travelProvince": {
"type": "string"
}
},
"required": [
"travelDocNo",
"travelDocType"
],
"type": "object"
},
"TravelDocument": {
"properties": {
"isCurrent": {
"type": "string"
},
"isPrimary": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"type": "object"
},
"YesNoType": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"default_1": {
"properties": {
"applicationType": {
"type": "string"
},
"eServiceGroupApplicationID": {
"type": "string"
},
"persons": {
"items": {
"$ref": "#/definitions/SubmissionEServiceGroupApplicationPersonsType"
},
"type": "array"
}
},
"required": [
"eServiceGroupApplicationID",
"persons"
],
"type": "object"
},
"default_10": {
"properties": {
"countryOfMarriage": {
"type": "string"
},
"dateOfDeath": {
"type": "string"
},
"dateOfDivorce": {
"type": "string"
},
"dateOfMarriage": {
"type": "string"
},
"dateOfSeparation": {
"type": "string"
},
"deathCertificateNo": {
"type": "string"
},
"divorceCertificateNo": {
"type": "string"
},
"maritalStatusAtTimeOfMarriage": {
"type": "string"
},
"marriageCertificateNo": {
"type": "string"
},
"objectId": {
"type": "string"
},
"provinceOfMarriage": {
"type": "string"
},
"spouseMaritalStatusAtTimeOfMarriage": {
"type": "string"
}
},
"required": [
"countryOfMarriage",
"dateOfMarriage",
"marriageCertificateNo",
"objectId"
],
"type": "object"
},
"default_11": {
"properties": {
"spokenLanguageList": {
"items": {
"type": "string"
},
"type": "array"
},
"writtenLanguageList": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"default_12": {
"properties": {
"commendation": {
"type": "string"
},
"conduct": {
"type": "string"
},
"dateOfORD": {
"type": "string"
},
"exemptReason": {
"type": "string"
},
"expectedDateOfORD": {
"type": "string"
},
"organisation": {
"type": "string"
},
"performance": {
"type": "string"
},
"rankAppointment": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
},
"default_13": {
"properties": {
"adoptionCertificateNumber": {
"type": "string"
},
"adoptionCountryCode": {
"type": "string"
},
"fullName": {
"type": "string"
},
"issueDate": {
"type": "string"
},
"nameOfAdoptiveFather": {
"type": "string"
},
"nameOfAdoptiveMother": {
"type": "string"
},
"naturalFatherDetails": {
"$ref": "#/definitions/EnhancedNaturalPersonInterface"
},
"naturalMotherDetails": {
"$ref": "#/definitions/EnhancedNaturalPersonInterface"
},
"refID": {
"type": "string"
}
},
"required": [
"adoptionCertificateNumber",
"adoptionCountryCode",
"fullName",
"issueDate",
"nameOfAdoptiveFather",
"nameOfAdoptiveMother",
"refID"
],
"type": "object"
},
"default_14": {
"properties": {
"LTVP": {
"type": "string"
},
"PR": {
"type": "string"
},
"SC": {
"type": "string"
},
"birthCtry": {
"type": "string"
},
"birthDt": {
"type": "string"
},
"blkNo": {
"type": "string"
},
"buildingName": {
"type": "string"
},
"currActivePass": {
"type": "string"
},
"currLtvpSponsorId": {
"type": "string"
},
"floorNo": {
"type": "string"
},
"foreignAddress": {
"type": "string"
},
"foreignAddressCtry": {
"type": "string"
},
"idNo": {
"type": "string"
},
"idType": {
"type": "string"
},
"ihlStudentIndicator": {
"type": "string"
},
"lifeStatus": {
"type": "string"
},
"ltvpExpiryDt": {
"type": "string"
},
"name": {
"type": "string"
},
"nationality": {
"type": "string"
},
"nricIssueDt": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"prGrantDt": {
"type": "string"
},
"race": {
"type": "string"
},
"repExpiryDt": {
"type": "string"
},
"residStatus": {
"type": "string"
},
"scRegDt": {
"type": "string"
},
"scType": {
"type": "string"
},
"sex": {
"type": "string"
},
"streetName": {
"type": "string"
},
"surname": {
"type": "string"
},
"trvDocNo": {
"type": "string"
},
"unitNo": {
"type": "string"
}
},
"type": "object"
},
"default_15": {
"properties": {
"childList": {
"items": {
"properties": {
"custodyTypeCode": {
"type": "string"
},
"eServicePersonID": {
"type": "string"
}
},
"required": [
"custodyTypeCode",
"eServicePersonID"
],
"type": "object"
},
"type": "array"
},
"dateOfDeath": {
"type": "string"
},
"deathCertNo": {
"type": "string"
},
"divorceCertNo": {
"type": "string"
},
"divorceDate": {
"type": "string"
},
"eServicePersonID": {
"type": "string"
},
"isCurrent": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"maritalStatusAtTimeOfMarriageCode": {
"type": "string"
},
"maritalStatusCode": {
"type": "string"
},
"marriageCertNo": {
"type": "string"
},
"marriageCountryCode": {
"type": "string"
},
"marriageDate": {
"type": "string"
},
"marriageProvCode": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
},
"spouseMaritalStatusAtTimeOfMarriageCode": {
"type": "string"
},
"spouseName": {
"type": "string"
}
},
"type": "object"
},
"default_16": {
"properties": {
"associatedeServicePersonID": {
"type": "string"
},
"declarationFlag": {
"type": "string"
},
"declarationRemarks": {
"type": "string"
},
"docID": {
"type": "string"
},
"docKey": {
"type": "string"
},
"eServiceDocTypeCode": {
"type": "string"
},
"files": {
"items": {
"properties": {
"documentType": {
"type": "string"
},
"file": {
"description": "Representation of a file in DRM",
"properties": {
"docId": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"pages": {
"type": "string"
},
"pendingUpload": {
"type": "boolean"
},
"sequence": {
"type": "number"
},
"size": {
"type": "string"
}
},
"required": [
"docId",
"fileId",
"name",
"pages",
"pendingUpload",
"sequence",
"size"
],
"type": "object"
},
"translatedFile": {
"description": "Representation of a file in DRM",
"properties": {
"docId": {
"type": "string"
},
"fileId": {
"type": "string"
},
"name": {
"type": "string"
},
"pages": {
"type": "string"
},
"pendingUpload": {
"type": "boolean"
},
"sequence": {
"type": "number"
},
"size": {
"type": "string"
}
},
"required": [
"docId",
"fileId",
"name",
"pages",
"pendingUpload",
"sequence",
"size"
],
"type": "object"
}
},
"required": [
"file"
],
"type": "object"
},
"type": "array"
},
"isTranslated": {
"type": "string"
},
"refGroup": {
"type": "string"
},
"refID": {
"type": "string"
},
"sIndexNo": {
"type": "string"
}
},
"required": [
"docID",
"docKey",
"eServiceDocTypeCode",
"files",
"isTranslated",
"refGroup"
],
"type": "object"
},
"default_2": {
"properties": {
"FIN": {
"type": "string"
},
"UIN": {
"type": "string"
},
"adoptionDetails": {
"$ref": "#/definitions/default_13"
},
"alias": {
"type": "string"
},
"applicantApplicationFee": {
"type": "string"
},
"applicantTypeCode": {
"type": "string"
},
"associatedeServicePersonId": {
"type": "string"
},
"birthCertNo": {
"type": "string"
},
"birthCountryCode": {
"type": "string"
},
"birthProvCode": {
"type": "string"
},
"childSCMinorFlag": {
"type": "string"
},
"cirisDetails": {
"$ref": "#/definitions/default_14"
},
"contactDetails": {
"$ref": "#/definitions/ContactDetails"
},
"currentImmigrationStatusCode": {
"type": "string"
},
"currentMaritalStatusCode": {
"type": "string"
},
"currentWhereaboutCode": {
"type": "string"
},
"dECardNo": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"dateOfDeath": {
"type": "string"
},
"deathCertNo": {
"type": "string"
},
"declaration": {
"$ref": "#/definitions/DeclarationRecord"
},
"denomination": {
"type": "string"
},
"dialectCode": {
"type": "string"
},
"documentList": {
"items": {
"$ref": "#/definitions/default_16"
},
"type": "array"
},
"eServicePersonID": {
"type": "string"
},
"eServicePersonRefNo": {
"type": "string"
},
"educationList": {
"items": {
"$ref": "#/definitions/EducationRecord"
},
"type": "array"
},
"employmentDetails": {
"properties": {
"detailsAchievement": {
"type": "string"
},
"employmentList": {
"items": {
"$ref": "#/definitions/EmploymentRecord"
},
"type": "array"
}
},
"required": [
"employmentList"
],
"type": "object"
},
"ethnicName": {
"type": "string"
},
"expectedDateOfDelivery": {
"type": "string"
},
"familyName": {
"type": "string"
},
"finalDeclarationDetails": {
"$ref": "#/definitions/FinalDeclarationDetails"
},
"foreignIDIssueDate": {
"type": "string"
},
"foreignIDIssuePlaceCode": {
"type": "string"
},
"foreignIDNo": {
"type": "string"
},
"fullName": {
"type": "string"
},
"ipsFullName": {
"type": "string"
},
"isFromCurrMarriage": {
"type": "string"
},
"isLinkedProfile": {
"type": "string"
},
"isLoggedInPersonSingPassHolder": {
"type": "string"
},
"isPregnant": {
"type": "string"
},
"languageDetails": {
"$ref": "#/definitions/default_11"
},
"ltvpLetterNo": {
"type": "string"
},
"malaysianIDNo": {
"type": "string"
},
"marriageList": {
"items": {
"$ref": "#/definitions/default_15"
},
"type": "array"
},
"membershipList": {
"items": {
"$ref": "#/definitions/MembershipRecord"
},
"type": "array"
},
"nationalServiceDetails": {
"$ref": "#/definitions/default_12"
},
"noInfo": {
"type": "string"
},
"nonApplicants": {
"items": {
"$ref": "#/definitions/default_3"
},
"type": "array"
},
"otherNationalityList": {
"items": {
"type": "string"
},
"type": "array"
},
"passExpiryDate": {
"type": "string"
},
"passIssueDate": {
"type": "string"
},
"personTypeCode": {
"type": "string"
},
"previousFIN": {
"type": "string"
},
"previousImmigrationStatusCode": {
"type": "string"
},
"previousUIN": {
"type": "string"
},
"primaryNationalityCode": {
"type": "string"
},
"primaryRaceCode": {
"type": "string"
},
"productList": {
"items": {
"$ref": "#/definitions/Product"
},
"type": "array"
},
"qualificationList": {
"items": {
"$ref": "#/definitions/QualificationRecord"
},
"type": "array"
},
"raceClassification": {
"type": "string"
},
"reasonForNoInfo": {
"type": "string"
},
"relationshipList": {
"items": {
"$ref": "#/definitions/Relationship"
},
"type": "array"
},
"relationshipToMainApplicantCode": {
"type": "string"
},
"relationshipToMainSponsorCode": {
"enum": [
"-",
"AC",
"AF",
"AM",
"CH",
"FA",
"MA",
"MO",
"OT",
"PR",
"SC",
"SF",
"SM",
"SO",
"SP"
],
"type": "string"
},
"relationshipType": {
"enum": [
"BrotherInLaw",
"Child",
"Father",
"FatherInLaw",
"Mother",
"MotherInLaw",
"OtherChild",
"Sibling",
"SisterInLaw",
"Spouse",
"TheMinor",
"pdmmFather",
"pdmmMaternalGrandfather",
"pdmmMaternalGrandmother",
"pdmmMother",
"pdmmPaternalGrandfather",
"pdmmPaternalGrandmother",
"pdmmSibling",
"pdmmStudent"
],
"type": "string"
},
"religionCode": {
"type": "string"
},
"religionOthers": {
"type": "string"
},
"residencyList": {
"items": {
"$ref": "#/definitions/OverseasResidenceDetailsInterface"
},
"type": "array"
},
"residentialAddressDetails": {
"$ref": "#/definitions/ResidentialAddressDetailsForSubmission"
},
"secondaryRaceCode": {
"type": "string"
},
"sexCode": {
"type": "string"
},
"sponsorTypeCode": {
"type": "string"
},
"travelDocumentList": {
"items": {
"$ref": "#/definitions/TravelDocument"
},
"type": "array"
},
"wishToApplyWp": {
"type": "string"
}
},
"required": [
"isLinkedProfile"
],
"type": "object"
},
"default_3": {
"properties": {
"FIN": {
"type": "string"
},
"UIN": {
"type": "string"
},
"alias": {
"type": "string"
},
"applicantType": {
"description": "Logic for how to assign the ApplicantType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nMAP:\n - If applying for self/self_family, logged in user is the MAP\n - Else, the first person added is the MAP\nAP:\n - Anyone added in Eligibility after MAP is *most likely* AP\nNAP:\n - If applicant is themselves, but not applying for themself, they should be NAP\nAOAP:\n - Not Required",
"enum": [
"AOAP",
"AP",
"MAP",
"NAP"
],
"type": "string"
},
"associatedeServicePersonId": {
"type": "string"
},
"childInLaw": {
"$ref": "#/definitions/default_4"
},
"contactDetails": {
"$ref": "#/definitions/default_9"
},
"countryOfBirth": {
"type": "string"
},
"countryOfResidence": {
"type": "string"
},
"currentEmploymentList": {
"items": {
"$ref": "#/definitions/EmploymentDetailsInterface"
},
"type": "array"
},
"currentImmigrationStatus": {
"type": "string"
},
"currentMaritalStatus": {
"description": "List of marital types available for application\nFiltered out 'Customary', 'Unknown', 'Cohabited', and 'Common-law Spouse'",
"enum": [
"D",
"M",
"P",
"S",
"W"
],
"type": "string"
},
"currentMarriage": {
"$ref": "#/definitions/default_10"
},
"currentTravelDocsList": {
"items": {
"$ref": "#/definitions/TravelDocsInterface"
},
"type": "array"
},
"custodyList": {
"items": {
"properties": {
"CustodyOfChild": {
"type": "string"
},
"PersonUniqueId": {
"type": "string"
}
},
"required": [
"CustodyOfChild",
"PersonUniqueId"
],
"type": "object"
},
"type": "array"
},
"dateOfBirth": {
"type": "string"
},
"dateOfDeath": {
"type": "string"
},
"deathCertificateNo": {
"type": "string"
},
"denomination": {
"type": "string"
},
"eServicePersonId": {
"type": "string"
},
"educationList": {
"items": {
"$ref": "#/definitions/EducationDetailsInterface"
},
"type": "array"
},
"ethnicName": {
"type": "string"
},
"foreignId": {
"type": "string"
},
"foreignIdDateOfIssue": {
"type": "string"
},
"foreignIdPlaceOfIssue": {
"type": "string"
},
"fullName": {
"type": "string"
},
"grandchildren": {
"properties": {
"FIN": {
"type": "string"
},
"UIN": {
"type": "string"
},
"countryOfBirth": {
"type": "string"
},
"currentImmigrationStatus": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"fullName": {
"type": "string"
},
"hasGrandchildren": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"nationality": {
"type": "string"
},
"provinceOfBirth": {
"type": "string"
},
"sex": {
"type": "string"
}
},
"type": "object"
},
"hasEmploymentHistory": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasFormalEducation": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasNoInformation": {
"type": "boolean"
},
"hasNoSurname": {
"type": "boolean"
},
"hasPreviousImmigrationStatus": {
"type": "string"
},
"hasProfessionalOrTechnicalCertifications": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasResidedOverseas": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasTravelDocuments": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasValidSpouseId": {
"type": "boolean"
},
"hasValidSpousePassType": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isAMemberOfPsacOtherOrgs": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isCurrentlyEmployed": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"isLinkedProfile": {
"type": "boolean"
},
"malaysiaIdNo": {
"type": "string"
},
"membershipList": {
"items": {
"$ref": "#/definitions/MembershipDetailsInterface"
},
"type": "array"
},
"nationality": {
"type": "string"
},
"natureOfRelationship": {
"type": "string"
},
"objectId": {
"type": "string"
},
"otherReligion": {
"type": "string"
},
"passDateOfExpiry": {
"type": "string"
},
"passDateOfIssue": {
"type": "string"
},
"pastTravelDocsList": {
"items": {
"$ref": "#/definitions/TravelDocsInterface"
},
"type": "array"
},
"previousEmploymentList": {
"items": {
"$ref": "#/definitions/EmploymentDetailsInterface"
},
"type": "array"
},
"previousFIN": {
"type": "string"
},
"previousImmigrationStatus": {
"type": "string"
},
"previousMarriage": {
"properties": {
"hasPreviousMarriage": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"previousMarriageList": {
"items": {
"$ref": "#/definitions/PreviousMarriageDetailsInterface"
},
"type": "array"
}
},
"type": "object"
},
"previousUIN": {
"type": "string"
},
"primaryRaceCode": {
"type": "string"
},
"provinceOfBirth": {
"type": "string"
},
"provinceOfResidence": {
"type": "string"
},
"qualificationList": {
"items": {
"$ref": "#/definitions/QualificationDetailsInterface"
},
"type": "array"
},
"reasonForNoInfo": {
"type": "string"
},
"relationshipToApplicant": {
"type": "string"
},
"relationshipToSpouse": {
"type": "string"
},
"relationshipType": {
"enum": [
"BrotherInLaw",
"Child",
"Father",
"FatherInLaw",
"Mother",
"MotherInLaw",
"OtherChild",
"Sibling",
"SisterInLaw",
"Spouse",
"TheMinor",
"pdmmFather",
"pdmmMaternalGrandfather",
"pdmmMaternalGrandmother",
"pdmmMother",
"pdmmPaternalGrandfather",
"pdmmPaternalGrandmother",
"pdmmSibling",
"pdmmStudent"
],
"type": "string"
},
"religion": {
"type": "string"
},
"residencyList": {
"items": {
"$ref": "#/definitions/OverseasResidenceDetailsInterface"
},
"type": "array"
},
"residentialAddressDetails": {
"$ref": "#/definitions/default_5"
},
"secondaryRaceCode": {
"type": "string"
},
"sex": {
"type": "string"
},
"sponsorType": {
"description": "Logic for how to assign the SponsorType in the transition\nfrom \"Check Eligibility\" to \"Fill in Particulars\":\nSPR:\n -\nWSPR:\n - Not Required\nNSPR:\n -\nOSPR:\n - Not Required",
"enum": [
"NSPR",
"OSPR",
"SPR",
"WSPR"
],
"type": "string"
},
"surname": {
"items": {
"type": "string"
},
"type": "array"
},
"wasPreviouslyEmployed": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"whereabouts": {
"type": "string"
}
},
"required": [
"objectId",
"previousMarriage"
],
"type": "object"
},
"default_4": {
"properties": {
"FIN": {
"type": "string"
},
"UIN": {
"type": "string"
},
"countryOfBirth": {
"type": "string"
},
"currentImmigrationStatus": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"employmentList": {
"items": {
"$ref": "#/definitions/EmploymentDetailsInterface"
},
"type": "array"
},
"fullName": {
"type": "string"
},
"hasCurrentEmployment": {
"$ref": "#/definitions/YesNoType"
},
"nationality": {
"type": "string"
},
"provinceOfBirth": {
"type": "string"
},
"sex": {
"type": "string"
}
},
"required": [
"countryOfBirth",
"currentImmigrationStatus",
"dateOfBirth",
"fullName",
"hasCurrentEmployment",
"nationality",
"sex"
],
"type": "object"
},
"default_5": {
"properties": {
"foreignAddressDetails": {
"$ref": "#/definitions/default_8"
},
"isResidingWithSponsor": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"localAddressDetails": {
"$ref": "#/definitions/default_7"
},
"notResidingReason": {
"type": "string"
},
"originAddressDetails": {
"$ref": "#/definitions/default_6"
}
},
"type": "object"
},
"default_6": {
"properties": {
"addressOfOrigin": {
"type": "string"
},
"countryOfOrigin": {
"type": "string"
},
"provinceOfOrigin": {
"type": "string"
},
"sameAsOverseasResidence": {
"type": "boolean"
}
},
"type": "object"
},
"default_7": {
"properties": {
"blockHouseNo": {
"type": "string"
},
"buildingName": {
"type": "string"
},
"countryOfResidence": {
"type": "string"
},
"floorNo": {
"type": "string"
},
"housingType": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"streetName": {
"type": "string"
},
"unitNo": {
"type": "string"
}
},
"type": "object"
},
"default_8": {
"properties": {
"addressOfResidence": {
"type": "string"
},
"countryOfResidence": {
"type": "string"
},
"hasLocalPlaceOfResidence": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"hasOverseasPlaceOfResidence": {
"enum": [
"",
"N",
"Y"
],
"type": "string"
},
"provinceOfResidence": {
"type": "string"
}
},
"type": "object"
},
"default_9": {
"properties": {
"email": {
"type": "string"
},
"homeNo": {
"type": "string"
},
"isSameAsSponsor": {
"type": "boolean"
},
"mobileNo": {
"type": "string"
},
"officeNo": {
"type": "string"
}
},
"type": "object"
}
},
"properties": {
"applicationDraftExpiry": {
"type": "string"
},
"applicationId": {
"type": "string"
},
"applicationStage": {
"$ref": "#/definitions/ApplicationStageType"
},
"checkedDeclaration": {
"type": "boolean"
},
"createdOn": {
"type": "string"
},
"eServiceGroupApplicationIDs": {
"items": {
"$ref": "#/definitions/default_1"
},
"type": "array"
},
"hasReviewedOnce": {
"type": "string"
},
"isApplicationFeeWaived": {
"type": "string"
},
"isIHLApplication": {
"type": "string"
},
"isSubmittedBySingPassHolder": {
"type": "string"
},
"paymentList": {
"items": {
"$ref": "#/definitions/PaymentItem"
},
"type": "array"
},
"personList": {
"items": {
"$ref": "#/definitions/default_2"
},
"type": "array"
},
"submittedBy": {
"type": "string"
},
"submittedOn": {
"type": "string"
},
"transactionType": {
"$ref": "#/definitions/TransactionType"
},
"whitelistRefID": {
"type": "string"
}
},
"required": [
"applicationDraftExpiry",
"applicationId",
"applicationStage",
"checkedDeclaration",
"createdOn",
"eServiceGroupApplicationIDs",
"hasReviewedOnce",
"isApplicationFeeWaived",
"isIHLApplication",
"isSubmittedBySingPassHolder",
"paymentList",
"personList",
"submittedBy",
"submittedOn",
"transactionType",
"whitelistRefID"
],
"type": "object"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment