Skip to content
Snippets Groups Projects
Commit d616d1e1 authored by Justin Dex's avatar Justin Dex
Browse files

adapt README


Signed-off-by: default avatarJustin Dex <justin.dex@msg-david.de>
parent 3468767d
No related branches found
Tags v0.4.0
No related merge requests found
Pipeline #51159 failed
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
Backend service to convert an input shacl shape into JSON form for the frontend service. Backend service to convert an input shacl shape into JSON form for the frontend service.
- Input is expected to be a MultipartFile file. - Input is expected to be a MultipartFile file.
- Output object is ShaclModel.java. It consists of a list of json objects for prefixes in the input file and another list of json objects for the shapes listed in the input file. - Output object is ShaclModel.java. It consists of a list of json objects for prefixes in the input file and another list of json objects for the shapes listed in the input file.
- Alternatively input can be two MultipartFiles (one .ttl SHACL Shape, one .json Claim-File), behaviour is the same, but the answer would be a ResponseShaclJsonPair.java, which consists out of a ShaclModel.java and a Map of Strings containing overlapping attributes. This would be done such that the Frontend can prefill the displayed FormFields.
- Each shape is depicted in VicShape.java. Shape name is stored in variable schema. Properties of the shape are stored in variable called 'constraints' which is of type ShapeProperties.java. - Each shape is depicted in VicShape.java. Shape name is stored in variable schema. Properties of the shape are stored in variable called 'constraints' which is of type ShapeProperties.java.
- Test instances can be found under src/test/resources. - Test instances can be found under src/test/resources.
- JUnit test cases can be found under src/test/java. - JUnit test cases can be found under src/test/java.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment