See original thread on SO [here] (http://stackoverflow.com/questions/8595832/does-json-schema-validation-in-common-js-utils-support-references/9083630#9083630)
I fetch : http://someSite.com/somePath
I get : { }
I can ref it : {"$ref":"http://someSite.com/somePath#"}
I fetch : http://someSite.com/somePath
I get : {"id":"http://someSite.com/somePath#"}
I can ref it : {"$ref":"http://someSite.com/somePath#"}
I fetch : http://someSite.com/somePath
I get : {"id":"http://anotherSite.com/anotherPath#"}
I can ref it : {"$ref":"http://anotherSite.com/anotherPath#"}
I fetch : http://someSite.com/somePath
I get : {"id":"#something"}
I can ref it : {"$ref":"http://someSite.com/somePath#something"}
I fetch : http://someSite.com/somePath
I get : {"id":"/oneMore/path#something"}
I can ref it : {"$ref":"http://someSite.com/somePath/oneMore/path#something"}
I fetch : file:///someFolder/someFile
I get : {"id":"/oneMore/path#something"}
I can ref it : {"$ref":"file:///someFolder/someFile/oneMore/path#something"}
I fetch : http://someSite.com/somePath
I get : {"properties" : { "aKeyName" : { "id":"#subschema" }}}
I can ref it : {"$ref":"http://someSite.com/somePath#subschema"}
I fetch : http://someSite.com/somePath
I get : { {"id":"#mainSchema"}, "properties" : { "aKeyName" : { "id":"#subschema" }} }
I can ref it : {"$ref":"http://someSite.com/somePath#subschema"}
I can also do: {"$ref":"http://someSite.com/somePath#mainSchema/properties/aKeyName"}
I fetch : http://someSite.com/somePath
I get : { "properties" : { "aKeyName" : { }} }
can ref it: {"$ref":"http://someSite.com/somePath#/properties/aKeyName"}
I fetch : http://someSite.com/somePath
I get : { {"id":"scheme://something"}, "properties" : { "aKeyName" : { "id":"#subschema" }} }
I can ref it : {"$ref":"scheme://something#subschema"}
I can also do: {"$ref":"scheme://something#/properties/aKeyName"}
I fetch : http://someSite.com/somePath
I get : { {"id":"#main"}, "properties" : { "aKeyName" : { "id":"http://domain.com/subSchema" }} }
I can ref it : {"$ref":"http://domain.com/subSchema#"}