dchester / jsonpath

Query and manipulate JavaScript objects with JSONPath expressions. Robust JSONPath engine for Node.js.
MIT License
1.34k stars 216 forks source link

jp.value doesn't always work #174

Open AustinAmoruso opened 2 years ago

AustinAmoruso commented 2 years ago
const queryData = {
    getRoleCompetencyQuestions: {
        __typename: 'RoleCompetencyQuestionsResult',
        items: [
            {
                __typename: 'RoleCompetencyQuestion',
                competency: {
                    __typename: 'Competency',
                    description:
                        'Works well with others to accomplish team goals without ego.',
                    id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                    name: 'Collaborative',
                },
                questions: [
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: 'e6049f1e-1c92-4d23-a5ec-333d131883e2',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you were struggling with a relationship with a co-worker.',
                            id: '5357553e-86b1-408b-9dc7-ef75ef8c4221',
                        },
                        questionID: '5357553e-86b1-408b-9dc7-ef75ef8c4221',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: 'db481e88-39a1-4edc-b68a-7f1800c249ec',
                        question: {
                            __typename: 'Question',
                            description:
                                'What are some things you would do if you felt you needed to build trust with your co-workers?',
                            id: '450e93d5-a7cf-4564-92aa-09b80448d36b',
                        },
                        questionID: '450e93d5-a7cf-4564-92aa-09b80448d36b',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '548fa276-2a8e-429a-a260-6d8ca6eb879d',
                        question: {
                            __typename: 'Question',
                            description:
                                'What would you do if your manager made a decision that you believed was the wrong decision?',
                            id: '7427c128-a61f-441a-bf1d-273f36e8801f',
                        },
                        questionID: '7427c128-a61f-441a-bf1d-273f36e8801f',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '4384e83c-532f-4c75-974c-ab29a4fcc075',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you needed to engage with another department to learn more about the project or problem you were working on.',
                            id: '366898fa-06b4-400c-8d92-3fea7bdd94c8',
                        },
                        questionID: '366898fa-06b4-400c-8d92-3fea7bdd94c8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '61032d39-634b-4c47-a3e2-1718a123d1d0',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you couldn't accomplish a task on your own.",
                            id: '1a23b7a8-17b1-465d-b74f-3d1c80018260',
                        },
                        questionID: '1a23b7a8-17b1-465d-b74f-3d1c80018260',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '7d415e0d-d3ad-404f-8995-59f88c78b5d3',
                        question: {
                            __typename: 'Question',
                            description:
                                'What would you do if you had a disagreement with your direct manager about how to complete a project?',
                            id: '25bb8fd9-3e4a-405f-ad8c-459ebd612697',
                        },
                        questionID: '25bb8fd9-3e4a-405f-ad8c-459ebd612697',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '5e065f71-7709-4db7-9bba-9145d1370851',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time a colleague was struggling in an area that  impacted you. What if anything did you do to help?  ',
                            id: '80b764e0-1d36-48d1-bc14-3ac88509ee89',
                        },
                        questionID: '80b764e0-1d36-48d1-bc14-3ac88509ee89',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '2494c9d3-1e8d-4fad-8082-5ae0c5e0f62d',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you were working on something complicated and other stakeholders didn't understand the complexity.",
                            id: 'eecbf8fe-c315-4409-bbec-f0f0c05aa9ae',
                        },
                        questionID: 'eecbf8fe-c315-4409-bbec-f0f0c05aa9ae',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '3b79acbb-a263-4d08-b02a-a66d5bf4e606',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when you were asked to do a task or project that wasn't part of your job description.",
                            id: '81883828-8af1-491c-a788-982b5625b3ce',
                        },
                        questionID: '81883828-8af1-491c-a788-982b5625b3ce',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '8356a9e2-5a25-4032-a2b2-22e881210575',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me a specific time that you worked on a project that involved coordinating a group.',
                            id: 'a968623a-340a-4abe-bae9-060ba21c4fd7',
                        },
                        questionID: 'a968623a-340a-4abe-bae9-060ba21c4fd7',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: 'bf3f6068-883f-40e3-8a9c-b017c698e687',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when others on your team needed to be motivated or picked up.',
                            id: 'ad28e4e6-14d4-4d22-998b-b649a7ba2689',
                        },
                        questionID: 'ad28e4e6-14d4-4d22-998b-b649a7ba2689',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: '23fd12c1-ab40-4f01-b206-bab75cd40ea2',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had a high degree of frustration at work.',
                            id: '82d231ef-e1ed-43e0-befe-b304075aab87',
                        },
                        questionID: '82d231ef-e1ed-43e0-befe-b304075aab87',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                            name: 'Collaborative',
                        },
                        competencyID: '71514a4b-05b5-4f3a-81f4-75c4054eb6a6',
                        id: 'c4b3fb34-ae93-436f-8bfa-2660474f6746',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you were involved in a work-related conflict between other people.',
                            id: '88d795d0-980f-43c5-a00c-a8daba972ce3',
                        },
                        questionID: '88d795d0-980f-43c5-a00c-a8daba972ce3',
                    },
                ],
            },
            {
                __typename: 'RoleCompetencyQuestion',
                competency: {
                    __typename: 'Competency',
                    description:
                        'Puts great effort into making sure work and duties are done well.',
                    id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                    name: 'Conscientious',
                },
                questions: [
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '99901a64-5ca5-4a77-be5d-4f0a9c0cd888',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you worked on project where everything went wrong.',
                            id: '535268b8-b026-4450-88b3-12d9432d0544',
                        },
                        questionID: '535268b8-b026-4450-88b3-12d9432d0544',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '98d1240c-e21a-4669-a463-4eee3152cf92',
                        question: {
                            __typename: 'Question',
                            description:
                                'If you were given a project to lead, what is your process immediately after it is assigned?',
                            id: '0535a152-8265-430a-9839-ef007bde511d',
                        },
                        questionID: '0535a152-8265-430a-9839-ef007bde511d',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'ac22247b-7745-4edd-82d2-ee6ba9514de1',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you needed to make a major change because you weren't on track to accomplish a goal.",
                            id: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                        },
                        questionID: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '803ec511-6171-4870-b651-7750437de3fb',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you faced many obstacles to complete a project.',
                            id: '639bb986-4129-469a-821e-6772b430ae72',
                        },
                        questionID: '639bb986-4129-469a-821e-6772b430ae72',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '683411e1-0fd4-4a73-ba27-893ec0447810',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you had to restart a project after you'd already spent a significant amount of time on it.",
                            id: '68c6ce9d-8508-48c6-9241-7205ce418e44',
                        },
                        questionID: '68c6ce9d-8508-48c6-9241-7205ce418e44',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'c1215a9f-69ea-412d-be20-154a4bf4f0c4',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you couldn't accomplish a task on your own.",
                            id: '1a23b7a8-17b1-465d-b74f-3d1c80018260',
                        },
                        questionID: '1a23b7a8-17b1-465d-b74f-3d1c80018260',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'bb20af55-451b-402b-b907-8d4e33e7d4ad',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time that you were given a task or project that you did not know how to complete.',
                            id: '7604e99c-7939-401c-96ac-ae0408b4d5b2',
                        },
                        questionID: '7604e99c-7939-401c-96ac-ae0408b4d5b2',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'ea4ec0fd-d258-46b6-a71e-cc9d50933570',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when you were asked to do a task or project that wasn't part of your job description.",
                            id: '81883828-8af1-491c-a788-982b5625b3ce',
                        },
                        questionID: '81883828-8af1-491c-a788-982b5625b3ce',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '22d3f5d4-ff3b-4ed4-a064-368ebe5d5fa8',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you experienced failure.',
                            id: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                        },
                        questionID: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'f9fe1731-4934-4cf8-b6c8-02c090658563',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you worked on something that you didn't enjoy.",
                            id: 'e6966e6e-ca17-4e46-b72b-7ba1a994b8a5',
                        },
                        questionID: 'e6966e6e-ca17-4e46-b72b-7ba1a994b8a5',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'c82331ff-e4b5-47c3-88d7-8760a8afdb72',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you were not able to meet your commitments.',
                            id: 'ad5a65a2-74ee-4ead-bdbb-c73e757b4fcc',
                        },
                        questionID: 'ad5a65a2-74ee-4ead-bdbb-c73e757b4fcc',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: 'f7b9512c-cced-460b-acbe-3a57a83c9d96',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you had to start a project where you didn't know how it was going to end. How did you plan for it?",
                            id: 'be9d2ce6-f725-41e3-b77c-d20896bde6f0',
                        },
                        questionID: 'be9d2ce6-f725-41e3-b77c-d20896bde6f0',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '7a2390ae-931d-4968-b7cd-59ba05c4f9d2',
                        question: {
                            __typename: 'Question',
                            description:
                                "If you realize a deadline you've committed to is no longer attainable, what will you do?",
                            id: 'c9190397-6741-457f-8164-b349dd1d231e',
                        },
                        questionID: 'c9190397-6741-457f-8164-b349dd1d231e',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '5c62734e-9ab8-430d-bf16-3f4a6446cf08',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you had to re-prioritize your work at the last minute because of changes outside your control (e.g. a co-worker left their job).',
                            id: 'bf0ac5b5-bdb6-4b6c-ac11-7579cd640ff8',
                        },
                        questionID: 'bf0ac5b5-bdb6-4b6c-ac11-7579cd640ff8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                            name: 'Conscientious',
                        },
                        competencyID: 'abcae556-3ae1-4235-a4b5-d6c9fe8879ab',
                        id: '8a4df2c4-6be9-4893-a11d-2895fda9b2d4',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you've had an objective to meet and lacked the resources to accomplish it.",
                            id: '96da5243-505d-4e2f-8809-c21404e0b1db',
                        },
                        questionID: '96da5243-505d-4e2f-8809-c21404e0b1db',
                    },
                ],
            },
            {
                __typename: 'RoleCompetencyQuestion',
                competency: {
                    __typename: 'Competency',
                    description:
                        'Finds creative solutions to overcome difficult problems.',
                    id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                    name: 'Resourcefulness',
                },
                questions: [
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '8fc14565-c95e-4534-bf6c-2f882f2a5c04',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you needed to make a major change because you weren't on track to accomplish a goal.",
                            id: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                        },
                        questionID: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '8ff92a70-32ca-4bfc-893c-85d3e0459b33',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you worked on project where everything went wrong.',
                            id: '535268b8-b026-4450-88b3-12d9432d0544',
                        },
                        questionID: '535268b8-b026-4450-88b3-12d9432d0544',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'cdb334f4-ded4-47f5-ba17-a24f1fbe0caa',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you set a goal you didn't know if you'd be able to accomplish.",
                            id: '1d11752f-b1fb-4b98-bbc9-f7d19d27387f',
                        },
                        questionID: '1d11752f-b1fb-4b98-bbc9-f7d19d27387f',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '8789dbe7-42a8-40f1-96ce-08d9398380b3',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you worked on a project that went on for a long time.',
                            id: '0f7c5003-5455-446c-88eb-a64e1431415c',
                        },
                        questionID: '0f7c5003-5455-446c-88eb-a64e1431415c',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'f6270e82-71e5-44af-a2b3-23fa2f8b7f37',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you faced many obstacles to complete a project.',
                            id: '639bb986-4129-469a-821e-6772b430ae72',
                        },
                        questionID: '639bb986-4129-469a-821e-6772b430ae72',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'a4f565bc-8e0a-4a1e-9ab7-9e27f1fdcba2',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time that you were given a task or project that you did not know how to complete.',
                            id: '7604e99c-7939-401c-96ac-ae0408b4d5b2',
                        },
                        questionID: '7604e99c-7939-401c-96ac-ae0408b4d5b2',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '4e915b6f-bf53-4eaa-924a-d0883cb9a38c',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had to change an annual or quarterly plan or goals mid-period.',
                            id: '7518af1f-f7ee-4202-a1e0-01e0c2207878',
                        },
                        questionID: '7518af1f-f7ee-4202-a1e0-01e0c2207878',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '778f94e0-0003-4d1c-9039-c00f8b5670f8',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you were asked to work on a project and you realized you didn't have the skills or knowledge to complete the project.",
                            id: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                        },
                        questionID: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'aef6f0b3-0d3d-4395-82bb-612f68bf5372',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you had to re-prioritize your work at the last minute because of changes outside your control (e.g. a co-worker left their job).',
                            id: 'bf0ac5b5-bdb6-4b6c-ac11-7579cd640ff8',
                        },
                        questionID: 'bf0ac5b5-bdb6-4b6c-ac11-7579cd640ff8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '19f59424-0f7f-4363-93fd-4f51337c3f30',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you had to start a project where you didn't know how it was going to end. How did you plan for it?",
                            id: 'be9d2ce6-f725-41e3-b77c-d20896bde6f0',
                        },
                        questionID: 'be9d2ce6-f725-41e3-b77c-d20896bde6f0',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'b48401c0-9743-4f99-a9cf-5427287e93fa',
                        question: {
                            __typename: 'Question',
                            description:
                                "What would you do if you needed to complete a project and you didn't know all the steps needed to successfully do so?",
                            id: 'c1658f02-aca4-4c03-9991-5c28f836d9d3',
                        },
                        questionID: 'c1658f02-aca4-4c03-9991-5c28f836d9d3',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '4c841708-c800-468f-bfb0-d497be77977d',
                        question: {
                            __typename: 'Question',
                            description:
                                "If you realize a deadline you've committed to is no longer attainable, what will you do?",
                            id: 'c9190397-6741-457f-8164-b349dd1d231e',
                        },
                        questionID: 'c9190397-6741-457f-8164-b349dd1d231e',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '9d79e990-6d78-4e3b-b020-613412efbe20',
                        question: {
                            __typename: 'Question',
                            description:
                                'When working on a project lasting several months, how would you handle changes made to the project scope?',
                            id: 'f50ef5d2-3ec8-4fd4-ba26-8859e208edc8',
                        },
                        questionID: 'f50ef5d2-3ec8-4fd4-ba26-8859e208edc8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '3127062f-9e57-46cd-8a43-ad7a7895c652',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you've had an objective to meet and lacked the resources to accomplish it.",
                            id: '96da5243-505d-4e2f-8809-c21404e0b1db',
                        },
                        questionID: '96da5243-505d-4e2f-8809-c21404e0b1db',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: 'd2278069-95ed-4a47-a211-87a77744438c',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when your to-do list was incredibly long and you didn't know how you were going to get everything completed on time.",
                            id: 'd2e2211d-8beb-4f20-b802-044353337a2c',
                        },
                        questionID: 'd2e2211d-8beb-4f20-b802-044353337a2c',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                            name: 'Resourcefulness',
                        },
                        competencyID: 'd25aea33-3cf7-4792-a484-ed2e9f7ec70e',
                        id: '0164f612-74c2-40e6-802c-8d5cee1572c6',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when you were asked to do a task or project that wasn't part of your job description.",
                            id: '81883828-8af1-491c-a788-982b5625b3ce',
                        },
                        questionID: '81883828-8af1-491c-a788-982b5625b3ce',
                    },
                ],
            },
            {
                __typename: 'RoleCompetencyQuestion',
                competency: {
                    __typename: 'Competency',
                    description:
                        "Understands one's strengths and weaknesses and how one is viewed by others.",
                    id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                    name: 'Self-Awareness',
                },
                questions: [
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '6b06fb47-0c1f-4def-9d58-b7f8ccf41f5b',
                        question: {
                            __typename: 'Question',
                            description:
                                'Consider someone with whom you had frequent conflict at work. How would that person describe you?',
                            id: '754c9a94-9b3b-4cb7-998d-249eb6ef387f',
                        },
                        questionID: '754c9a94-9b3b-4cb7-998d-249eb6ef387f',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '4369b511-fbdd-442d-84ad-86b9fd4bd0fa',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you were not completely happy with your performance.',
                            id: '7222f729-d2d7-49b0-9942-fb42ddf68087',
                        },
                        questionID: '7222f729-d2d7-49b0-9942-fb42ddf68087',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '01ec3918-1216-4d37-a377-efad9ce30c0d',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time that learning something new affected your job.',
                            id: '3c4e8b1e-e320-4eed-9d3c-02275f5a15b1',
                        },
                        questionID: '3c4e8b1e-e320-4eed-9d3c-02275f5a15b1',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '6d34966c-2231-46af-bd13-87b5cf8185d6',
                        question: {
                            __typename: 'Question',
                            description:
                                'What would you do if you had a disagreement with your direct manager about how to complete a project?',
                            id: '25bb8fd9-3e4a-405f-ad8c-459ebd612697',
                        },
                        questionID: '25bb8fd9-3e4a-405f-ad8c-459ebd612697',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: 'd6ca64e1-f4d6-4672-8518-50f1db39e745',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had a poor professional relationship.',
                            id: '4009fe61-c54f-4eae-b6e3-a1b0ace26d4a',
                        },
                        questionID: '4009fe61-c54f-4eae-b6e3-a1b0ace26d4a',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: 'b8c7b961-d6e0-40cf-850a-7ac02a0f9576',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you were asked to work on a project and you realized you didn't have the skills or knowledge to complete the project.",
                            id: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                        },
                        questionID: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '9ef54c89-2942-4ced-97a2-4160b1fbe775',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had a manager or boss who wanted you to improve an aspect of your job.',
                            id: '4434fd81-7a80-42d9-9991-927caf9f3e85',
                        },
                        questionID: '4434fd81-7a80-42d9-9991-927caf9f3e85',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: 'fdf0ac52-e639-4bb6-b680-cac99839690a',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you were not able to meet your commitments.',
                            id: 'ad5a65a2-74ee-4ead-bdbb-c73e757b4fcc',
                        },
                        questionID: 'ad5a65a2-74ee-4ead-bdbb-c73e757b4fcc',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: 'c916fd2d-f904-4e6f-9210-3eb7eddc9bf7',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you experienced failure.',
                            id: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                        },
                        questionID: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '5c906dc9-10ac-46c6-9406-2c40cdf5c83f',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when you had a new idea but others didn't think it was a good idea.",
                            id: 'b9c754f6-df10-42c7-aafb-b484cc2179e1',
                        },
                        questionID: 'b9c754f6-df10-42c7-aafb-b484cc2179e1',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '40ae8bb6-fe4b-42ec-8c76-c7ab9ee9459b',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you received negative feedback about yourself.',
                            id: 'ef97841a-b9a2-4df7-94ea-c9c9ac9b13c8',
                        },
                        questionID: 'ef97841a-b9a2-4df7-94ea-c9c9ac9b13c8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '8bf8d86e-6357-424a-80c7-6e65b0947efd',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you realized you needed to change your communication or behavior with someone.',
                            id: 'bb8f758c-56ba-4f1d-869e-033b5c02fd41',
                        },
                        questionID: 'bb8f758c-56ba-4f1d-869e-033b5c02fd41',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '73234963-71fa-4dd9-9423-d45f3e724733',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you had a disagreement with a peer at work.',
                            id: 'e19f9c78-a9e9-4a83-847d-4082db19c824',
                        },
                        questionID: 'e19f9c78-a9e9-4a83-847d-4082db19c824',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: 'a6a54291-af88-42b0-b78e-9fcce9c831c7',
                        question: {
                            __typename: 'Question',
                            description:
                                'What work-related skill would you like to improve?',
                            id: 'f38b0894-62fe-441b-9dd0-cd306422f8d6',
                        },
                        questionID: 'f38b0894-62fe-441b-9dd0-cd306422f8d6',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '9aa47e75-8a04-42c9-a3c1-6d625fab0ab6',
                        question: {
                            __typename: 'Question',
                            description:
                                'What would be the biggest challenges for you starting a new job?',
                            id: 'db6f5044-ce61-4eb6-9aac-66273ee3fe39',
                        },
                        questionID: 'db6f5044-ce61-4eb6-9aac-66273ee3fe39',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '539f4a8b-51ad-40ca-b056-4492998736eb',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you made a decision that in hindsight would have been different.',
                            id: 'afc08dc8-fa94-4484-b596-6be7eb3f07b9',
                        },
                        questionID: 'afc08dc8-fa94-4484-b596-6be7eb3f07b9',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '7b6f3c41-6e4e-4568-a991-0cdea43ea18c',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you needed to be sensitive to another person in the workplace.',
                            id: '981a10fc-2c2b-44a4-aeec-511bc10344fb',
                        },
                        questionID: '981a10fc-2c2b-44a4-aeec-511bc10344fb',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                            name: 'Self-Awareness',
                        },
                        competencyID: 'd9c9bea8-d214-4c44-ac06-ee9a8a70d271',
                        id: '38a7a815-e839-47ba-9e0b-badfaa24bd83',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when you recognized you made a mistake that nobody else noticed.',
                            id: 'e76a4a71-c029-48f9-a68c-2362efec7c87',
                        },
                        questionID: 'e76a4a71-c029-48f9-a68c-2362efec7c87',
                    },
                ],
            },
            {
                __typename: 'RoleCompetencyQuestion',
                competency: {
                    __typename: 'Competency',
                    description:
                        'Works to solve difficult problems that others may see as too difficult or impossible.',
                    id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                    name: 'Taking Ownership',
                },
                questions: [
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '5098e97b-7c71-4089-aea4-1617e47bd6e7',
                        question: {
                            __typename: 'Question',
                            description:
                                'How would you set goals and objectives in this role?',
                            id: 'cded27fb-15fa-4436-bf97-58dc458e82f8',
                        },
                        questionID: 'cded27fb-15fa-4436-bf97-58dc458e82f8',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '5f11365b-f809-4853-aff6-ddb1d8ab6d55',
                        question: {
                            __typename: 'Question',
                            description:
                                'If you are asked to do many things at once, how will you decide which is most important?',
                            id: '52db9a73-749b-470f-9b3c-06bfa9150384',
                        },
                        questionID: '52db9a73-749b-470f-9b3c-06bfa9150384',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '81b4b728-9f61-4a01-9940-dad42fbe607d',
                        question: {
                            __typename: 'Question',
                            description:
                                'If you were given a project to lead, what is your process immediately after it is assigned?',
                            id: '0535a152-8265-430a-9839-ef007bde511d',
                        },
                        questionID: '0535a152-8265-430a-9839-ef007bde511d',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'a3a7521d-c071-41b6-a704-4a88c3da42b3',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time at work when there were changes you had no control over.',
                            id: '7f0dbc73-d68b-4dec-9b72-828c28353df0',
                        },
                        questionID: '7f0dbc73-d68b-4dec-9b72-828c28353df0',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'f2ef70d5-acc1-4c48-960b-96069720895d',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time something you were working on something that didn't go to plan, and what happened after.",
                            id: '4e280f96-4d5d-4ff0-959a-c48bf233765c',
                        },
                        questionID: '4e280f96-4d5d-4ff0-959a-c48bf233765c',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'bff10db9-e079-4962-bd26-343500787c2b',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time that you set a goal for yourself that you failed to achieve.',
                            id: '9bcd01fc-e1b8-482c-8bc9-270d6de57d96',
                        },
                        questionID: '9bcd01fc-e1b8-482c-8bc9-270d6de57d96',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '5d0bd67a-eb51-4da2-85ee-a23f2dcbbaed',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time when others on your team needed to be motivated or picked up.',
                            id: 'ad28e4e6-14d4-4d22-998b-b649a7ba2689',
                        },
                        questionID: 'ad28e4e6-14d4-4d22-998b-b649a7ba2689',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '90c40876-1049-4c47-851e-16aed7aef059',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time when your to-do list was incredibly long and you didn't know how you were going to get everything completed on time.",
                            id: 'd2e2211d-8beb-4f20-b802-044353337a2c',
                        },
                        questionID: 'd2e2211d-8beb-4f20-b802-044353337a2c',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '6ada99fc-ea96-4948-8faa-e082abe88f65',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you experienced failure.',
                            id: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                        },
                        questionID: '9e94bed4-fe2b-4809-a96d-bea5d2194248',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '68c25e68-97bb-4579-a67a-9d71c89989be',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had a lot of work to complete and you had to deal with many distractions.',
                            id: 'b0cceb3b-7639-4091-9f1e-31e8eb810a58',
                        },
                        questionID: 'b0cceb3b-7639-4091-9f1e-31e8eb810a58',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'eccab5b2-5def-4e2c-a871-7161efa72f0f',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had a manager or boss who wanted you to improve an aspect of your job.',
                            id: '4434fd81-7a80-42d9-9991-927caf9f3e85',
                        },
                        questionID: '4434fd81-7a80-42d9-9991-927caf9f3e85',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'd0119057-d3c0-4c91-9010-70f4988c4c27',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you had to change an annual or quarterly plan or goals mid-period.',
                            id: '7518af1f-f7ee-4202-a1e0-01e0c2207878',
                        },
                        questionID: '7518af1f-f7ee-4202-a1e0-01e0c2207878',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'affda56f-5d33-4d7a-9f9d-6f45e29c003b',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you had to restart a project after you'd already spent a significant amount of time on it.",
                            id: '68c6ce9d-8508-48c6-9241-7205ce418e44',
                        },
                        questionID: '68c6ce9d-8508-48c6-9241-7205ce418e44',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: 'e6c64d68-0472-4c55-a4f6-1e4b435d3c79',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you needed to make a major change because you weren't on track to accomplish a goal.",
                            id: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                        },
                        questionID: '4d3684e3-9376-41c0-b52b-dd0a8d298c5a',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '77ec914e-cfbd-40c9-a087-56b6e32e2edb',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you were asked to work on a project and you realized you didn't have the skills or knowledge to complete the project.",
                            id: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                        },
                        questionID: '15af4da0-6e38-4a42-aac1-f9535e6643e4',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '65bb568b-44c4-42b3-8669-71f185969e88',
                        question: {
                            __typename: 'Question',
                            description:
                                'Tell me about a specific time you worked on project where everything went wrong.',
                            id: '535268b8-b026-4450-88b3-12d9432d0544',
                        },
                        questionID: '535268b8-b026-4450-88b3-12d9432d0544',
                    },
                    {
                        __typename: 'CompetencyQuestion',
                        competency: {
                            __typename: 'Competency',
                            id: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                            name: 'Taking Ownership',
                        },
                        competencyID: '180cb293-14ba-45b1-a205-61c6dc4f314d',
                        id: '3a24ff18-0b58-43f8-a1cf-e6951de549bb',
                        question: {
                            __typename: 'Question',
                            description:
                                "Tell me about a specific time you've had an objective to meet and lacked the resources to accomplish it.",
                            id: '96da5243-505d-4e2f-8809-c21404e0b1db',
                        },
                        questionID: '96da5243-505d-4e2f-8809-c21404e0b1db',
                    },
                ],
            },
        ],
    },
};

const competencyQuestionID = '8bf8d86e-6357-424a-80c7-6e65b0947efd';
const competencyQuestionID2 = 'e6049f1e-1c92-4d23-a5ec-333d131883e2';

const a = jp.value(
    queryData,
    `$..questions[?(@.id=="${competencyQuestionID}")]`
);
console.log({ a }); // Returns Undefined

const b = jp.value(
    queryData,
    `$..questions[?(@.id=="${competencyQuestionID2}")]`
);
console.log({ b }); // Return Value

const c = jp.query(
    queryData,
    `$..questions[?(@.id=="${competencyQuestionID}")]`,
    1
);
console.log({ c }); // Returns Undefined

const d = jp.query(
    queryData,
    `$..questions[?(@.id=="${competencyQuestionID}")]`
);
console.log({ d }); // Return Value

I'm going to guess that value/query with count stops before the filter and then doesn't continue searching.