Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure relationship in YAML, XML and JSON formats #210

Closed
goneall opened this issue Oct 19, 2019 · 1 comment
Closed

Restructure relationship in YAML, XML and JSON formats #210

goneall opened this issue Oct 19, 2019 · 1 comment

Comments

@goneall
Copy link
Member

goneall commented Oct 19, 2019

Move relationships to a separate array within the document with the format:

        "relationships" : [ {
          "subjectElementId": "SPDXRef-Package"
          "relationshipType" : "DYNAMIC_LINK",
          "comment" : null,
          "objectElementId" : "SPDXRef-Saxon"
        }, {
          "subjectElementId": "SPDXRef-Package"
          "relationshipType" : "CONTAINS",
          "comment" : null,
          "objectElementId" : "SPDXRef-JenaLib"
        },
        . . .
],

Related to SPDX spec issue #96.

@goneall
Copy link
Member Author

goneall commented May 4, 2020

JSON and YAML support is provided by the new SPDX tools library: https://github.com/spdx/Spdx-Java-Library

@goneall goneall closed this as completed May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant