Title: pg_jsonschema is a solution we&#x27;re exploring to allow enforcing more structure on json and jsonb typed postgres columns.<p>We initially wrote the extension as an excuse to play with pgx, the rust framework for writing postgres extensions. That let us lean on existing rust libs for validation (jsonschema), so the extension&#x27;s implementation is only 10 lines of code :)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;supabase&#x2F;pg_jsonschema&#x2F;blob&#x2F;fb7ab09bf6050130e8d656f2999ec0f6a3fedc0d&#x2F;src&#x2F;lib.rs#L1-L13" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;supabase&#x2F;pg_jsonschema&#x2F;blob&#x2F;fb7ab09bf6050...</a><p>happy to answer any questions!
Upvote: