Add schema validator, make schemas root relative.
diff --git a/json-schema.h b/json-schema.h
new file mode 100644
index 0000000..997736d
--- /dev/null
+++ b/json-schema.h
@@ -0,0 +1,11 @@
+#ifndef JSON_SCHEMA_H
+#define JSON_SCHEMA_H
+
+#include "json.h"
+
+#define JSON_SCHEMA_VERSION "https://json-schema.org/draft/2020-12/schema"
+
+int validate_schema(json_object* schema, char* schema_directory, json_object* object, char* error_message);
+int validate_schema_from_file(const char* schema_file, json_object* object, char* error_message);
+
+#endif
\ No newline at end of file