Validate json indentation number

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

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?