edgarmueller / schema-validator-web

Web front-end for play-json-schema-validator

Home Page:http://play-json-schema-validator.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not sure how to use the library with multiple JSON schema files

AlexTo opened this issue · comments

Hi
I am trying to validate my JSON with TinCan JSON schema from here

TinCan Schema

As you can see in folder 1.0.1 there are several json files reference each other.

And now, I may have a Statement object like this

{
    "actor": {...} // actor can be either Agent or Group and validated by Agent.json or Group.json
    "verb": {...}
    "object": {...}
}

How can I build a validator from several json schema files?

Thank you

I'm closing this one this is tracked in eclipsesource/play-json-schema-validator#135 already and this repo only contains the code for the web frontend. But if you should have questions, feel free to ask.