This is script for Godot Engine, that validate JSON files by JSON Schema.
Create new JSONSchema object in your script (this script automatically register class in Godot ClassDB). Call its function validate(json_data, json_schema) where json_data - is your data in string format; json_schema - is your json_schema in string format.
More about schemas and validation here: https://json-schema.org