AMF Validation Example
This repository includes examples to test AMF "validation" feature.
$ npm install
$ mvn install
Run the examples
$ node src/main/js/DataExample.js (...)
$ java -cp ./target/amf-validation-example-1.0-SNAPSHOT-jar-with-dependencies.jar com.mulesoft.amf.examples.ValidationExample (...)
The examples folder contains a sample RAML API as well as a sample custom Validation Profile that can be used to test the library and as a starting point to test more complex validations. Also, sample (SPARQL) queries over the data model graph can be found in the queries directory.