Getting error message when comparing 2 exact API requests

i want to compare 2 API requests on postman. Both APIs give same request and the same schema is added in both APIs:

schema = {
        "properties": {
            "errors": {
                "type": "boolean"
            "data": {
                "type": "object",
                "properties": {
                        "type": "array",
                                  "items" : [
                                       {"type": "object",
                                                 "id": {"type":"number"},}}]}}}}}

I added in request A :
pm.globals.set("Storeschema", pm.response.json());
and in request B, i added the following script:

pm.test("compare responses", () =>

i got the following error message :confused:

compare responses | AssertionError: expected { Object (errors, data) } to equal { Object (data, errors) }