1{
2    "Document": {
3        "comment": "This is a sample spreadsheet",
4        "name": "Sample_Document-V2.1",
5        "documentDescribes": [
6            {
7                "Package": {
8                    "id": "SPDXRef-Package",
9                    "originator": "Organization: SPDX",
10                    "files": [
11                        {
12                            "File": {
13                                "comment": "This file belongs to Jena",
14                                "licenseInfoFromFiles": [
15                                    "LicenseRef-1"
16                                ],
17                                "sha1": "3ab4e1c67a2d28fced849ee1bb76e7391b93f125",
18                                "name": "Jenna-2.6.3/jena-2.6.3-sources.jar",
19                                "copyrightText": "(c) Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP",
20                                "artifactOf" : [
21                                    {
22                                        "name" : "Jena",
23                                        "homePage" : "http://www.openjena.org/",
24                                        "projectUri" : "http://subversion.apache.org/doap.rdf"
25                                    }
26                                ],
27                                "licenseConcluded": "LicenseRef-1",
28                                "licenseComments": "This license is used by Jena",
29                                "checksums": [
30                                    {
31                                        "value": "3ab4e1c67a2d28fced849ee1bb76e7391b93f125",
32                                        "algorithm": "checksumAlgorithm_sha1"
33                                    }
34                                ],
35                                "fileTypes": [
36                                    "fileType_archive"
37                                ],
38                                "id": "SPDXRef-File1"
39                            }
40                        },
41                        {
42                            "File": {
43                                "licenseInfoFromFiles": [
44                                    "Apache-2.0"
45                                ],
46                                "sha1": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
47                                "name": "src/org/spdx/parser/DOAPProject.java",
48                                "copyrightText": "Copyright 2010, 2011 Source Auditor Inc.",
49                                "licenseConcluded": "Apache-2.0",
50                                "checksums": [
51                                    {
52                                        "value": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
53                                        "algorithm": "checksumAlgorithm_sha1"
54                                    }
55                                ],
56                                "fileTypes": [
57                                    "fileType_source"
58                                ],
59                                "id": "SPDXRef-File2"
60                            }
61                        }
62                    ],
63                    "licenseInfoFromFiles": [
64                        "Apache-1.0",
65                        "LicenseRef-3",
66                        "MPL-1.1",
67                        "LicenseRef-2",
68                        "LicenseRef-4",
69                        "Apache-2.0",
70                        "LicenseRef-1"
71                    ],
72                    "sha1": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
73                    "name": "SPDX Translator",
74                    "packageFileName": "spdxtranslator-1.0.zip",
75                    "licenseComments": "The declared license information can be found in the NOTICE file at the root of the archive file",
76                    "summary": "SPDX Translator utility",
77                    "sourceInfo": "Version 1.0 of the SPDX Translator application",
78                    "copyrightText": " Copyright 2010, 2011 Source Auditor Inc.",
79                    "packageVerificationCode": {
80                        "value": "4e3211c67a2d28fced849ee1bb76e7391b93feba",
81                        "excludedFilesNames": [
82                            "SpdxTranslatorSpdx.rdf",
83                            "SpdxTranslatorSpdx.txt"
84                        ]
85                    },
86                    "licenseConcluded": "(Apache-1.0 AND LicenseRef-2 AND MPL-1.1 AND LicenseRef-3 AND LicenseRef-4 AND Apache-2.0 AND LicenseRef-1)",
87                    "supplier": "Organization: Linux Foundation",
88                    "checksums": [
89                        {
90                            "value": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
91                            "algorithm": "checksumAlgorithm_sha1"
92                        }
93                    ],
94                    "versionInfo": "Version 0.9.2",
95                    "licenseDeclared": "(LicenseRef-4 AND LicenseRef-3 AND Apache-2.0 AND LicenseRef-2 AND MPL-1.1 AND LicenseRef-1)",
96                    "downloadLocation": "http://www.spdx.org/tools",
97                    "description": "This utility translates and SPDX RDF XML document to a spreadsheet, translates a spreadsheet to an SPDX RDF XML document and translates an SPDX RDFa document to an SPDX RDF XML document."
98                }
99            }
100        ],
101        "creationInfo": {
102            "comment": "This is an example of an SPDX spreadsheet format",
103            "creators": [
104                "Tool: SourceAuditor-V1.2",
105                "Person: Gary O'Neall",
106                "Organization: Source Auditor Inc."
107            ],
108            "licenseListVersion": "3.6",
109            "created": "2010-02-03T00:00:00Z"
110        },
111        "externalDocumentRefs": [
112            {
113                "checksum": {
114                    "value": "d6a770ba38583ed4bb4525bd96e50461655d2759",
115                    "algorithm": "checksumAlgorithm_sha1"
116                },
117                "spdxDocumentNamespace": "https://spdx.org/spdxdocs/spdx-tools-v2.1-3F2504E0-4F89-41D3-9A0C-0305E82C3301",
118                "externalDocumentId": "DocumentRef-spdx-tool-2.1"
119            }
120        ],
121        "namespace": "https://spdx.org/spdxdocs/spdx-example-444504E0-4F89-41D3-9A0C-0305E82C3301",
122        "annotations": [
123            {
124                "comment": "This is just an example. Some of the non-standard licenses look like they are actually BSD 3 clause licenses",
125                "annotationType": "REVIEW",
126                "id": "SPDXRef-45",
127                "annotationDate": "2012-06-13T00:00:00Z",
128                "annotator": "Person: Jim Reviewer"
129            }
130        ],
131        "dataLicense": "CC0-1.0",
132        "reviewers": [
133            {
134                "comment": "This is just an example.  Some of the non-standard licenses look like they are actually BSD 3 clause licenses",
135                "reviewer": "Person: Joe Reviewer",
136                "reviewDate": "2010-02-10T00:00:00Z"
137            },
138            {
139                "comment": "Another example reviewer.",
140                "reviewer": "Person: Suzanne Reviewer",
141                "reviewDate": "2011-03-13T00:00:00Z"
142            }
143        ],
144        "extractedLicenseInfos": [
145            {
146                "extractedText": "This package includes the GRDDL parser developed by Hewlett Packard under the following license:\n\u00a9 Copyright 2007 Hewlett-Packard Development Company, LP\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: \n\nRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \nRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. \nThe name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. \nTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
147                "licenseId": "LicenseRef-2"
148            },
149            {
150                "extractedText": "The CyberNeko Software License, Version 1.0\n\n \n(C) Copyright 2002-2005, Andy Clark.  All rights reserved.\n \nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n1. Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer. \n\n2. Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions and the following disclaimer in\n   the documentation and/or other materials provided with the\n   distribution.\n\n3. The end-user documentation included with the redistribution,\n   if any, must include the following acknowledgment:  \n     \"This product includes software developed by Andy Clark.\"\n   Alternately, this acknowledgment may appear in the software itself,\n   if and wherever such third-party acknowledgments normally appear.\n\n4. The names \"CyberNeko\" and \"NekoHTML\" must not be used to endorse\n   or promote products derived from this software without prior \n   written permission. For written permission, please contact \n   andyc@cyberneko.net.\n\n5. Products derived from this software may not be called \"CyberNeko\",\n   nor may \"CyberNeko\" appear in their name, without prior written\n   permission of the author.\n\nTHIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS\nBE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, \nOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT \nOF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR \nBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, \nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE \nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, \nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
151                "comment": "This is tye CyperNeko License",
152                "licenseId": "LicenseRef-3",
153                "name": "CyberNeko License",
154                "seeAlso": [
155                    "http://justasample.url.com",
156                    "http://people.apache.org/~andyc/neko/LICENSE"
157                ]
158            },
159            {
160                "extractedText": "/*\n * (c) Copyright 2009 University of Bristol\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and/or other materials provided with the distribution.\n * 3. The name of the author may not be used to endorse or promote products\n *    derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */  ",
161                "licenseId": "LicenseRef-4"
162            },
163            {
164                "extractedText": "/*\n * (c) Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and/or other materials provided with the distribution.\n * 3. The name of the author may not be used to endorse or promote products\n *    derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */",
165                "licenseId": "LicenseRef-1"
166            }
167        ],
168        "specVersion": "SPDX-2.1",
169        "id": "SPDXRef-DOCUMENT",
170        "snippets": [
171            {
172                "comment": "This snippet was identified as significant and highlighted in this Apache-2.0 file, when a commercial scanner identified it as being derived from file foo.c in package xyz which is licensed under GPL-2.0-or-later.",
173                "name": "from linux kernel",
174                "copyrightText": "Copyright 2008-2010 John Smith",
175                "licenseConcluded": "Apache-2.0",
176                "licenseInfoFromSnippet": [
177                    "Apache-2.0"
178                ],
179                "licenseComments": "The concluded license was taken from package xyz, from which the snippet was copied into the current file. The concluded license information was found in the COPYING.txt file in package xyz.",
180                "id": "SPDXRef-Snippet",
181                "fileId": "SPDXRef-DoapSource"
182            }
183        ]
184    }
185}