2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-10 13:11:50 +00:00

feat: add json schema url to dumped materials

This commit is contained in:
Jan Laupetin
2025-07-06 16:52:37 +02:00
parent 238ac293ab
commit c53b17a3db
6 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace
CreateJsonMaterial(jsonMaterial, material);
json jRoot = jsonMaterial;
jRoot["$schema"] = "https://openassettools.dev/schema/material.v1.json";
jRoot["_type"] = "material";
jRoot["_version"] = 1;
jRoot["_game"] = GAME_LOWER;