You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have JSON schema validation in the JSON extension, whether it be from Ajv or from a different dependency (or a completely custom schema validation engine).
SharkPool that is not at all what is being discussed in the issue. They obviously know what json is. They're asking about ways to validate that a JSON is in the right format - as in - the keys and properties are of the expected types. They mentioned ajv as one library for doing this. That's the same library used in scratch-parser validation. They've done their research.
SharkPool that is not at all what is being discussed in the issue. They obviously know what json is. They're asking about ways to validate that a JSON is in the right format - as in - the keys and properties are of the expected types. They mentioned ajv as one library for doing this. That's the same library used in scratch-parser validation. They've done their research.
I assumed it was validating the structure format 🤷♂️
Activity
SharkPool-SP commentedon Jul 26, 2026
GarboMuffin commentedon Jul 27, 2026
SharkPool that is not at all what is being discussed in the issue. They obviously know what json is. They're asking about ways to validate that a JSON is in the right format - as in - the keys and properties are of the expected types. They mentioned ajv as one library for doing this. That's the same library used in scratch-parser validation. They've done their research.
SharkPool-SP commentedon Jul 27, 2026
I assumed it was validating the structure format 🤷♂️
My bad king
SharkPool-SP commentedon Aug 5, 2026
On second thought this would make sense as a separate extension, for general schema validation.
Could support strings as well