voxpupuli / json-schema

Ruby JSON Schema Validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accept explicit base URI so that relative $ref works when schema is passed as a String or Hash

pdrakeweb opened this issue · comments

I would like to be able to specify an explicit base URI when passing a schema as a String or Hash so that relative $refs will work. As it stands today, the relative $refs get absolutized with the current working directory because Hash or String type schemas do not have a valid base URI.