1+ {
2+ "headers" : [
3+ {
4+ "tool_name" : " scancode-toolkit" ,
5+ "options" : {
6+ "input" : " <path>" ,
7+ "--json" : " <file>" ,
8+ "--license" : true ,
9+ "--license-text" : true ,
10+ "--license-text-diagnostics" : true ,
11+ "--strip-root" : true
12+ },
13+ "notice" : " Generated with ScanCode and provided on an \" AS IS\" BASIS, WITHOUT WARRANTIES\n OR CONDITIONS OF ANY KIND, either express or implied. No content created from\n ScanCode should be considered or used as legal advice. Consult an Attorney\n for any legal advice.\n ScanCode is a free software code scanning tool from nexB Inc. and others.\n Visit https://github.com/nexB/scancode-toolkit/ for support and download." ,
14+ "message" : null ,
15+ "errors" : [],
16+ "extra_data" : {
17+ "files_count" : 2
18+ }
19+ }
20+ ],
21+ "files" : [
22+ {
23+ "path" : " LICENSE" ,
24+ "type" : " file" ,
25+ "licenses" : [
26+ {
27+ "key" : " mit" ,
28+ "score" : 100.0 ,
29+ "name" : " MIT License" ,
30+ "short_name" : " MIT License" ,
31+ "category" : " Permissive" ,
32+ "is_exception" : false ,
33+ "is_unknown" : false ,
34+ "owner" : " MIT" ,
35+ "homepage_url" : " http://opensource.org/licenses/mit-license.php" ,
36+ "text_url" : " http://opensource.org/licenses/mit-license.php" ,
37+ "reference_url" : " https://scancode-licensedb.aboutcode.org/mit" ,
38+ "scancode_text_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" ,
39+ "scancode_data_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml" ,
40+ "spdx_license_key" : " MIT" ,
41+ "spdx_url" : " https://spdx.org/licenses/MIT" ,
42+ "start_line" : 1 ,
43+ "end_line" : 1 ,
44+ "matched_rule" : {
45+ "identifier" : " mit_66.RULE" ,
46+ "license_expression" : " mit" ,
47+ "licenses" : [
48+ " mit"
49+ ],
50+ "referenced_filenames" : [],
51+ "is_license_text" : false ,
52+ "is_license_notice" : true ,
53+ "is_license_reference" : false ,
54+ "is_license_tag" : false ,
55+ "is_license_intro" : false ,
56+ "has_unknown" : false ,
57+ "matcher" : " 1-hash" ,
58+ "rule_length" : 10 ,
59+ "matched_length" : 10 ,
60+ "match_coverage" : 100.0 ,
61+ "rule_relevance" : 100
62+ },
63+ "matched_text" : " that is licensed under [MIT](http://opensource.org/licenses/MIT)."
64+ }
65+ ],
66+ "license_expressions" : [
67+ " mit"
68+ ],
69+ "percentage_of_license_text" : 100.0 ,
70+ "scan_errors" : []
71+ },
72+ {
73+ "path" : " license-notice.txt" ,
74+ "type" : " file" ,
75+ "licenses" : [
76+ {
77+ "key" : " unknown-license-reference" ,
78+ "score" : 27.0 ,
79+ "name" : " Unknown License file reference" ,
80+ "short_name" : " Unknown License reference" ,
81+ "category" : " Unstated License" ,
82+ "is_exception" : false ,
83+ "is_unknown" : true ,
84+ "owner" : " Unspecified" ,
85+ "homepage_url" : null ,
86+ "text_url" : " " ,
87+ "reference_url" : " https://scancode-licensedb.aboutcode.org/unknown-license-reference" ,
88+ "scancode_text_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" ,
89+ "scancode_data_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.yml" ,
90+ "spdx_license_key" : " LicenseRef-scancode-unknown-license-reference" ,
91+ "spdx_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE" ,
92+ "start_line" : 34 ,
93+ "end_line" : 34 ,
94+ "matched_rule" : {
95+ "identifier" : " unknown-license-reference_25.RULE" ,
96+ "license_expression" : " unknown-license-reference" ,
97+ "licenses" : [
98+ " unknown-license-reference"
99+ ],
100+ "referenced_filenames" : [
101+ " LICENSE"
102+ ],
103+ "is_license_text" : false ,
104+ "is_license_notice" : false ,
105+ "is_license_reference" : false ,
106+ "is_license_tag" : true ,
107+ "is_license_intro" : false ,
108+ "has_unknown" : true ,
109+ "matcher" : " 2-aho" ,
110+ "rule_length" : 5 ,
111+ "matched_length" : 5 ,
112+ "match_coverage" : 100.0 ,
113+ "rule_relevance" : 27
114+ },
115+ "matched_text" : " license\" : \" SEE LICENSE IN LICENSE."
116+ },
117+ {
118+ "key" : " mit" ,
119+ "score" : 100.0 ,
120+ "name" : " MIT License" ,
121+ "short_name" : " MIT License" ,
122+ "category" : " Permissive" ,
123+ "is_exception" : false ,
124+ "is_unknown" : false ,
125+ "owner" : " MIT" ,
126+ "homepage_url" : " http://opensource.org/licenses/mit-license.php" ,
127+ "text_url" : " http://opensource.org/licenses/mit-license.php" ,
128+ "reference_url" : " https://scancode-licensedb.aboutcode.org/mit" ,
129+ "scancode_text_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE" ,
130+ "scancode_data_url" : " https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml" ,
131+ "spdx_license_key" : " MIT" ,
132+ "spdx_url" : " https://spdx.org/licenses/MIT" ,
133+ "start_line" : 1 ,
134+ "end_line" : 1 ,
135+ "matched_rule" : {
136+ "identifier" : " mit_66.RULE" ,
137+ "license_expression" : " mit" ,
138+ "licenses" : [
139+ " mit"
140+ ],
141+ "referenced_filenames" : [],
142+ "is_license_text" : false ,
143+ "is_license_notice" : true ,
144+ "is_license_reference" : false ,
145+ "is_license_tag" : false ,
146+ "is_license_intro" : false ,
147+ "has_unknown" : false ,
148+ "matcher" : " 1-hash" ,
149+ "rule_length" : 10 ,
150+ "matched_length" : 10 ,
151+ "match_coverage" : 100.0 ,
152+ "rule_relevance" : 100
153+ },
154+ "matched_text" : " that is licensed under [MIT](http://opensource.org/licenses/MIT)."
155+ }
156+ ],
157+ "license_expressions" : [
158+ " unknown-license-reference" ,
159+ " mit"
160+ ],
161+ "percentage_of_license_text" : 0.2 ,
162+ "scan_errors" : []
163+ }
164+ ]
165+ }
0 commit comments