Can you validate if this json is correctly formated?
{
"items":[
{
"PersonId": 300100215315227,
"PersonNumber": "960000000000900",
"CorrespondenceLanguage": null,
"BloodType": null,
"DateOfBirth": null,
"DateOfDeath": null,
"CountryOfBirth": null,
"RegionOfBirth": null,
"TownOfBirth": null,
"ApplicantNumber": null,
"CreatedBy": "VMOSS",
"CreationDate": "2019-04-23T10:25:40+00:00",
"LastUpdatedBy": "VMOSS",
"LastUpdateDate": "2019-04-23T10:25:44.457+00:00",
"workRelationships": {
"items": [
{
"PeriodOfServiceId": 300100215315230,
"LegislationCode": "US",
"LegalEntityId": 100000011593283,
"LegalEmployerName": null,
"WorkerType": "E",
"PrimaryFlag": true,
"StartDate": "2018-01-01",
"LegalEmployerSeniorityDate": null,
"EnterpriseSeniorityDate": null,
"OnMilitaryServiceFlag": false,
"WorkerNumber": null,
"ReadyToConvertFlag": null,
"TerminationDate": null,
"NotificationDate": null,
"LastWorkingDate": null,
"RevokeUserAccess": null,
"RecommendedForRehire": "ORA_NS",
"RecommendationReason": null,
"RecommendationAuthorizedByPersonId": null,
"CreatedBy": "VMOSS",
"CreationDate": "2019-04-23T10:25:40.075+00:00",
"LastUpdatedBy": "VMOSS",
"LastUpdateDate": "2019-04-23T10:25:45.295+00:00",
"assignments": {
"items": [
{
"AssignmentId": 300100215315237,
"AssignmentNumber": "E960000000000900",
"AssignmentName": "E960000000000900",
"ActionCode": "HIRE",
"ReasonCode": null,
"EffectiveStartDate": "2018-01-01",
"EffectiveEndDate": "4712-12-31",
"EffectiveSequence": 1,
"EffectiveLatestChange": "Y",
"BusinessUnitId": 100010025072009,
"BusinessUnitName": "GBI HCM-Financials USA BU",
"AssignmentType": "E",
"AssignmentStatusTypeId": 100010026278977,
"AssignmentStatusTypeCode": "ACTIVE_PROCESS",
"AssignmentStatusType": "ACTIVE",
"SystemPersonType": "EMP",
"UserPersonTypeId": 100010025072012,
"UserPersonType": "Employee",
"ProposedUserPersonTypeId": null,
"ProposedUserPersonType": null,
"ProjectedStartDate": null,
"ProjectedEndDate": null,
"PrimaryFlag": true,
"PrimaryAssignmentFlag": true,
"PositionId": null,
"PositionCode": null,
"SynchronizeFromPositionFlag": false,
"JobId": null,
"JobCode": null,
"GradeId": null,
"GradeCode": null,
"GradeLadderId": null,
"GradeLadderName": null,
"GradeStepEligibilityFlag": true,
"GradeCeilingStepId": null,
"GradeCeilingStep": null,
"DepartmentId": null,
"DepartmentName": null,
"ReportingEstablishmentId": null,
"ReportingEstablishmentName": null,
"LocationId": null,
"LocationCode": null,
"WorkAtHomeFlag": false,
"AssignmentCategory": null,
"WorkerCategory": null,
"PermanentTemporary": null,
"FullPartTime": null,
"ManagerFlag": false,
"HourlySalariedCode": null,
"NormalHours": null,
"Frequency": null,
"StartTime": null,
"EndTime": null,
"SeniorityBasis": "ORA_PER_SNDT_DAYS",
"ProbationPeriod": null,
"ProbationPeriodUnit": null,
"ProbationEndDate": null,
"NoticePeriod": null,
"NoticePeriodUOM": null,
"WorkTaxAddressId": null,
"ExpenseCheckSendToAddress": null,
"RetirementAge": null,
"RetirementDate": null,
"LabourUnionMemberFlag": null,
"UnionId": null,
"UnionName": null,
"BargainingUnitCode": null,
"CollectiveAgreementId": null,
"CollectiveAgreementName": null,
"InternalBuilding": null,
"InternalFloor": null,
"InternalOfficeNumber": null,
"InternalMailstop": null,
"DefaultExpenseAccount": null,
"PeopleGroup": null,
"CreatedBy": "VMOSS",
"CreationDate": "2019-04-23T10:25:40.216+00:00",
"LastUpdatedBy": "VMOSS",
"LastUpdateDate": "2019-04-23T10:25:45.812+00:00",
"links": []
}
]
}
}
]
},
"names": {
"items": [
{
"PersonNameId": 300100215315228,
"EffectiveStartDate": "2018-01-01",
"EffectiveEndDate": "4712-12-31",
"LegislationCode": "US",
"LastName": "Doe",
"FirstName": "John",
"PreNameAdjunct": null,
"Suffix": null,
"MiddleNames": null,
"DisplayName": "John Doe",
"OrderName": "John Doe",
"ListName": "John Doe",
"FullName": "John Doe",
"NameLanguage": "US",
"CreatedBy": "VMOSS",
"CreationDate": "2019-04-23T10:25:40.022+00:00",
"LastUpdatedBy": "VMOSS",
"LastUpdateDate": "2019-04-23T10:25:44.464+00:00",
"LocalPersonNameId": 300100215315229,
"LocalEffectiveStartDate": "2018-01-01",
"LocalEffectiveEndDate": "4712-12-31",
"LocalLegislationCode": "US",
"LocalLastName": "Doe",
"LocalFirstName": null,
"LocalPreNameAdjunct": null,
"LocalSuffix": null,
"LocalMiddleNames": null,
"LocalDisplayName": "John Doe",
"LocalOrderName": "John Doe",
"LocalListName": "John Doe",
"LocalFullName": "John Doe",
"LocalNameLanguage": "US",
"LocalCreatedBy": "VMOSS",
"LocalCreationDate": "2019-04-23T10:25:40.022+00:00",
"LocalLastUpdatedBy": "VMOSS",
"LocalLastUpdateDate": "2019-04-23T10:25:44.465+00:00",
"links": []
}
]
}
}
]
}```
If it’s correct then your path should be a little different, assuming that your root path is $.items[*]
PersonNumber = PersonNumber
PersonId = PersonId
PeriodOfServiceId = workRelationships.items.[*].PeriodOfServiceId
DisplayName = names.items.[*].DisplayName