From d616d1e19b8c1b04c618ca4906538f36006c80ba Mon Sep 17 00:00:00 2001 From: Justin Dex <justin.dex@msg-david.de> Date: Wed, 17 Jul 2024 12:26:21 +0200 Subject: [PATCH] adapt README Signed-off-by: Justin Dex <justin.dex@msg-david.de> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2c50462..6c118d7 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Backend service to convert an input shacl shape into JSON form for the frontend service. - 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. +- 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. - Test instances can be found under src/test/resources. - JUnit test cases can be found under src/test/java. -- GitLab