Validating json with numeric keys in postman

Hello people.
My api returns the following json:

{
    "code": 200,
    "status": "success",
    "data": {
        "threatChanges": {
            "229": {
                "1395": {
                    "id": 1395,
                    "value": "-6.50",
                    "color": "",
                    "result": "-6.50",
                    "levelId": "",
                    "dimensionType": 1
                }
            }
        }
    }
}

It has numbers in the json levels, but when trying to validate it in postman it does not recognize them.

This is the test:

pm.test("Validación", function () {
    pm.expect(jsonData.data.threatChanges.229.1395.id).to.eql(1395);
});

Postman detects me as an error:

image

How can I perform this validation?

Thanks for your post, and sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

Since the post is a bit older, we’re closing it to make room for newer discussions.

You would have needed to use bracket notation, to access those keys in the response
pm.expect(jsonData.data.threatChanges["229"]["1395"].id).to.eql(1395);