From e0c6266781e477b066bbec44010491e96cb85d5f Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Tue, 9 Apr 2024 09:18:15 -0600 Subject: [PATCH] github actions: Update to latest spec parser Updates to the latest spec parser version. Note that the output file names have changed Signed-off-by: Joshua Watt --- .github/workflows/publish_v3.yml | 4 ++-- requirements.txt | 2 +- serialization/jsonld/annotations.ttl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_v3.yml b/.github/workflows/publish_v3.yml index ef9a382662..28f0b4ea6a 100644 --- a/.github/workflows/publish_v3.yml +++ b/.github/workflows/publish_v3.yml @@ -37,9 +37,9 @@ jobs: - name: Generate JSON schema run: | shacl2code generate \ - --input spdx-spec/docs/model/ontology.rdf.ttl \ + --input spdx-spec/docs/model/spdx-model.ttl \ --input spdx-spec/docs/model/jsonld-annotations.ttl \ - --context-url spdx-spec/docs/model/context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \ + --context-url spdx-spec/docs/model/spdx-context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \ jsonschema \ --output spdx-spec/docs/model/schema.json - name: Set git identity diff --git a/requirements.txt b/requirements.txt index c967b2b264..019ad0cba4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ mkdocs==1.5.3 json-schema-for-humans==0.47 mkdocs-pdf-export-plugin==0.5.10 mike==1.1.2 -shacl2code==0.0.9 +shacl2code==0.0.10 PyYAML>=6.0.1 diff --git a/serialization/jsonld/annotations.ttl b/serialization/jsonld/annotations.ttl index 27c69160eb..801f528932 100644 --- a/serialization/jsonld/annotations.ttl +++ b/serialization/jsonld/annotations.ttl @@ -1,4 +1,4 @@ -@base . +@base . @prefix sh-to-code: . ;