Validate gameplay metadata before publishing build generations

This commit is contained in:
Emil
2026-09-18 05:21:31 +03:00
parent afd773fffb
commit 7481a2e029
8 changed files with 255 additions and 21 deletions
+3
View File
@@ -56,5 +56,8 @@ template <class T> class TypeRegistration {
Json schema_;
};
SchemaRegistry builtin_schemas();
// Validate a gameplay schema array/types manifest, reserving native TypeIds and
// rejecting repeated gameplay TypeIds. The result includes built-in schemas.
SchemaRegistry gameplay_schemas(const Json& manifest);
void validate_field(const Json& value, const Json& descriptor);
} // namespace faset::authoring