How to assert multiple arrays in the response using for loop?

I want below response needs to be verified

“requirements”: [
{
“requirementType”: “COVID_TEST”,
“status”: {
“code”: “NOT_PRESENT”,
“reason”: “”
},
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
},
“acceptedTests”: [
{
“testType”: “ANTIGEN”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
},
{
“testType”: “LAMP”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
},
{
“testType”: “NAAT”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
},
{
“testType”: “PCR”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
},
{
“testType”: “RT_PCR”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
},
{
“testType”: “TMA”,
“testMethod”: “”,
“acceptanceWindow”: {
“calculationFromType”: “TRIP_ORIGIN_DEPARTURE”,
“from”: “P1D”,
“to”: “”
}
}
],

Can someone please help.

Hello @LokeshReddy219, can please add some more information?

Thank you for responding @sahuvikramp . Shared content is the one of API response and how to assert the entire values ?