|
17 | 17 | "matcher": "2-aho",
|
18 | 18 | "license_expression": "example1",
|
19 | 19 | "rule_identifier": "example1.LICENSE",
|
20 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example1.LICENSE" |
| 20 | + "rule_url": null |
21 | 21 | },
|
22 | 22 | {
|
23 | 23 | "score": 100.0,
|
|
28 | 28 | "matcher": "2-aho",
|
29 | 29 | "license_expression": "example2",
|
30 | 30 | "rule_identifier": "example2.LICENSE",
|
31 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/example2.LICENSE" |
| 31 | + "rule_url": null |
32 | 32 | }
|
33 | 33 | ]
|
34 | 34 | }
|
35 | 35 | ],
|
36 | 36 | "license_references": [
|
37 | 37 | {
|
38 | 38 | "key": "example1",
|
| 39 | + "language": "en", |
39 | 40 | "short_name": "Example External License 1",
|
40 | 41 | "name": "Example External License 1",
|
41 | 42 | "category": "Permissive",
|
42 | 43 | "owner": "NexB",
|
| 44 | + "homepage_url": null, |
| 45 | + "notes": null, |
| 46 | + "is_builtin": false, |
| 47 | + "is_exception": false, |
| 48 | + "is_unknown": false, |
| 49 | + "is_generic": false, |
43 | 50 | "spdx_license_key": "scancode-example1",
|
44 |
| - "text": "The quick brown fox jumps over the lazy dog." |
| 51 | + "other_spdx_license_keys": [], |
| 52 | + "osi_license_key": null, |
| 53 | + "text_urls": [], |
| 54 | + "osi_url": null, |
| 55 | + "faq_url": null, |
| 56 | + "other_urls": [], |
| 57 | + "key_aliases": [], |
| 58 | + "minimum_coverage": 0, |
| 59 | + "standard_notice": null, |
| 60 | + "ignorable_copyrights": [], |
| 61 | + "ignorable_holders": [], |
| 62 | + "ignorable_authors": [], |
| 63 | + "ignorable_urls": [], |
| 64 | + "ignorable_emails": [], |
| 65 | + "text": "The quick brown fox jumps over the lazy dog.", |
| 66 | + "scancode_url": "https://spdx.org/licenses/scancode-example1", |
| 67 | + "licensedb_url": "https://spdx.org/licenses/scancode-example1", |
| 68 | + "spdx_url": "https://spdx.org/licenses/scancode-example1" |
45 | 69 | },
|
46 | 70 | {
|
47 | 71 | "key": "example2",
|
| 72 | + "language": "en", |
48 | 73 | "short_name": "Example External License 2",
|
49 | 74 | "name": "Example External License 2",
|
50 | 75 | "category": "Permissive",
|
51 | 76 | "owner": "NexB",
|
| 77 | + "homepage_url": null, |
| 78 | + "notes": null, |
| 79 | + "is_builtin": false, |
| 80 | + "is_exception": false, |
| 81 | + "is_unknown": false, |
| 82 | + "is_generic": false, |
52 | 83 | "spdx_license_key": "scancode-example2",
|
53 |
| - "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." |
| 84 | + "other_spdx_license_keys": [], |
| 85 | + "osi_license_key": null, |
| 86 | + "text_urls": [], |
| 87 | + "osi_url": null, |
| 88 | + "faq_url": null, |
| 89 | + "other_urls": [], |
| 90 | + "key_aliases": [], |
| 91 | + "minimum_coverage": 0, |
| 92 | + "standard_notice": null, |
| 93 | + "ignorable_copyrights": [], |
| 94 | + "ignorable_holders": [], |
| 95 | + "ignorable_authors": [], |
| 96 | + "ignorable_urls": [], |
| 97 | + "ignorable_emails": [], |
| 98 | + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum.", |
| 99 | + "scancode_url": "https://spdx.org/licenses/scancode-example2", |
| 100 | + "licensedb_url": "https://spdx.org/licenses/scancode-example2", |
| 101 | + "spdx_url": "https://spdx.org/licenses/scancode-example2" |
54 | 102 | }
|
55 | 103 | ],
|
56 | 104 | "license_rule_references": [
|
57 | 105 | {
|
58 |
| - "rule_identifier": "example1.LICENSE", |
59 | 106 | "license_expression": "example1",
|
60 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", |
61 |
| - "rule_relevance": 100, |
62 |
| - "rule_length": 9, |
| 107 | + "identifier": "example1.LICENSE", |
| 108 | + "language": "en", |
| 109 | + "rule_url": null, |
63 | 110 | "is_license_text": true,
|
64 | 111 | "is_license_notice": false,
|
65 | 112 | "is_license_reference": false,
|
66 | 113 | "is_license_tag": false,
|
67 | 114 | "is_license_intro": false,
|
| 115 | + "is_continuous": false, |
| 116 | + "is_builtin": false, |
| 117 | + "is_from_license": true, |
| 118 | + "is_synthetic": false, |
| 119 | + "length": 9, |
| 120 | + "relevance": 100, |
| 121 | + "minimum_coverage": 80, |
68 | 122 | "referenced_filenames": [],
|
69 |
| - "rule_text": "The quick brown fox jumps over the lazy dog." |
| 123 | + "notes": null, |
| 124 | + "ignorable_copyrights": [], |
| 125 | + "ignorable_holders": [], |
| 126 | + "ignorable_authors": [], |
| 127 | + "ignorable_urls": [], |
| 128 | + "ignorable_emails": [], |
| 129 | + "text": "The quick brown fox jumps over the lazy dog." |
70 | 130 | },
|
71 | 131 | {
|
72 |
| - "rule_identifier": "example2.LICENSE", |
73 | 132 | "license_expression": "example2",
|
74 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", |
75 |
| - "rule_relevance": 100, |
76 |
| - "rule_length": 69, |
| 133 | + "identifier": "example2.LICENSE", |
| 134 | + "language": "en", |
| 135 | + "rule_url": null, |
77 | 136 | "is_license_text": true,
|
78 | 137 | "is_license_notice": false,
|
79 | 138 | "is_license_reference": false,
|
80 | 139 | "is_license_tag": false,
|
81 | 140 | "is_license_intro": false,
|
| 141 | + "is_continuous": false, |
| 142 | + "is_builtin": false, |
| 143 | + "is_from_license": true, |
| 144 | + "is_synthetic": false, |
| 145 | + "length": 69, |
| 146 | + "relevance": 100, |
| 147 | + "minimum_coverage": 0, |
82 | 148 | "referenced_filenames": [],
|
83 |
| - "rule_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." |
| 149 | + "notes": null, |
| 150 | + "ignorable_copyrights": [], |
| 151 | + "ignorable_holders": [], |
| 152 | + "ignorable_authors": [], |
| 153 | + "ignorable_urls": [], |
| 154 | + "ignorable_emails": [], |
| 155 | + "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\nsed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\nut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\nin voluptate velit esse cillum dolore eu fugiat nulla pariatur.\nExcepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\ndeserunt mollit anim id est laborum." |
84 | 156 | }
|
85 | 157 | ],
|
86 | 158 | "files": [
|
|
105 | 177 | "matcher": "2-aho",
|
106 | 178 | "license_expression": "example1",
|
107 | 179 | "rule_identifier": "example1.LICENSE",
|
108 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example1.LICENSE", |
109 |
| - "is_builtin": false |
| 180 | + "rule_url": null |
110 | 181 | },
|
111 | 182 | {
|
112 | 183 | "score": 100.0,
|
|
117 | 188 | "matcher": "2-aho",
|
118 | 189 | "license_expression": "example2",
|
119 | 190 | "rule_identifier": "example2.LICENSE",
|
120 |
| - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/example2.LICENSE", |
121 |
| - "is_builtin": false |
| 191 | + "rule_url": null |
122 | 192 | }
|
123 | 193 | ]
|
124 | 194 | }
|
|
0 commit comments