(#22110) set version=0 in catalog constructor so it's always an integer (not nil)
(#22110) validate some simple catalogs against json schema
(#22110) add initial catalog documentation
(maint) temporarily restore json-schema to Gemfile
(maint) fix typo in comment and clean whitespace