version 0.1.0 (10.04.2023)
Build instructions:
mvn clean install
java -jar target/scdv-matching-0.1.0-SNAPSHOT-jar-with-dependencies.jar
The service is available at
- local deployment:
http://localhost:2806/api/validate/usagepolicy
- public instance:
https://scdv-matching-oc3.data-container.net/api/validate/usagepolicy
Example usage: curl -s -o /dev/null -w "%{http_code}" -H "Content-Type: application/json" -d "$(< src/test/resources/dpv/tester.json)" -X POST http://localhost:2806/api/validate/usagepolicy
The input file is of type application/json
to wrap a turtle file using JSON key "usage-policy".
There are four example turtle files in the test/resources/dpv
directory for your references.
The output is 200
if the policy of controllers is not violating the policy of users, or 500
otherwise.
Find out more about the Data Privacy Vocabulary here: https://w3c.github.io/dpv/dpv/
The current implementation was tested against v0.4 of the DPV.
Please report bugs and suggestions for new features using the GitHub Issue-Tracker and follow the Contributor Guidelines.
If you want to contribute, please follow these steps:
- Fork it!
- Create a feature branch:
git checkout -b my-new-feature
- Commit changes:
git commit -am 'Add some feature'
- Push into branch:
git push origin my-new-feature
- Send a Pull Request
This project has received funding from the European Union’s Horizon 2020 research and innovation program through the NGI ONTOCHAIN program under cascade funding agreement No 957338.