A small schema for validating an already-parsed value's shape - deliberately not a full
JSON Schema implementation, only what SaveSystem/NewsClient-shaped data actually needs:
primitives, arrays, and objects, with __proto__/constructor/prototype keys always
rejected regardless of what a schema itself asks for, since no legitimate save or feed
payload ever needs to set one and a parsed JSON object having one is exactly the
prototype-pollution shape this exists to catch.
A small schema for validating an already-parsed value's shape - deliberately not a full JSON Schema implementation, only what
SaveSystem/NewsClient-shaped data actually needs: primitives, arrays, and objects, with__proto__/constructor/prototypekeys always rejected regardless of what a schema itself asks for, since no legitimate save or feed payload ever needs to set one and a parsed JSON object having one is exactly the prototype-pollution shape this exists to catch.