checkSkip
Checks if the schema should be skipped based on cycles or depth.
Return
skip reason if schema should be skipped, null otherwise
Parameters
schema
the schema to check
Checks if the schema should be skipped based on cycles or depth.
skip reason if schema should be skipped, null otherwise
the schema to check