The JSONBuddy Toolbox Extension brings JSON Schema validation to Visual Studio. The built-in JSON validator is compliant with the 2020-12 schema specification.
- To set a JSON Schema reference, add a "JSON Schema" folder containing your schema file at the same level as the JSON instance documents in the Solution Explorer.
- Use the context menu of a .json file item and run the "Validate JSON" command to validate a JSON document.
- The JSONBuddy Toolbox Output window will show the validation results.
JSON input is validated using the JSON Schema compliant validator also available in JSONBuddy. Learn more at https://www.json-buddy.com