As stated here - Storing Custom Entities - v3.3.x | Kong Docs
For field attribute - “reference” docs mentions “if a schema B has a foreign key pointing to schema A, then A needs to be loaded before B.”
How do I make sure schema A is loaded before schema B ?