Snippets

Yev Bronshteyn SPDX 2.1 - Package Dependency Without Files

Created by Yev Bronshteyn
<rdf:RDF
    xmlns:spdx="http://spdx.org/rdf/terms#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:j.0="http://usefulinc.com/ns/doap#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
  <spdx:SpdxDocument rdf:about="http://nullpointerfactory.wordpress.com/exampledocument#SPDXRef-MyAwesomeness">
    <spdx:dataLicense rdf:resource="http://spdx.org/licenses/CC0-1.0"/>
    <spdx:creationInfo>
      <spdx:CreationInfo>
        <spdx:created>2016-05-26T07:40:12Z</spdx:created>
        <spdx:creator>Tool: SpdXtra Demo</spdx:creator>
        <spdx:creator>Person: Borat Sagdiev (borat@moviefilmstudio.kz)</spdx:creator>
      </spdx:CreationInfo>
    </spdx:creationInfo>
    <spdx:specVersion>SPDX-2.1</spdx:specVersion>
    <spdx:name>My Awesome SPDX Document of awesomeness</spdx:name>
    <spdx:relationship>
      <spdx:Relationship>
        <spdx:relationshipType rdf:resource="http://spdx.org/rdf/terms#relationshipType_describes"/>
        <spdx:relatedSpdxElement>
          <spdx:Package rdf:about="http://nullpointerfactory.wordpress.com/exampledocument#SPDXRef-BundleOfJoy1.0">
            <spdx:versionInfo>0.0.1-pre-alpha-do-not-use-worse-than-Vista</spdx:versionInfo>
            <spdx:copyrightText>Copyright (c) 2016 Magical Forest Creatures, LLC. Inc. BS.</spdx:copyrightText>
            <spdx:licenseDeclared>
              <spdx:DisjunctiveLicenseSet>
                <spdx:member rdf:resource="http://spdx.org/licenses/GPL-2.0"/>
                <spdx:member>
                  <spdx:ExtractedLicensingInfo rdf:about="http://nullpointerfactory.wordpress.com/exampledocument#LicenseRef-EternalSurrender">
                    <spdx:extractedText>In exchange for using this software, you agree to give its author all your worldly posessions.
You will not hold the author liable for all the damage this software will inevitably cause
not only to your person and property, but to the entire fabric of the cosmos.
</spdx:extractedText>
                    <spdx:licenseId>LicenseRef-EternalSurrender</spdx:licenseId>
                    <spdx:name>Eternal Surrender License</spdx:name>
                  </spdx:ExtractedLicensingInfo>
                </spdx:member>
              </spdx:DisjunctiveLicenseSet>
            </spdx:licenseDeclared>
            <spdx:filesAnalyzed>false</spdx:filesAnalyzed>
            <spdx:licenseConcluded rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
            <spdx:downloadLocation>http://bit.ly/IqT6zt</spdx:downloadLocation>
            <spdx:name>Bundle of Joy 1.0</spdx:name>
            <spdx:relationship>
              <spdx:Relationship>
                <spdx:relationshipType rdf:resource="http://spdx.org/rdf/terms#relationshipType_describedBy"/>
                <spdx:relatedSpdxElement rdf:resource="http://nullpointerfactory.wordpress.com/exampledocument#SPDXRef-MyAwesomeness"/>
              </spdx:Relationship>
            </spdx:relationship>
            <spdx:relationship>
              <spdx:Relationship>
                <rdfs:comment>Apache Commons Lang is the best library in the world. Why would you NOT use it?</rdfs:comment>
                <spdx:relationshipType rdf:resource="http://spdx.org/rdf/terms#relationshipType_staticLink"/>
                <spdx:relatedSpdxElement>
                  <spdx:Package rdf:about="http://nullpointerfactory.wordpress.com/exampledocument#SPDXRef-ApacheCommonsLang-3.4">
                    <spdx:versionInfo>3.4</spdx:versionInfo>
                    <spdx:licenseDeclared rdf:resource="http://spdx.org/licenses/Apache-2.0"/>
                    <spdx:filesAnalyzed>false</spdx:filesAnalyzed>
                    <spdx:licenseConcluded rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
                    <spdx:downloadLocation>http://commons.apache.org/lang/download_lang.cgi</spdx:downloadLocation>
                    <j.0:homepage>http://commons.apache.org/lang/</j.0:homepage>
                    <spdx:name>Apache Commons Lang</spdx:name>
                  </spdx:Package>
                </spdx:relatedSpdxElement>
              </spdx:Relationship>
            </spdx:relationship>
          </spdx:Package>
        </spdx:relatedSpdxElement>
      </spdx:Relationship>
    </spdx:relationship>
  </spdx:SpdxDocument>
</rdf:RDF>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.