fix(schema): correct schema-version detection and glob version-independent subtrees