department-of-veterans-affairs/vets-website

View on GitHub
src/applications/accredited-representative-portal/mocks/mockPOARequestsResponse.json

Summary

Maintainability
Test Coverage
{
  "data": [
    {
      "id": 12345,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Declined",
        "declinedReason": "Refused to disclose health information",
        "powerOfAttorneyCode": "012",
        "submittedAt": "2024-04-10T04:51:12Z",
        "acceptedOrDeclinedAt": "2024-04-10T04:51:12Z",
        "isAddressChangingAuthorized": true,
        "isTreatmentDisclosureAuthorized": false,
        "representative": {
          "firstName": "John",
          "lastName": "Smith",
          "email": "john.smith@vsorg.org"
        },
        "claimant": {
          "firstName": "Morgan",
          "lastName": "Fox",
          "participantId": 23456,
          "relationshipToVeteran": "Child"
        },
        "claimantAddress": {
          "city": "Baltimore",
          "state": "MD",
          "zip": "21218",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    },
    {
      "id": 67890,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Pending",
        "powerOfAttorneyCode": "034",
        "submittedAt": "2024-03-29T15:20:00Z",
        "acceptedOrDeclinedAt": null,
        "isAddressChangingAuthorized": false,
        "isTreatmentDisclosureAuthorized": true,
        "representative": {
          "firstName": "Michael",
          "lastName": "Johnson",
          "email": "michael.johnson@vsorg.org"
        },
        "claimant": {
          "firstName": "Emily",
          "lastName": "Wells",
          "participantId": 56789,
          "relationshipToVeteran": "Parent"
        },
        "claimantAddress": {
          "city": "New York",
          "state": "NY",
          "zip": "10001",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    },
    {
      "id": 54321,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Accepted",
        "powerOfAttorneyCode": "056",
        "submittedAt": "2024-04-20T09:22:33Z",
        "acceptedOrDeclinedAt": null,
        "isAddressChangingAuthorized": true,
        "isTreatmentDisclosureAuthorized": false,
        "veteran": {
          "firstName": "Bob",
          "middleName": "G",
          "lastName": "Norris",
          "participantId": 800067890
        },
        "representative": {
          "firstName": "Christopher",
          "lastName": "Lee",
          "email": "christopher.lee@vsorg.org"
        },
        "claimant": {
          "firstName": "Gamma",
          "lastName": "Theta",
          "participantId": 34567,
          "relationshipToVeteran": "Child"
        },
        "claimantAddress": {
          "city": "San Francisco",
          "state": "CA",
          "zip": "94102",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    },
    {
      "id": 24680,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Accepted",
        "powerOfAttorneyCode": "077",
        "submittedAt": "2024-02-14T10:30:00Z",
        "acceptedOrDeclinedAt": "2024-02-15T14:45:22Z",
        "isAddressChangingAuthorized": false,
        "isTreatmentDisclosureAuthorized": false,
        "veteran": {
          "firstName": "Larry",
          "middleName": "David",
          "lastName": "Allen",
          "participantId": 900077600
        },
        "representative": {
          "firstName": "Alexander",
          "lastName": "Williams",
          "email": "alexander.williams@vsorg.org"
        },
        "claimant": {
          "firstName": "Jacob",
          "lastName": "Parker",
          "participantId": 45678,
          "relationshipToVeteran": "Brother"
        },
        "claimantAddress": {
          "city": "Chicago",
          "state": "IL",
          "zip": "60607",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    },
    {
      "id": 13579,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Pending",
        "powerOfAttorneyCode": "089",
        "submittedAt": "2024-05-01T12:15:47Z",
        "acceptedOrDeclinedAt": null,
        "isAddressChangingAuthorized": true,
        "isTreatmentDisclosureAuthorized": true,
        "veteran": {
          "firstName": "Suzanne",
          "middleName": "Jane",
          "lastName": "Baker",
          "participantId": 101112130
        },
        "representative": {
          "firstName": "Benjamin",
          "lastName": "Davis",
          "email": "benjamin.davis@vsorg.org"
        },
        "claimant": {
          "firstName": "Samantha",
          "lastName": "Jones",
          "participantId": 98765,
          "relationshipToVeteran": "Sister"
        },
        "claimantAddress": {
          "city": "Miami",
          "state": "FL",
          "zip": "33101",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    },
    {
      "id": 97531,
      "type": "powerOfAttorneyRequest",
      "attributes": {
        "status": "Pending",
        "powerOfAttorneyCode": "102",
        "submittedAt": "2024-03-20T08:00:00Z",
        "acceptedOrDeclinedAt": null,
        "isAddressChangingAuthorized": false,
        "isTreatmentDisclosureAuthorized": false,
        "veteran": {
          "firstName": "Michael",
          "middleName": "Karl",
          "lastName": "Sage",
          "participantId": 111213140
        },
        "representative": {
          "firstName": "Nicholas",
          "lastName": "Brown",
          "email": "nicholas.brown@vsorg.org"
        },
        "claimant": {
          "firstName": "Lucas",
          "lastName": "Brown",
          "participantId": 65432,
          "relationshipToVeteran": "Child"
        },
        "claimantAddress": {
          "city": "Los Angeles",
          "state": "CA",
          "zip": "90001",
          "country": "US",
          "militaryPostOffice": null,
          "militaryPostalCode": null
        }
      }
    }
  ],
  "meta": {
    "totalRecords": "6"
  }
}