Skip to content

Commit d247be2

Browse files
authored
Merge pull request #277 from francesc79/bug/cyclic-dep
add small documentation about URNFactory
2 parents 5bb9b44 + 0cf42c2 commit d247be2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/schema-map.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ Basically, you can specify a mapping in the builder. For more details, please ta
1717
### Real Example
1818

1919
https://github.com/JMRI/JMRI/blob/master/java/src/jmri/server/json/schema-map.json
20+
21+
In case you provide the schema through an InputStream or a String to resolve $ref with URN (relative path), you need to provide the URNFactory to the JsonSchemaFactory.Builder.
22+
URNFactory interface will allow you to resolve URN to URI.
23+
24+
please take a look at the test cases and the [PR](https://github.com/networknt/json-schema-validator/pull/274).

0 commit comments

Comments
 (0)