Skip to content

Relative URI $refs returning "unknown url type" #313

Closed
@gkholman

Description

@gkholman

pythonProblem-gkholman-20161212-2130z.zip

Attached is a ZIP with a JSON instance and two JSON schemas. One uses absolute URIs for $refs (you'll have to edit them for your own environment), the other uses relative URIs. An example documenting the use of relative URIs is at https://code.tutsplus.com/tutorials/validating-data-with-json-schema-part-2--cms-25640

Using jsonschema-2.5.1-py2.7 the schema with relative URIs returns "unknown url type". The schema with absolute URIs runs successfully.

I hope this example helps. Thanks for creating this library!

. . . . . Ken

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvalidNot a bug, PEBKAC, or an unsupported setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions