spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

Add missing para of JSON-LD context section to Model and serializations chapter

Open bact opened this issue 1 year ago • 1 comments

Add the following paragraph to the end of "JSON-LD context file" section in "Model and serializations" chapter (docs/serializations.md) :

Additional namespace mappings may be defined within a separate object within the context.

Adapted from the original paragraph in https://github.com/spdx/spdx-3-model/blob/main/serialization/jsonld.md#context-file :

Further custom namespace mapping can be included in the context in a separate object, see for example here. (link to spdx/spdx-3-model repo)

The rest of that section has already been adopted to the chapter but this line is missing.

--

Also removing HTML anchors since they are already outdated and no longer in use.

bact avatar Aug 26 '24 20:08 bact

Holding off on merging this until the tooling (shacl2code) implements the additional namespaces.

@JPEWdev @goneall will look into this

goneall avatar Aug 27 '24 16:08 goneall