From f72c926927910fb4deeb60ef2ceb918b28af8c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tereza=20Mikl=C3=B3=C5=A1ov=C3=A1?= <42152093+LadyMalande@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:12:59 +0200 Subject: [PATCH] Update README.md --- packages/shacl/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/shacl/README.md b/packages/shacl/README.md index 73d4fa7e1..8472a2bf9 100644 --- a/packages/shacl/README.md +++ b/packages/shacl/README.md @@ -11,3 +11,8 @@ Minimal installation requires only the SHACL package and all its dependencies. ## To reproduce the issue: - Run tests by `npm run test` from the package directory + +- The issue is in generating jsonSchema in schacl-adapter.spec.ts in class jsonSchemaCreator +- The question is - are CONTEXT and SPECIFICATION initialized properly? +- Regarding this line of code: await jsonGenerator.generateToStream(context, jsonSchema, specification, streamDictionary); +- The context and specification are being initialized before this line in the file, maybe something is missing in them or maybe something in them is badly initialized.