But the $ref does not seem to locate the external schema definition , if the definition is in the same file , it works , Could you please clarify on the above as to what should I do to refer to a different schema file ?
Please sign in to leave a comment.
Please clarify the issue, I don't understand your case at all.
Upload id: 2022_03_23_3YThM557V2uBKCU5 (file: sample-plugin.zip)
Attaching the code .
Why do you refer to the schema in the "../common/transformationSchema.json" file?
The transformationSchema is another Schema which might be referred by other schemas as well .
Is it schema provided by your plugin or existing in a sample project?
It is present inside the sample-plugin project
Could you please look into it the code and check ?
Thank you for providing the plugin source. It is still unclear what's the issue.
Please provide an example project that we can run the plugin on. It should contain exact files you observe the issue for, with detailed instructions how to reproduce it.
Sample project for plugin to run on : Upload id: 2022_03_25_7RB1rzPSq5fxDX69 (file: sample-project.zip)
The Plugin uses the JsonSchemaProvider Factory extension and contains a schema which validates against the json files whose path contains /endpoints.
Inside the sample project there is a file called sample.json which needs to be validated.
Run the plugin and open the sample project , and sample.json file .
Inside the schema I have a property transformation which internally references to another schema file which contains name & class as required.
I'm trying to add a property transformation , and after which I'm expecting the warning name& class is required or the name & class suggestions . It is not working , I see that the internal schema (transformationSchema.json is not getting referred)