Finds all references inside the given schema.
The JsonSchema to find the references in
The initial result map, default: empty map (this parameter is used for recursion inside the function)
Whether arrays of tuples should be considered; default: false
Finds all references inside the given schema.