 
       # jayschema
       jay = new JaySchema
-      jay.register(clone(json)) for id, json of fixed
+      jay.register(clone(json)) for id, json of refs
 
       result = jay.validate actual, clone(expected)
 

      api.banUnknown = false
      api.cyclicCheck = false

      api.addSchema(id, json) for id, json of fixed

      result = api.validateResult actual,
        clone(expected), api.cyclicCheck, api.banUnknown

      [ expected, refs ] = expected if Array.isArray(expected)

      fail = []

      # is-my-json-valid
      validate = isMyJSONValid(expected, schemas: refs)
