adds support for referencing a schema defined in a relative file
fixes match 'reference' to 'schemaReference'