title: Is there a way to enforce a schema for a JSON field within a Postgresql record in Rails?
body: <p>I am dabbling with json fields in Postgres.  So I am using activerecord for most validation.  But, I'd like to add a json field and be able to validate that.  Is there a clean way to do this?  I guess I could always create my own validation function but it seems like there would be a better way that may take advantage of json schemas?  Has anyone had success with this?</p>