Snippets

Yev Bronshteyn Package containing one file

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#">
  <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-26T17:50:25Z</spdx:created>
        <spdx:creator>Tool: SpdXtra Demo</spdx:creator>
        <spdx:creator>Person: Pat the Packager (pat@packagepackagers.pkg)</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-Package">
            <spdx:copyrightText>Copyright (c) 2016 Package Packagers, Inc.</spdx:copyrightText>
            <spdx:licenseDeclared rdf:resource="http://spdx.org/licenses/Apache-2.0"/>
            <spdx:licenseConcluded rdf:resource="http://spdx.org/rdf/terms#noassertion"/>
            <spdx:packageVerificationCode>
              <spdx:PackageVerificationCode>
                <spdx:packageVerificationCodeValue>0c0ff87c88c5015ad53c1f9f01a56a6b3e32a29f</spdx:packageVerificationCodeValue>
              </spdx:PackageVerificationCode>
            </spdx:packageVerificationCode>
            <spdx:hasFile>
              <spdx:File rdf:about="http://nullpointerfactory.wordpress.com/exampledocument#SPDXRef-MyFile">
                <spdx:copyrightText>http://spdx.org/rdf/terms#noassertion</spdx:copyrightText>
                <spdx:licenseConcluded rdf:resource="http://spdx.org/licenses/Apache-2.0"/>
                <spdx:fileName>./myFile.txt</spdx:fileName>
                <spdx:licenseInfoInFile rdf:resource="http://spdx.org/licenses/Apache-2.0"/>
                <spdx:fileType rdf:resource="http://spdx.org/rdf/terms#fileType_text"/>
                <spdx:checksum>
                  <spdx:Checksum>
                    <spdx:checksumValue>69253fc5ee40567855acb6edbda10e68</spdx:checksumValue>
                    <spdx:algorithm rdf:resource="http://spdx.org/rdf/terms#checksumAlgorithm_md5"/>
                  </spdx:Checksum>
                </spdx:checksum>
                <spdx:checksum>
                  <spdx:Checksum>
                    <spdx:checksumValue>43a97316c6941c2f9de24185e4ad2b44f16a56ae</spdx:checksumValue>
                    <spdx:algorithm rdf:resource="http://spdx.org/rdf/terms#checksumAlgorithm_sha1"/>
                  </spdx:Checksum>
                </spdx:checksum>
                <spdx:licenseComments>Don't really need a comment here, because this file has the same license as its containing package. But this is a demo, ain't it?</spdx:licenseComments>
                <spdx:fileContributor>Foosey McFoozlesticks, esq.</spdx:fileContributor>
                <spdx:fileContributor>Foosey Boosey, Inc. Ltd.</spdx:fileContributor>
              </spdx:File>
            </spdx:hasFile>
            <spdx:downloadLocation>http://spdx.org/rdf/terms#noassertion</spdx:downloadLocation>
            <spdx:name>My Awesome Software Package</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: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.