@classmethod<EOL><INDENT>def get_schemas(cls, schema_types=None, sort=True):<DEDENT>
result = filter(lambda x: not x.is_inline_array, cls._schemas.values())<EOL>if schema_types:<EOL><INDENT>result = filter(lambda x: x.schema_type in schema_types, result)<EOL><DEDENT>if sort:<EOL><INDENT>result = sorted(result, key=attrgetter('<STR_LIT:name>'))<EOL><DEDENT>return result<EOL>
Get schemas by type. If ``schema_type`` is None, return all schemas

:param schema_types: list of schema types
:type schema_types: list or None
:param bool sort: sort by name
:return: list of schemas
:rtype: list